Restore backups from SSH

1. To resotre a full account use following command:

/scripts/cpremoterestore –user=cpuser –from=Saturday –type=full

Here,
–user=domainuser : domainuser is a Cpanel user.
–from=Saturday : Backup day
–type=full : Full account restore.

full -full account restore , you may need to termiante the account

2. To restore mail use following command:

/scripts/cpremoterestore –user=cpuser –from=Saturday –type=mail

Here is,
–user=domainuser : domainuser is a Cpanel user.
–from=Saturday : Backup day
–type=mail : to restore mail

3. To restore www that is public_html use following command:

/scripts/cpremoterestore –user=cpuser –from=Saturday –type=www

Here is,
–user=domainuser : domainuser is a Cpanel user.
–from=Saturday : Backup day
–type=www : To restore publi_html

4. To restore DB use following command:

/scripts/cpremoterestore –user=cpuser –from=Saturday  –type=db –db=dbname

Here is,
–user=domainuser : domainuser is a Cpanel user.
–from=Saturday : Backup day
–type=db –db=dbname : DB name which you want to restore.

5. To restore folder from remote backup server using cpremote script.

/scripts/cpremoterestore –user=cpuser –from=Saturday –type=part –part=public_html/test

Here is,
–user=domainuser : domainuser is a Cpanel user.
–from=Saturday : Backup day
–part=public_html/test : To restore test directory

6. To restore file from remote backup server using cpremote script.

/scripts/cpremoterestore –user=cpuser –from=Saturday –type=part –part=public_html/images/file.jpg

Here is,
–user=domainuser : domainuser is a Cpanel user.
–from=Saturday : Backup day
–part=public_html/images/file.jpg : To restore file.jpg file.

  • 40 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

How to create email account in cPanel?

Follow these steps to create an email account in cPanel:  1. Log in to your cPanel > section...

How do I access cPanel?

cPanel can be accessed by using either of the URLs below: www.yourdomain.com/cpanel...

How do I access my webmail?

Webmail can be accessed from one of the following URLs: http://webmail.yourdomain.com...

How do I add a user to a MySQL database?

Login to cPanel. Locate and click on the "MySQL Databases" icon under the "Databases"...

How do I backup my cPanel account?

Login to cPanel. Locate and click on the "Backup Wizard" icon within the "Files" category....