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
FediLUG_20250405
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
8mitsu
April 05, 2025
Technology
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
FediLUG_20250405
8mitsu
April 05, 2025
More Decks by 8mitsu
See All by 8mitsu
tokaido_lug_20181215
8mitsu
1
250
Other Decks in Technology
See All in Technology
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
300
古い指輪から広がった JAVA コミュニティ とのつながり
yamad
0
120
会社説明資料
persolserverworks
0
9.8k
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
go-sqletch
moznion
0
140
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
170
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
600
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
480
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
260
Featured
See All Featured
Abbi's Birthday
coloredviolet
4
10k
The untapped power of vector embeddings
frankvandijk
2
1.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Ethics towards AI in product and experience design
skipperchong
2
430
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Tell your own story through comics
letsgokoyo
1
1.1k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
GitHub's CSS Performance
jonrohan
1033
470k
Site-Speed That Sticks
csswizardry
13
1.6k
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ダンプからの復元はまだ試してないのでやるか … • 戻らないバックアップは無意味(昔からよく言われていること)
ご清聴ありがとうございました