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
如何正確備份與搬移網站資料(使用 Duplicator 與 WP Migrate DB Pro)
Search
Yucheng Wang
October 07, 2018
Programming
1
250
如何正確備份與搬移網站資料(使用 Duplicator 與 WP Migrate DB Pro)
Yucheng Wang
October 07, 2018
Tweet
Share
More Decks by Yucheng Wang
See All by Yucheng Wang
不會寫程式也可以 - 使用 Elementor + ACF 來客製化網站
ucheng
0
370
使用 Gutenberg 和 ACF Block 重新建置網站
ucheng
0
180
使用 ManageWP 來管理網站
ucheng
0
350
提升你的古騰堡編輯體驗 - EditorsKit 介紹
ucheng
0
250
使用 ProjectHuddle 來管理客戶需求和回饋
ucheng
3
360
網站客製化、除錯的好幫手 - Chrome Developer Tools 基本介紹
ucheng
0
960
基本網站安全防護
ucheng
1
120
使用 ACF Pro 打造客製化古騰堡區塊
ucheng
1
470
使用 Admin Menu Editor 打造簡單易用的後台
ucheng
0
180
Other Decks in Programming
See All in Programming
JSONataを使ってみよう Step Functionsが楽しくなる実践テクニック #devio2025
dafujii
1
640
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
2.5k
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.5k
Flutter with Dart MCP: All You Need - 박제창 2025 I/O Extended Busan
itsmedreamwalker
0
150
基礎から学ぶ大画面対応(Learning Large-Screen Support from the Ground Up)
tomoya0x00
0
4.3k
個人軟體時代
ethanhuang13
0
330
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
300
Amazon RDS 向けに提供されている MCP Server と仕組みを調べてみた/jawsug-okayama-2025-aurora-mcp
takahashiikki
1
120
AWS発のAIエディタKiroを使ってみた
iriikeita
1
190
ファインディ株式会社におけるMCP活用とサービス開発
starfish719
0
2.1k
請來的 AI Agent 同事們在寫程式時,怎麼用 pytest 去除各種幻想與盲點
keitheis
0
130
そのAPI、誰のため? Androidライブラリ設計における利用者目線の実践テクニック
mkeeda
2
2.8k
Featured
See All Featured
Gamification - CAS2011
davidbonilla
81
5.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Speed Design
sergeychernyshev
32
1.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Fireside Chat
paigeccino
39
3.6k
Designing Experiences People Love
moore
142
24k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Transcript
如何備份與移轉 WordPress 網站 WordPress Meetup Taichung #4
王昱程 Stanley @uchengwang PHP / Laravel / WordPress Developer WordPress
Meetup Taichung #4
⼤大綱 • 要備份什什麼? • 如何使⽤用 Duplicator 備份/還原網站? • 如何搬遷網站資料和內容? •
如何使⽤用 WP Migrate DB Pro 來來快速移轉網站資料?
聽完今天的分享你可以... 1.⾃自⼰己管理理⾃自⼰己的網站:知道該備份什什麼檔案和資料,如何還原備份 以及搬遷網站 2.管理理很多網站的⼯工程師/設計師/⼯工作室:透過⼯工具來來簡化⼯工作流程 WordPress Meetup Taichung
#1
Backup Migrate 備份 移轉
Backup 備份
檔案 資料
1.核⼼心檔案: wp-admin wp-inclues 其他根⽬目錄下的檔案 不可修改,避免造成⽇日後更更新維護困難 2.使⽤用者建立的檔案: wp-content
12 個基本資料表(Table) 隨著安裝的插件會建立的資料表數量量會有所不同 .sql 檔 純⽂文字檔 可使⽤用⼯工具如 phpmyadmin 來來匯出檔案
Demo - 如何使⽤用 Duplicator 備份網站
Migrate 移轉
1.將網站搬移到不同主機(網域相同) 2.將網站搬移到不同主機(網域不同) 本機 www.mysite.local 測試站 test.mysite.com 正式站 mysite.com Migrate
流程 本機/另⼀一個遠端主機 正式站 備份/下載檔案 備份/匯出資料庫 上傳檔案 匯入資料庫 www.wptc.local wptc.ucheng.io 修改網址
序列列化資料 $config = array( 'color' => ‘red', ‘domain' => ‘https://mysite.com'
); a:2:{s:5:”color”;s:3:"red";s:6:"domain";s:18:"https://mysite.com";} PHP Database https://codex.wordpress.org/Function_Reference/maybe_serialize
如何正確修改網址 1.匯出前修改網址:Search & Replace、WP Migrate DB 2.匯出後修改網址:Search Replace DB
Demo - 如何使⽤用 Duplicator 安裝檔移轉網站
流程 本機/測試站 正式站 備份/下載檔案 備份/匯出資料庫 上傳檔案 匯入資料庫 www.wptc.local wptc.ucheng.io 修改網址
有沒有比較快的⽅方法?
WP Migrate DB Pro
流程 本機/測試站 正式站 www.wptc.local wptc.ucheng.io push pull
https://snapcreek.com/?discount=TAICHUNG30 https://deliciousbrains.com/wp-migrate-db-pro/?coupon=wp-txg-18 Duplicator Pro WP Migrate DB Pro Coupon