24 hr Australian Support


How to restore Files, Databases and Emails using the R1soft automated backup in cPanel


Note:
If you would like, we would charge a one-time fee of $40 to perform this service on your behalf. To request this, just submit a support ticket through your Client Area and let us know:
Specify which domain you would like to have restored, how far back you'd like it restored from, and what you'd like restored (e.g. site files and database)

We take backups every 8 hours and store these for a week. To find the exact restore points available, you can follow the first few steps of this guide to log into your R1Soft backup management area.

How to Restore Files
Step 1 - Log into the CPanel account (guide here).


Step 2 -
Click on File Manager.

fdb68731df10f9d4abb33c6323c6858e5b6ba2cf?t=267a8a4f85b4b025d0d86f7fc945cac6


Step 3 - Find the public_html directory and rename it to 'public_html.old-currentdate' or similar.

f987725ddaa74802d293c7d750f38a0825880958?t=da198ae86ea8c559a6c8ac3d2b39ec6c


Note: The R1Soft backup restore software overwrites all files, even if the content was different. However it does not remove files that were not present at the time of the backup. By effectively removing the entire directory we are ensuring that the files are restored exactly how they were at the time the backup was taken.

As long as there are no files in the public_html directory, your website will display a 404 error. Bear this in mind when performing a website restore.




Step 4 - Create a new public_html folder. This will make the restored files go into a clean folder.
(1) Click on +Folder.
(2) Type public_html.
(3) Leave the second field blank.
(4) Click Create New Folder.




Step 5 - Click on the cP button in the top left of the page to go back to the main page of cPanel.

31e2483d3268f01d216d1cddb3818f75a3fcd78c?t=3e2f926cc6877113a44a9103435a324d


Step 6 - Click on the R1Soft Restore Backups icon.

43d8926690847f866cbdaed863c011b7b10963c0?t=7f209a7305e71ba09a457c8b18871090


Sometimes when logging in via your Client Area or a Reseller account, you may get this screen. If so, simply enter the cPanel Details again.

e76d92e0e26a07def442528cb62e1eac335c5c67?t=31b333ad1d5a77dfe6f244677b65cffa


Step 7 - R1Soft will now open, and the dates and times of available backups will be listed under “Created On”. Click on the Folder icon next to the date you wish to restore.

7c47924820374366801c1eeb552a83121d3b24df?t=719da815efe722629d2e8bd5773578ad


Step 8 -
Double click on the Home folder.

82ec19e39327b370922dd134f4d80d057ef92392?t=3c23d49fa4ab6aabd3de964fa9979386


Step 9 - Check the box next to the folder you wish to restore. For a full website restore, select the public_html folder.

195e3d273b36427de73793a22943bec21ff1d23e?t=d27abbbde27c084c39fdbd3fd58f32cf


Step 10 - Scroll up and click Restore Selected.

c6bcd0511dd9c44e42c34b0064fde6b8656430f3?t=8eefdabdb4f4c92b9c526d5d9952e0f2


Step 11 - Click Restore to begin.

be41d24ef02ee6e63d38842012d4ef16528a2623?t=16716d2ecf2828ff00c2bf0d2306610b


Step 12 - Once the restore is finished you can close the window.

4891eade3b8d4348e8dec7a2790b32a10bba3c85?t=c1a587452b5ec1a30ad8c7e63011c85c


Note: You may get some errors under Files Failed. It's often OK to get a few of these, as they're just cache files which aren't needed when restoring website data

Once the restore is complete, we'd recommend testing your website in a non-cached browser. If the site still shows errors, you may need to restore the database as well.

How to Restore Database Data

Step 1 - Log into the CPanel account (guide here).


Step 2 - Click on the R1Soft Restore Backups icon.

a0b0c546e97e630767ae7087dd470cd50419df3d?t=5ff89ec00f7f26a593c1031bc6479e2b


Sometimes when logging in via your Client Area or a Reseller account, you may get this screen. If so, simply enter the cPanel Details again.

e76d92e0e26a07def442528cb62e1eac335c5c67?t=31b333ad1d5a77dfe6f244677b65cffa


Step 3 - Click on the Database icon next to the date you wish to restore.

9b974fefbfd05662682b6c3ddd1e98f9b78ce88a?t=bfe69b201edb48fff2f446780362e3aa


Step 4 - Clicking the arrow symbol next to Databases will display a list of all the backed up databases, then tick the box next to the database you wish to restore. If you see multiple databases and don't know which is the right one, click here for our guide on finding the database name.

1d27817a65a12cba82394e5ba28e77595e9ef2a0?t=52c06ee5e9e5ac98333b50bfa8d2f9a0


Step 5 -
Click Restore Selected.

25f0b74e1f1643af1f76416252e3566a368818a7?t=bae051e26bdd0b2c19b4100367e6ea31


The database will now begin restoring. Close the window once the restore is complete.

56597cf1edce69bb8f2007114e24ae96e7a5b3ae?t=dba77a320703c2db21121903bb75c2a4




How to Restore Emails
These are advanced guides and may take some time to complete. Before starting, please check if your emails are in MDBox or MailDir format, because the restore process is different.

Note: If the email account was deleted from cPanel, you'll first have to create it again from the Email Accounts tool in cPanel.


Identifying an MDBox or MailDir Email Account

Step 1 - Log into CPanel and navigate to File Manager.

f215cbf4484941b0e2acd55825ad7829f528ee3d?t=f9d7509c321622d6342b21be8e6fe3a8


Step 2 -
Navigate to mail/<yourdomain name>/<email account name>. In this example, we will be using admin@yourdomain.net.au, therefore we will go to the directory mail/yourdomain.net.au/admin.

Once you are there, if you see folders named mailboxes and storage, then the email format is MDBox. Follow the section below on How to Restore Emails from MDBox.

0736721bcc033e7c699850accf9e9a46db98c5d5?t=c0e2f8eeb058783608f4eb5aa0299733


If you see folders named cur, new and tmp this email account is using MailDir. Follow the section below on How to Restore Emails from MailDir.

9c1299c5e08ec9b56efbaeb52dad74e401906705?t=0f8e9d49a919f5de45904a7c73ca1343




How to restore emails from MailDir

Note:
This procedure restores all emails that were on the server for that email account at the specific time the backup was taken. This won't affect or delete any other emails currently on the account. If you had set up your email account using a POP mail client, the emails may have been received, downloaded onto your device and deleted from the server (as that's how POP works) in the time between 2 download points, meaning some emails may not have been backed up.


Step 1 -
Log into CPanel and click on the R1Soft Restore Backups icon.




Sometimes when logging in via your Client Area or a Reseller account, you may get this screen. If so, simply enter the cPanel Details again.

e76d92e0e26a07def442528cb62e1eac335c5c67?t=31b333ad1d5a77dfe6f244677b65cffa


Step 2 - Click on the orange folder icon to the right of the restore point you want to restore from.




Step 3 - Double click on Home.




Step 4 - Double click on mail.




Step 5
- Double click on the domain name for the email account that you want to be restored.




Step 6 - Scroll up and click Restore Selected.

c6bcd0511dd9c44e42c34b0064fde6b8656430f3?t=8eefdabdb4f4c92b9c526d5d9952e0f2


Step 7 - Click Restore to begin.

be41d24ef02ee6e63d38842012d4ef16528a2623?t=16716d2ecf2828ff00c2bf0d2306610b


Step 8 - Once the restore is finished you can close the window.

4891eade3b8d4348e8dec7a2790b32a10bba3c85?t=c1a587452b5ec1a30ad8c7e63011c85c


If your email account is set up on an email program like your phone or Outlook, either hit the Send/Receive all emails button (most email clients should have a similar option). Some email clients are on a 15min timer where they check for new emails automatically. We'd recommend waiting for around an hour for the emails to finish syncing, especially if you were restoring a large amount.


How to restore emails from MDBox

MDBox is a way of storing multiple emails within a single file. Having emails stored in this format saves disk space and inodes for your cPanel account.

When restoring MDBox emails, you will need to restore the emails into a temporary email account and then forward emails into your primary email account. If you restored the email files on top of the original email account, any new emails that you might have received between the restore point and the time of the restore would be lost.

For this example, we will be restoring emails from admin@yourdomain.net.au into admin-restore@yourdomain.net.au.


Step 1
- Log into cPanel and select Email Accounts.

d7f79ae3af7c0d5d2578bccce02b9a67e4638700?t=4b494fe562953bcb58d81ccaa31ad3d1



Step 2 -
Create a temporary email account to restore the emails into - for this example, we will be naming it admin-restore@yourdomain.net.au.

57d7a2e5905324d65a78138fb3b4dbca2b544096?t=88afa8ffbc4d2a53c29767decdd87d64

c45bcab6a0d5209842a0079ec96c8db0dc69e7c7?t=791457b186fea7490181876bda7a1bcb



Step 3 -
Open File Manager and navigate the temporary email folder. In this example, we will be going to the directory mail/yourdomain.net.au/admin-restore

f215cbf4484941b0e2acd55825ad7829f528ee3d?t=f9d7509c321622d6342b21be8e6fe3a8



Step 4 - Select All
, then Delete everything inside this temporary email folder. Do not delete the folder itself, or anything else in the File Manager.

9aaffbc75001aca0e2d292d53100ae33eb208c25?t=b8cb420e79e3961d80077afb6e34de82



Step 5 -
From cPanel, click on R1Soft Restore Backups.

d4b1cb1295a089af3fa5d4d48dd319e98725969b?t=8f47cbeebe2bdd9a2d2b0b8354388351


Sometimes when logging in via your Client Area or a Reseller account, you may get this screen. If so, simply enter the cPanel Details again.

e76d92e0e26a07def442528cb62e1eac335c5c67?t=31b333ad1d5a77dfe6f244677b65cffa


Step 6 - Click on the Browse icon on the date that you wish to restore from - in this example, we will be restoring from February 27 9pm.

d35a3ae2a88d95bf78e9545a24fbacd6c23ba615?t=30655b92cf2df4dc9dd256ed5be30948



Step 7 -
Navigate to the mail folder of the domain you wish to restore from (home/mail/<domain>/) - in this example, we will be navigating to home/mail/yourdomain.net.au.
(To navigate, double click on the folder)

e67771f986eef17253c07c5b6ad9adcc5231720f?t=a079a72acd7cd154a9b75272517f8e6b



Step 8 -
Select the Email Account on the right hand side and click on Send Selected to Agent.

37c9cc13b05efaf787f4017e9f6ce4440c3aa4a7?t=f34f8217076301c6a08fece0a085c297



Step 9 - Specify a Filename and then click on Send to Agent - in this example, we will be using admin-restore.

68de27bd17308be390b644514e4983bea3303b84?t=52be85ef8571b373508228a618acdca0


If you receive an error, it is fine to ignore it. Click the 'X' option.

76d8176c31de7df1ca4a777f343b7c1a90f9c7c6?t=0129ac0e1518e75c1878fa6f57dc762a



Step 10
- Open up File Manager in cPanel. The file will be created in the home directory. Right click on the file (Ctrl+Click on Mac) and extract the restored tar.gz file to the tmp folder.

3f7233671b3c69ddd08f80d0ceee3d26dc491977?t=c702b23eaa3e5f8b02c7917eedd2b213

Simply enter 'tmp' in the box, which will extract it to the '/home/yourdoma/tmp/' directory.

e0df4e76813b5027cc1ec8d5ff40bb616da0ac44?t=6991ad4411e87f8e0f9b7fdd8818197e



Step 11 - Navigate to the extracted files - in this example, we will be going to tmp/home/yourdoma/mail/yourdomain.net.au/admin. In practical terms, this step involves clicking on the 'tmp' folder in the file manager's home directory. From there, click on the 'home' folder, etc.



Step 12 - Select All in the admin folder and then click Move.

e4dc3992b3016b7348bac7195fbb0955af20f9de?t=ec3351e3b9814bc3cad821318e8440f0



Step 13 - Specify the file path of your temporary email account folder - in this example, we will be using /mail/yourdomain.net.au/admin-restore.
Note: If unsure, replace 'yourdoma' with your cPanel username, replace 'yourdomain.net.au' with your domain, and replace 'admin-restore' with the name of your temporary email account from Step 2.

2e991a3190d814d6b510c60cb15e049462fb991a?t=675b3ef2b99d80003e1a97eb2db4c3ca



Step 14 - Go back to your cPanel home page and select Email Accounts.

a2440401eb5a95348fc06bff8986a74dbd3b8ed1?t=ce59e4ea71b7eb524d6b8979c4a4b49e



Step 15 - Click on Access Webmail for the temporary email account. Once you are inside Webmail, you can use this as a normal email account. We recommend forwarding any important emails to your primary email address.

26af4da67e46b96354d2d8586ec46d6b15b6b483?t=3e5604fa729214ef6c0bc9e45ae6b33a



Step 16 (OPTIONAL) - Delete the temporary email account once you have finished recovering emails.

7a5fa5dbe629c063db9033f3f49d7915617bc11d?t=2fbc13faa218b3c077e339e76f1ae329