• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Remote backup over SSH

lvalics

Silver Pleskian
Plesk Guru
Hi all,

Because I don't use PLSK backup manager, we find out a small linux command line what can help a lot of people to make backup over SSH.

tar cvz foldername | ssh [email protected] 'dd of=test_backup.tar.gz'

This will archive folder with foldername and will archive it direcctly to other server via SSH.

Example

tar cvz httpdocs | ssh [email protected] 'dd of=/backup/domainname_backup_19jan2006.tar.gz'

Hope this help someone.
Of course this can be more advanced to get all domains one by one and archive, transfer, but only httpdocs (or httpsdocs) and subdomains ...
Then can be also backup MySQL (by stopping MySQL) and if you want, need. etc/ and /qmail settings.
 
Back
Top