Displaying 1 result from an estimated 1 matches for "ptrgoz".
Did you mean:
paroz
2010 May 24
1
--delete and --files-from
...can work with -files-from?
Here's the code:
DIR="/mnt/backup/machine/oracle"
FILES=".test_files.files"
RDEST="10.0.150.52::machine-backup"
find $DIR/lvl1 -maxdepth 1 -type f -mmin +30| /usr/bin/awk -F/ '{print $8"/"$9}' > /tmp/$FILES;
rsync -ptrgoz --stats --delete --files-from=/tmp/$FILES $DIR/ $RDEST/
As I mentioned above I have tried all combinations of $DIR/ $DIR $RDEST/ $RDEST
The rsyncd.conf on the other end:
[machine-backup]
path = /mnt/backup/machine
read only = false
transfer logging = yes
uid = 0
Here too I tried the trailing sl...