|
From: | Michael Crider - HOEC |
Subject: | Trouble running rdiff-backup after Windows updates |
Date: | Mon, 1 Nov 2021 10:21:49 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
The command in the cron job is: ssh ${BACKUP_USER}@${TARGETHOST} rdiff-backup.bat ${BACKUPTO}; RDIFF_RESULT=$?
The command in the batch file is: C:\rdiff-backup-2.1.0a1-64\rdiff-backup.exe -v 6 --exclude-symbolic-links --remote-schema "C:\Windows\System32\OpenSSH\ssh.exe %%s rdiff-backup --server" --include "C:/FuturaData" --include "C:/Program Files (x86)/Futura Systems/FuturaGIS/Staking Client" --exclude "C:/Users/%BACKUP_USER%/AppData/Local/Temp" --exclude "C:/Users/%BACKUP_USER%/AppData/Local/ESRI/Local Caches" --include "C:/Users/%BACKUP_USER%" --exclude "C:/**" C:/ root@datasrv2.intra.hoec::%BACKUPTO%
Both use environment variables set on the command line of the script or earlier in the script.
-- Michael Crider, IT Supervisor Howell-Oregon Electric Cooperative West Plains MO http://www.hoecoop.org
[Prev in Thread] | Current Thread | [Next in Thread] |