Plesk backup

1) using  PleskX.pl

bash# cd /home/support/backup-agent
bash# perl PleskX.pl –dump-domains=< domain_name > -o=< output_file_name >

2) using pleskbackup

a) To back up all data, including server and control panel configuration, remote database servers, license keys, user accounts, Web sites, databases, and mailboxes with e-mail messages.

/usr/local/psa/bin/pleskbackup –all <backup_file_name>

b) To back up all user accounts with all users’ sites,
/usr/local/psa/bin/pleskbackup –clients <backup_file_name>

c) To back up selected user accounts with web sites:
1 Create a text file and list there the control panel login names of the
clients whose accounts you wish to back up, one login name per line.
For example:
client1
client2
2 Save the file.
3 Run the command
/usr/local/psa/bin/pleskbackup –clients <backup file name> -list <file name>

where <file name> is the file listing the objects you wish to backup that you created
at the step 1.

d) To back up selected web sites:
1 Create a text file and list there the domain names of the sites that you
wish to back up, one domain name per line. For example:
domain1.com
domain2.com
2 Save the file.
3 Run the command
/usr/local/psa/bin/pleskbackup –domains <backup file name> -list <file name>
where <file name> is the file listing the objects you wish to backup that you created
at the step 1.

e) To back up a specific user account with all user’s web sites.
echo ‘client’s login name‘ | /usr/local/psa/bin/pleskbackup –clients <backup file name> -list –

f) To back up a specific web site.
echo ‘domain name‘ | /usr/local/psa/bin/pleskbackup –domains <backup_file_ name> -list –

Advertisements

One thought on “Plesk backup

  1. What is an example of the ?

    Need to be .tar or .zip or …?

    For example, is this a correct backup file?
    /usr/local/psa/bin/pleskbackup –all my_file_name.zip

    Thanks

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s