strawdog74
Dabbler
- Joined
- May 23, 2012
- Messages
- 42
I am trying to backup /mnt/hdd2 to another freenas installation using the built in rsync modules, performing a "pull" from the backup machine.
The trouble is that when I try to backup the jail folder, it is recursively backing up ALL the data mapped to storage in /jail/freebsd/mnt of the jail. This is causing these files to be backed up twice (the mapping points to links on the same volume)
I am using the following "include-from=Files.txt" :-
I've tried adding "- /jail/freebsd/mnt" but that didn't work. Do I need to add a wildcard to the end of it or something? Also, does anyone have a good reference for help on rsync include-from/exclude-from processing?
edit-words
The trouble is that when I try to backup the jail folder, it is recursively backing up ALL the data mapped to storage in /jail/freebsd/mnt of the jail. This is causing these files to be backed up twice (the mapping points to links on the same volume)
I am using the following "include-from=Files.txt" :-
Code:
+ apps + apps/** + documents + documents/** + jail + jail/** - *
I've tried adding "- /jail/freebsd/mnt" but that didn't work. Do I need to add a wildcard to the end of it or something? Also, does anyone have a good reference for help on rsync include-from/exclude-from processing?
edit-words