Displaying 4 results from an estimated 4 matches for "rsync_log_file".
2024 Nov 15
1
Errors with program diagnostics (code 13) after rsync upgrade
...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.
Regards,
Maxim Usatov
2024 Nov 15
1
Errors with program diagnostics (code 13) after rsync upgrade
...ions 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: without the xattrs and acls. So 3 things to try :-P...
2024 Nov 16
1
Errors with program diagnostics (code 13) after rsync upgrade
...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: without the xattrs an...
2024 Nov 17
0
Errors with program diagnostics (code 13) after rsync upgrade
...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.
>...