Displaying 4 results from an estimated 4 matches for "target_disk".
Did you mean:
target_dir
2024 Nov 15
1
Errors with program diagnostics (code 13) after rsync upgrade
...ost. If I run my rsync backup scripts manually as root then
everything works fine, so the issue appears only when the script is
initiated by cron.
/etc/crontab entry:
30??? *??? *??? *??? *?????? root
/home/blackhaz/scripts/rsync-to-external-drive
rsync command in the script:
if mount | grep $TARGET_DISK; then
?????? nice rsync --log-file=$RSYNC_LOG_FILE \
?????? --archive --hard-links --delete --delete-excluded --sparse
--xattrs --numeric-ids --acls --progress \
?????? / /media/$TARGET_DISK/freebsd-backup
Would appreciate any pointers. Tried without--hard-links and getting the
same error.
R...
2024 Nov 15
1
Errors with program diagnostics (code 13) after rsync upgrade
...sync commands
> worked on all previous versions of FreeBSD. It also fails with the
> same error to a remote SSH host. If I run my rsync backup scripts
> manually as root then everything works fine, so the issue appears
> only when the script is initiated by cron.
> if mount | grep $TARGET_DISK; then
> nice rsync --log-file=$RSYNC_LOG_FILE \
> --archive --hard-links --delete --delete-excluded --sparse --xattrs
> --numeric-ids --acls --progress \
> / /media/$TARGET_DISK/freebsd-backup
This is just a very wild and uneducated guess, but I would try it
without the nice.
Also: wi...
2024 Nov 16
1
Errors with program diagnostics (code 13) after rsync upgrade
...gt; worked on all previous versions of FreeBSD. It also fails with the
>> same error to a remote SSH host. If I run my rsync backup scripts
>> manually as root then everything works fine, so the issue appears
>> only when the script is initiated by cron.
>> if mount | grep $TARGET_DISK; then
>> nice rsync --log-file=$RSYNC_LOG_FILE \
>> --archive --hard-links --delete --delete-excluded --sparse --xattrs
>> --numeric-ids --acls --progress \
>> / /media/$TARGET_DISK/freebsd-backup
> This is just a very wild and uneducated guess, but I would try it
> wi...
2024 Nov 17
0
Errors with program diagnostics (code 13) after rsync upgrade
...s
>> fine, so the issue appears only when the script is initiated by cron.
>>
>> /etc/crontab entry:
>> 30??? *??? *??? *??? *?????? root
>> /home/blackhaz/scripts/rsync-to-external-drive
>>
>> rsync command in the script:
>>
>> if mount | grep $TARGET_DISK; then
>> ?????? nice rsync --log-file=$RSYNC_LOG_FILE \
>> ?????? --archive --hard-links --delete --delete-excluded --sparse --xattrs
>> --numeric-ids --acls --progress \
>> ?????? / /media/$TARGET_DISK/freebsd-backup
>>
>> Would appreciate any pointers. Tried...