I am trying to use rsync to move backup file from a cople of Oracle servers to another machine where they will be backed up to tape. The command is run from a script launched by cron and looks like: /usr/local/bin/rsync --recursive --delete --verbose $BACKUP_DIR/* \ euphrates::tigris/logarch/. Rsync is running from inetd on euphrates which has the following defined in /etc/rsyncd.conf: [tigris] uid = rsync path = /t/tigris comment = tigris oracle backup read only = false hosts allow = tigris, tigris.totalflood.com Both machines are running Solaris 8 and rsync 2.4.6. The problem is the --delete is not working. After the transfer is complete, I can do an 'ls' on the two directories and the files not on the source machine are still on the destination. Needles to say this is filling up the target disk very quickly. I searched the archives and couldn't find any similar problem. Hard to beleive I am the first to encounter it. -- --Stephen Carville heronforge.net/~stephen/gnupgkey.txt =============================================================Government is like burning witches: After years of burning young women failed to solve any of society's problems, the solution was to burn more young women. ==============================================================
On 08/08/2001 Stephen Carville wrote>I am trying to use rsync to move backup file from a cople of Oracle >servers to another machine where they will be backed up to tape.<snip>>The problem is the --delete is not working. After the transfer is >complete, I can do an 'ls' on the two directories and the files not on >the source machine are still on the destination. Needles to say this >is filling up the target disk very quickly.<snip> I am fairly new to rsync but have found writing to rsync in daemon mode to be unreliable. I changed to rsync over ssh (at the suggestion of someone on this list) and all my problems instantly disappeared. Well perhaps not all my problems, but the rsync related ones did. regards Steven