Rsync: Don't preserve group/owner
This commit is contained in:
parent
2da3ad9264
commit
9d88c482e6
|
@ -189,7 +189,9 @@ main() { # {{{
|
|||
### }}}
|
||||
### Synchronize first directory to second {{{
|
||||
#### OR exit with error code 12 if it fails
|
||||
rsync -a -- "${first_bkp_dir}/" "${second_bkp_dir}/" \
|
||||
#### rsync "-a" option might fail with some network share
|
||||
#### So, remove --group and --owner options
|
||||
rsync --recursive --links --perms --times -D -- "${first_bkp_dir}/" "${second_bkp_dir}/" \
|
||||
|| exit 12
|
||||
### }}}
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue