Webtrees Backup

0 0 vote
Article Rating

Various Ways of Performing a Webtrees Backup

There are several ways of creating a Webtrees backup and two of then are described here, a quick way and a slower way depending upon your setup.

Webtrees Backup – The Quick Way

Provided you have followed our advice and have selected our preferred hosting partner of PlanetHoster all your website and database files will have been backed up automatically every two days and it is easy to copy any of those backups to your own computer.

If you log-in to your PlanetHoster account and go to the ‘My Services‘ area then click on ‘My Portfolio‘ you will see your website listed. On the right hand side click on the ‘Connection‘ arrow and select ‘Panel World‘.

In the left-hand margin click on ‘Files‘, then ‘Backup‘. In a few seconds all your backups will be listed.

The latest backup will have four icons on the right-hand side and if you hover over the icons it tells you what each one is. The third icon from the left is the ‘Download‘ icon and clicking on the icon downloads a full backup of all your files and all your database.

Webtrees Backup – The Slower Way

The slower way involves downloading your files and database separately through cPanel.

Backup Files

Log into your main cPanel page and go to the ‘Files‘ section and click on the ‘File Manager‘ link.

Make sure all your Webtrees files and folders are all contained in the large main window.

Select all your files and folders and click on the ‘Copy‘ button. In the ‘file path‘ box type /public_html/backup this will copy all the files into a ‘backup‘ folder. If you cannot see the ‘backup‘ folder click on the ‘Reload‘ button.

Select the ‘backup‘ folder and then click on the ‘Compress‘ button and select ‘Gziped Tar Archive‘ then on the ‘Compress File(s)‘ button, then on ‘Close‘.  All your files and folders will now be in a single file named ‘backup.tar.gz

Select that file then click on the ‘Download‘ button to save it to your computer.

Backup Database

Log into your main cPanel page and go to the ‘Databases‘ section and click on the ‘phpMyAdmin‘ link.

Click on the name of your database in the left-hand column so that its contents show below and also show in the main window.

In the main window, select ‘Export‘ from the top menu, then ‘Go‘. After a few seconds select where you want to export it to and click on the ‘Save’ button to download it to your computer.

Reinstalling Webtrees Backups

The Quick Way

Log into your PlanetHoster account and go to the ‘My Services‘ area then click on ‘My Portfolio‘ to find your website listed. On the right hand side click on the ‘Connection‘ arrow and select ‘Panel World‘.

In the left-hand margin click on ‘Files‘, then ‘Backup‘. In a few seconds all your backups will be listed. On the backup you want to reinstall go to the icons on the right-hand side and select the ‘Brows‘ icon (first from left) by clicking on it.

The initial display will show the home folder and clicking on the ‘Restore Selected‘ button will restore all the files and folders. Alternatively you could double click on the home folder to display its contents, select the ‘public_html‘ folder and then ‘Restore Selected‘ to only restore the files and folders from your public folder.

The databases are restored in a similar way, by firs clicking on the ‘Brows Database‘ button.

The Slower Way

Reinstall Files

Log into your main cPanel page and go to the ‘Files‘ section and click on the ‘File Manager‘ link.

Make sure all your Webtrees files and folders are all contained in the large main window.

If you feel brave at this point you could delete all your files in the main window. If not, leave them alone as you will get asked if you want to overwrite them.

In the top menu select the ‘Upload‘ button and then select the ‘backup.tar.gz‘ from your computer and move it into your main window. It can then be uncompressed and moved into your public folder in the same way your original files were moved as described on the installation page. If the original files are still in place you will be asked to confirm you want to replace them.

Reinstall Database

Log into your main cPanel page and go to the ‘Databases‘ section and click on the ‘phpMyAdmin‘ link.

Click on the name of your database in the left-hand column so that its contents show below and also show in the main window.

In the main window, select ‘Import‘ from the top menu, then ‘Go‘. to replace the existing files with the new ones.

0 0 vote
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x