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
如何正確備份與搬移網站資料(使用 Duplicator 與 WP Migrate DB Pro)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yucheng Wang
October 07, 2018
Programming
330
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
如何正確備份與搬移網站資料(使用 Duplicator 與 WP Migrate DB Pro)
Yucheng Wang
October 07, 2018
Transcript
21 slides
如何備份與移轉 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
More Decks by Yucheng Wang
See All by Yucheng Wang
不會寫程式也可以 - 使用 Elementor + ACF 來客製化網站
ucheng
0
490
使用 Gutenberg 和 ACF Block 重新建置網站
ucheng
0
270
使用 ManageWP 來管理網站
ucheng
0
480
提升你的古騰堡編輯體驗 - EditorsKit 介紹
ucheng
0
360
使用 ProjectHuddle 來管理客戶需求和回饋
ucheng
3
480
網站客製化、除錯的好幫手 - Chrome Developer Tools 基本介紹
ucheng
0
1.1k
基本網站安全防護
ucheng
1
180
使用 ACF Pro 打造客製化古騰堡區塊
ucheng
1
600
使用 Admin Menu Editor 打造簡單易用的後台
ucheng
0
250
Other Decks in Programming
See All in Programming
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
3
1.7k
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
140
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
140
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
250
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
340
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
Spec-driven Development with AI
simas
PRO
0
2.3k
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
310
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
120
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
5.7k
Featured
See All Featured
Writing Fast Ruby
sferik
630
63k
Optimising Largest Contentful Paint
csswizardry
37
4k
Designing for humans not robots
tammielis
254
26k
Become a Pro
speakerdeck
PRO
31
6.4k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Leo the Paperboy
mayatellez
11
2.5k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
660
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
630
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Thoughts on Productivity
jonyablonski
76
5.5k