Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
FediLUG_20250405
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
8mitsu
April 05, 2025
Technology
0
160
FediLUG_20250405
8mitsu
April 05, 2025
Tweet
Share
More Decks by 8mitsu
See All by 8mitsu
tokaido_lug_20181215
8mitsu
1
230
Other Decks in Technology
See All in Technology
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
910
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
260
Tebiki Engineering Team Deck
tebiki
0
24k
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
270
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
170
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
640
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
170
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
120
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Paper Plane (Part 1)
katiecoart
PRO
0
4.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
58
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
120
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
51
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
37k
Docker and Python
trallard
47
3.7k
Mobile First: as difficult as doing things right
swwweet
225
10k
Raft: Consensus for Rubyists
vanstee
141
7.3k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
Transcript
バックアップとってるだけ では意味がない話 はちみつ(@
[email protected]
)
自己紹介 はちみつ(@
[email protected]
) とある会社の技術広報 4つのサーバーを運用中 • はちみすきー(https://misskey.8mitsu.net) • Pleroma(https://pl.8mitsu.net) • みすきーらいふ!(https://misskey.life)
• 滅亡迅雷.net(https://metsubo-jinrai.net)
事件 • 旧はちみすきー(mi.8mitsu.net)を再起動したところ起動しなくなる • バックアップから戻しても駄目 • レスキューモードでサーバーの中に入れたが何が問題なのかわからないのでレス キューできない問題 • PostgreSQLが起動できないのでダンプもとれない
• 新しく作成したサーバーにDBデータをファイルとして持ってきて移植するもうまくい かない
そういえば • do-release-upgradeしたんが原因かもしれん、する前のバックアップあるからこれ で試してみよう
駄目でした
もう原因何?なんもわからん • 結局サーバーを別FQDNで立て直すという最悪の決断を下すことに • お一人様サーバーだったからまだよかったものの、これがみすきーらいふ!とか だったらシャレにならん
教訓 • フルバックアップ以外にSQLのダンプをとろう ◦ cronでスクリプト動かして 4回/日ダンプ取って別サーバに転送するようにしました • バックアップはちゃんと戻るかテストをしよう ◦ みすきーらいふの大規模メンテ前に実施、うまくいった
◦ DBダンプからの復元はまだ試してないのでやるか … • 戻らないバックアップは無意味(昔からよく言われていること)
ご清聴ありがとうございました