Copy Files From An Ubuntu Server To Remote Server Through

[Solved] Copy Files From An Ubuntu Server To Remote Server Through | Groovy - Code Explorer | yomemimo.com
Question : copy files from an ubuntu server to remote server through ssh remote with cronjobs

Answered by : lucky-lark-t663zemkp5gi

tar cvzf - /path/to/myBase.sql | ssh USER@HOST "dd of=/path/to/backups/myBase$(date +\%Y\%m\%d\%H\%M\%S).tar.gz"

Source : https://askubuntu.com/questions/957016/cron-job-dump-and-scp-tar-dump-to-remote-server | Last Update : Sun, 14 Feb 21

Answers related to copy files from an ubuntu server to remote server through ssh remote with cronjobs

Code Explorer Popular Question For Groovy