• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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