There will comes a time you have to restore your website from backup. Either some kind of cyber attack or you accidentally delete a critical file, you will put in a tough spot where you have no choice but to restore from backup to get your WordPress running again. So the big question is, are you preparing for the worst? Do you know how to restore your website from the backup?
Recently, I accidentally delete some critical web files and I was forced to restore latest files from the backup. Lucky for me, I had latest backup and I was able to restore the website without any problem. Currently I am hosting my website using 1and1 Hosting, and in this post, I’ll show you how I restore WordPress website from backup. If you are looking for hosting service, 1and1 is great choice.
Backup your website using UpdraftPlus
First question is, are you backing up your WordPress website? Luckily, if you are hosting from 1and1 Hosting, they backup your website everyday. But that is not enough, you should also backup your WordPress website too. Best way to backup your WordPress website is using plugin called UpdraftPlus. I recommend this backup plugin highly and it is free.
Once you install the plugin, you’ll see the UpdraftPlug option under SETTINGS.
In the UpdraftPlus setting, click on BACKUP NOW to start backing up after any changes you made to your website.
Make sure you are backing up everything on the website.
Backup files will be saved inside your website. But to be safe, you also have copy the cloud such as Dropbox, Google Drive, or OneDrive. But I believe saving backup files on the cloud might require you to purchase a full version. But I do believe you can use Google Drive for free.
You can make all these setting under SETTING tab.
Make a habit of backing up your website consistently before things go terribly wrong.
Restoring from 1and1 Hosting backup
If you host your website with 1and1 hosting, they will backup your website daily.
Login to 1and1 console. If you don’t know they login user name and password, call 1and1 to find out. You should have one already.
Under Manage Webspace, there is Webspace Recovery option. Click there.
Select the latest available backup to restore.
If you have multiple websites, you probably don’t need to restore all the websites. Each website is stored in a folder, so look for only the website you need to restore. Once you find the folder to restore, click ADD and RECOVER ALL.
When the restore is done, it will be place inside folder called “_ProviderRestore”.
Now, next step is to move the restored website folder to the right location. Use WebSpace Explore to move the folder to the proper location. WebSpace Explore is like Windows Explore where you can move and copy files and folder.
Most likely, all the websites are located in under the folder called “clickandbuilds”. It is possible that your web folders are in different location. If you are not sure, just look at where other websites are located.
First run WebSpace Explore under MANAGE WEBSPACE.
User COPY or MOVE under EDIT to copy or move the website folder to the right location.
Now check to see make sure your domain name is pointing to the right location. Go to Manage Domains under DOMAINS section.
For example, if your website folder are under “clickandbuilds” folder, your domain name should be point to:
/clickandbuilds/<website folder name>
If you need to change it, click on MANAGE to change the website location.
Test your website
Now you are ready to test your website. Go to your website address to see if your website comes back up.
If your website come back up, you are done. But if your website still doesn’t come back up, you can try few more things.
Restore from Updraft
Go ahead and see if you can login to your admin page by going to: http://domainname.com/wp-admin
Even if your website don’t work right, you should be able to connect your admin page. Once you are in admin page, you should be able to restore from your UpdraftPlus backup. Hopefully, at this point, you have the latest backup of your website using UpdraftPlus backup also.
To restore form UpdraftPlus go to UndraftPlus Backups under SETTINGS.
Restore from the latest UpdraftPlus Backup.
At this point, your website should be back online with latest updates.
At one point, if you are still missing your latest posts, you can try Google Cachview and see if Google has your latest archive of your website. Google does good job archiving website all over the internet. There is good chance that Google has archive of your latest post. It doesn’t hurt to try.
If you still don’t have hosting service and looking for hosting company to host your website, try 1and1 hosting. Pretty much all the hosting has some kind of backup system, but 1and1 hosting made it easy to.
If you like to sign up for 1and1 Hosting, click here!