Top Banner
Wordpress hosted on 1and1 BackUp / Restoration / Migration
12

Backup Restore Migration Wordpress hosted on 1and1

May 15, 2015

Download

Education

BackUp Restoration or Migration of Wordpress hosted on 1and1
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Backup Restore Migration Wordpress hosted on 1and1

Wordpress hosted on 1and1

BackUp / Restoration / Migration

Page 2: Backup Restore Migration Wordpress hosted on 1and1

Initial problem1and1 basic hosting doesn’t gives you direct

access to MySQL database

Page 3: Backup Restore Migration Wordpress hosted on 1and1

UpdraftPlus pluginA solution is to use a plugin that makes a

backup of your wordpress files and also the database

Page 4: Backup Restore Migration Wordpress hosted on 1and1

Make a BackUpYou can store files on Dropbox, Google Drive,

Amazon, etc and have the files zipped.

Page 5: Backup Restore Migration Wordpress hosted on 1and1

Install new wordpressWordPress installation process It’s completly

documented but in case You’re using XAMPP Lite It can be resumed like this:

Install WordPress in local machine (localhost)Files: Uncompress WordPress.zip on subfolder

HTDOCSData: Create a new database using PhpMyAdmin

Connect WordPress with the databaseFill database name, user and password in WP-CONFIG

(file created from WP-CONFIG-SAMPLE)Open install URL on browser

http://*new_location*/wp-admin/install.php

Page 6: Backup Restore Migration Wordpress hosted on 1and1

Install updraftplus pluginReinstall UpdraftPlus plugin in your new Wordpress instalation and restore the

BackUp

Page 7: Backup Restore Migration Wordpress hosted on 1and1

Select restore everythingWe want to restore all the files and the

database

Page 8: Backup Restore Migration Wordpress hosted on 1and1

Now the process is finishedCongratulations! You’re close to a successful

migration / restoration

Page 9: Backup Restore Migration Wordpress hosted on 1and1

But the url is different!As you can see there are some changes to

do on the database yet

Page 10: Backup Restore Migration Wordpress hosted on 1and1

Sql queries to replace old urlUPDATE wp_posts SET guid = replace(guid, ‘http://www.old-domain.com’,'http://www.new-domain.com’);

UPDATE wp_posts SET post_content = replace(post_content, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’);

UPDATE wp_postmeta SET meta_value = replace(meta_value, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’);

UPDATE wp_options SET option_value = replace(option_value, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;

Page 11: Backup Restore Migration Wordpress hosted on 1and1

You got it!After the SQL queries are executed your

migration / backup is ready to work