wiki:rsync_troubleshooting
This is an old revision of the document!
Table of Contents
rsync troubleshooting
SSH agent and rsync
Using rsync in crontab of different user than root requires adding additional ENV variables. Example:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
53 14 * * * rsync -aq root@example.com:/root/backups/ /home/user/Documents/backups/ 30 14 * * 1 rsync -aq root@example.org:/root/backup/* /home/user/Documents/backup/
Tested on
See also
References
wiki/rsync_troubleshooting.1667044247.txt.gz · Last modified: 2022/10/29 11:50 by antisa