RSYNC and symlinks
Posted: Mon Aug 17, 2020 2:02 pm
Hi everyone,
I've had a look around and I can't see anything directly that looks like this problem.
I have a raspberry pi (what a surprise) that I want to back up the SD card to as a hot backup. To do this I have a mount on an ASUSTOR NAS that is mounted to \mnt\backups\
The FSTab entry is this:-
As I understand it the sfu option should allow me to backup the symlinks, however when I run the script to backup I get the following error for several of the files
The rsync line I am using is:-
I'm guessing that this is a limitation of the ASUSTOR rsync, but wanted to check if there is something else I should be looking at.
Also, is there a way that I can force fstab to use the IPV4 address rather than the IPV6 one? I can resolve both, but the IPV6 is external so routing becomes an issue.
Many thanks,
David
I've had a look around and I can't see anything directly that looks like this problem.
I have a raspberry pi (what a surprise) that I want to back up the SD card to as a hot backup. To do this I have a mount on an ASUSTOR NAS that is mounted to \mnt\backups\
The FSTab entry is this:-
Code: Select all
//xxx.xxx.xxx.xxx/Backups /mnt/backup cifs username=xxxxxx,password=xxxxxxxx,vers=3.0,users,auto,user_xattr,sfu 0 0
Code: Select all
rsync: symlink "/mnt/backup/piserver/lib/systemd/system/fuse.service" -> "/dev/null" failed: Operation not supported (95)
Code: Select all
rsync -avH --delete-during --delete-excluded --exclude-from=/usr/bin/rsync-exclude.txt / /mnt/backup/$HOSTNAME/
Also, is there a way that I can force fstab to use the IPV4 address rather than the IPV6 one? I can resolve both, but the IPV6 is external so routing becomes an issue.
Many thanks,
David