Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
バックアップ/リストア
Search
Satoru Takeuchi
PRO
April 17, 2021
Technology
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
バックアップ/リストア
以下動画のテキストです。
https://youtu.be/GHH_LmuJSeA
Satoru Takeuchi
PRO
April 17, 2021
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
79
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
110
あなたの知らないバージョン命名規則
sat
PRO
3
920
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
74
Machine Check Exception
sat
PRO
2
71
バイナリダンプの模様を読む
sat
PRO
0
110
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
110
114-ファイルのshallow_copy.pdf
sat
PRO
2
62
113-Btrfsのスナップショット.pdf
sat
PRO
0
46
Other Decks in Technology
See All in Technology
Metadata - Section 1: HTML Basics
mohab1
0
120
AI導入は済んだ。次は統制を作り替える番だ_AI×開発組織 Summit 2026
techtekt
PRO
0
240
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
4.9k
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
110
go-sqletch
moznion
0
140
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
USB PDを使ってスマホを労わりたい
raspython3
0
180
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
160
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
250
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
150
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
Featured
See All Featured
Unsuck your backbone
ammeep
672
58k
Automating Front-end Workflow
addyosmani
1369
210k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Mobile First: as difficult as doing things right
swwweet
225
10k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Embracing the Ebb and Flow
colly
88
5.2k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Transcript
バックアップ/リストア Apr. 17, 2021 Satoru Takeuchi twitter: satoru_takeuchi
バックアップ/リストアとは? • 事故などによりデータを失うのを防ぐしくみの一つ • バックアップ ◦ 失いたくないデータのコピーをとってどこかに保存しておくこと ◦ 許容できる障害によって有効な手段が異なる (後述)
• リストア ◦ バックアップをもとにシステムからアクセスできる形にデータを復元 ◦ 📝 バックアップとリストアは表裏一旦 ▪ リストアできないバックアップは無価値 ▪ 例) バックアップの訓練は十分だがリストアは不十分。事故発生時にリストアできない
以後のスライドにおける前提 • 単純なファイルシステム中の1ファイルのバックアップについて考える • バックアップ ◦ cp <データのファイル名> <バックアップデータのファイル名 >
• リストア ◦ cp <バックアップデータのファイル名 > <データのファイル名>
バックアップ/リストアとは? システム データ データの コピー システム データ データの コピー 破壊
システム データの コピー データ リストア (1) バックアップ (2) 事故発生 (3) リストア
failure domain • failure domain: 問題が起きたときに影響を受ける範囲 • failure domainによって有効なバックアップ手法は異なる failure
domain バックアップ方法の例 ファイルの誤削除 同じディスク上のファイルシステムに cp ディスク故障 別ディスク上のファイルシステムに cp × 同じディスク上のファイルシステムに cp サーバの火災による消失 別ディスクのファイルシステムに cp&別の場所に保管 × 別ディスク上のファイルシステムに cp
バックアップの課題(の一つ) • データの整合性を保つのが大変 ◦ データを読み書き中にバックアップをとると整合性を保てない ◦ 一番単純なケースでは運用を止める必要がある ◦ リストアも故障発生からデータコピーまで運用が止まる 運用中
(データを読み書き) 運用を止める&バックアップ (データにアクセスしない ) 運用中 (データにアクセス) 時間 • データコピー発生 • すごく長い
解決方法 • 山ほどある ◦ 差分バックアップ ◦ 増分バックアップ ◦ スナップショット ◦
その他たくさん • 今後の動画で紹介していく予定
まとめ • バックアップ/リストアは事故などによりデータを失うのを防ぐしくみの一つ • バックアップとリストアは表裏一旦 • failure domainによって有効なバックアップ手段は異なる • バックアップは時間がかかりがち