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
さくらのVPSでプラグインを使わないWordPressのバックアップ
Search
echizenyayota
February 21, 2019
0
1.4k
さくらのVPSでプラグインを使わないWordPressのバックアップ
2019年2月21日(木)
#11 WP ZoomUP 「WordPressのバックアップやお引越しはどうしてる? 」@Zoom
echizenyayota
February 21, 2019
Tweet
Share
More Decks by echizenyayota
See All by echizenyayota
日本語話者と英語話者のためのIT技術者交流コミュニティ_事始め_日本語_英語_.pdf
echizenyayota
0
410
外出自粛期間のおすすめ! オンラインサービスで 自由気ままな英語学習
echizenyayota
0
520
Visual Studio CodeでJavaScriptプログラミング
echizenyayota
0
300
他人のソースコードをすばやく読むコツ 項とJavaScriptの演算子
echizenyayota
0
130
ドットインストールの質問回答サービスで身につくプログラミング学習法
echizenyayota
0
140
「Webパフォーマンス改善セミナー」 概要説明
echizenyayota
1
64
JavaScriptの正規表現で リファラースパムを退治した話
echizenyayota
0
130
JavaScriptの新しい文法を学習しよう
echizenyayota
1
340
JavaScriptの新しい文法を学習しよう ~Reactで見るECMAScript2015のクラス構文~
echizenyayota
0
360
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
303
21k
A better future with KSS
kneath
239
17k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Writing Fast Ruby
sferik
628
62k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
Into the Great Unknown - MozCon
thekraken
40
2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
BBQ
matthewcrist
89
9.8k
Rails Girls Zürich Keynote
gr2m
95
14k
Producing Creativity
orderedlist
PRO
347
40k
Transcript
さくらのVPSで プラグインを使わない WordPressのバックアップ 2019年2月21日(木) #11 WP ZoomUP 「WordPressのバックアップやお引越しはどうしてる? 」 @Zoom
About me 福井 洋(ふくい ひろし) WordPress関連の個人事業 (サーバー環境構築・投げ銭プラグイン開発・ブログサイトの運営) http://e-yota.com/about_me/ https://speakerdeck.com/echizenyayota https://twitter.com/echizenya_yota
主なWordCamp歴 WordCamp Tokyo 2018(スピーカー) https://2018.tokyo.wordcamp.org/speaker/fukui-hiroshi// WordCamp Osaka 2018 (スポンサーチーム担当) https://2018.osaka.wordcamp.org/organizers/
さくらクラブ いろいろ初心者もくもく勉強会 https://saku-love.doorkeeper.jp/events/86626
プラグインを使わずバックアップする方法 さくらのVPS内で シェルスクリプトを実行 UNIXコマンドをまとめて操作するための言語
プラグインを使わないメリット - WordPressの仕様変更に左右されない - プラグイン本体の脆弱性などに左右されない - 他のCMSでも使い回しができる
要するに... WordPressが抱える固有の問題に 振り回されなくて済む
プラグインを使わないデメリット - 最初の学習コストが高い - 保守コストが高い(PHP・WAFの設定など)
いろいろありますが... 世の中には 他の「逃げ道」もある という認識でお願いします
必要なもの - さくらのVPS - さくらのレンタルサーバー - クライアントマシン(PC)
必要なもの - さくらのVPS → バックアップ元 - さくらのレンタルサーバー → バックアップ先 -
クライアントマシン(PC) → メールを受信
バックアップの概要
バックアップの手順(その1)
バックアップの手順(その2)
バックアップの手順(その3)
crontabファイルで定期的に実行
シェルスクリプトのコード https://knowledge.sakura.ad.jp/4334/
必要な知識 ~ Linuxの構成
必要な知識 ~ UNIXコマンド
必要な知識 ~ ネットワークセキュリティ
必要な知識 ~ シェルスクリプト
必要な知識 ~ MySQL
たいていは「ドットインストール」でOK UNIXコマンド入門 [一般ユーザー編] (全24回) https://dotinstall.com/lessons/basic_unix_v2 シェルスクリプト入門 (全17回) https://dotinstall.com/lessons/basic_shellscript_v2 MySQL入門 (全36回)
https://dotinstall.com/lessons/basic_mysql_v3
分からないことは質問できる(980円/月) https://dotinstall.com/help/415
エコテキブログも参考に! CentOS7,PHP7,MySQL5.6でWordPressサイトを構築 その3(鍵認証の設定) https://e-yota.com/infrastructure/centos7php7mysql5-6_wordpress_3/ CentOS7,PHP7,MySQL5.6でWordPressサイトを構築 その4(SSHの設定) https://e-yota.com/infrastructure/centos7php7mysql5-6_wordpress_4/ さくらのVPSでSiteGuard Lite(Web Application
Firewall)をセットアップする方法(その 1) ~ セットアップスクリプトの実行 https://e-yota.com/infrastructure/sakuravps_siteguardlite_waf_setup_method/ さくらのVPSでSiteGuard Lite(Web Application Firewall)をセットアップする方法(その 2) ~ SiteGuard Lite管理画面へのアクセス https://e-yota.com/infrastructure/sakuravps_siteguardlite_waf_setup_method_2/
“WordPress + CentOS7”で検索も
ご清聴ありがとうございました!