John Jewell - 2021-01-04

May a webmin cron job be used to rsync local files to a remote server using SSH?

FACTS:

  1. Local machine is an ubuntu 20.04 headless server.

  2. Remote machine is an ubuntu 20.04 headless server.

  3. SSH, webmin, samba are installed on both machines, and from a direct login to the local machine, the command to rsync local files works to synchronize local files to the remote via SSH.

Sample syntax: rsync -ah /media/data/active_block_C/ user@192.168.1.140:/media/data_backup/active_block_C/

  1. Using webmin from the same machines, the command line will not allow the same command as in #3, above.

  2. Since I was unable to succeed at the webmin command line, I did not attempt any cron activities.

KEYWORDS: SSH WEBMIN RSYNC REMOTE CRON