To take a backup and restore your Plesk domains/ accounts through command line, this article will be helpful.
By default, Plesk backup is stored under the location '/var/lib/psa/dumps'. This backup directory is specified in the configuration file '/etc/psa/psa.conf'.
==========
# Backups directory
DUMP_D /var/lib/psa/dumps
==========
To Back up whole Plesk server==========
/usr/local/psa/bin/pleskbackup –server -v
-v option show information about backup process
==========
To Back up Single domain in Plesk with mails, hosting files, configuration and Database==========
/usr/local/psa/bin/pleskbackup –domains-name example.com –v
==========
To Back up only mail configuration and content==========
/usr/local/psa/bin/pleskbackup –domains-name example.com –only-mail -v
==========
To Back up only hosting configuration and content without emails==========
/usr/local/psa/bin/pleskbackup –domains-name example.com –only-hosting –v
==========
To Back up selected resellers . If no resellers provided, back up all resellers on the server.==========
/usr/local/psa/bin/pleskbackup –resellers-name [Reseller logins name] –v
==========
To Back up multiple resellers on the server.==========
/usr/local/psa/bin/pleskbackup –resellers-name [Resellername1 Resellername2 Resellername3...etc] –v
==========
If there are multiple Domains/ Resellers/ Clients, then it is difficult to specify them via command line. In that case, it is better to specify them in a file.
==========
/usr/local/psa/bin/pleskbackup –resellers-name –f resellersclient.txt –v
(resellerclietns.txt is a file which contain list for resellers names per line )
/usr/local/psa/bin/pleskbackup –clients-name –f clients.txt –v
(clients.txt file which contains list for clients name per line )
/usr/local/psa/bin/pleskbackup –domains-name –f domainsname.txt –v
(domainnames.txt file which contain list of domains name per line)
==========
Hope this will help you...