• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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