mehnihma

Well-Known Member
Dec 15, 2012
57
1
8
cPanel Access Level
Root Administrator
Hi

I have set up FTP backup in WHM.

In cpanel I do not have option to restore daily or weakly backup but backup is stored on ftp?

What do I have to do to have daily of weekly backup in Cpanel?

Thanks
 

arunsv84

Well-Known Member
Oct 20, 2008
372
1
68
127.0.0.1
cPanel Access Level
Root Administrator
If your backup is on remote ftp location, you need to download it to the server for restoring purpose. If you wish to perform a full restore, just place the username.tar.gz file in the /home directory and WHM will detect the backup file. You may use the following command to restore the account via ssh.

/scripts/restorepkg username
To download the backup from ftp location you can simply use the following commands via ssh.

ftp hostnameofremoteserver
Enter username
Enter password
cd cpbackup
cd daily
get username.tar.gz
Please note that the ftp backup details are stored in two files.

This file contains the ftp hostname & username

cat /etc/cpbackup.conf
Below will display the ftp password.

cat /etc/cpbackup.conf.shadow
Thanks!