On Fri, Nov 15, 2024 at 04:08:27PM GMT, Maxim Usatov via rsync wrote:

> I assume code 13 is related to permissions, but given rsync is
> started as root, why would this happen? The same rsync 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: without the xattrs and acls. So 3 things to try :-P

-- 
Ian

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to