Copying whole changed files - rsync?
We have a Wiki server that we need to backup - and that means copying the files to a windows server for writing to DVDs.
At the moment I have a cron script that uses smbmount to connect to the Windows server, and then uses rsync to update the copy of info on the Windows server.
At the moment this means that the DVDs contain the whole Wiki each time.
What I'd really like is to have the files that have changed each day in (dated?) folders - as whole files. Backing these up would reduce the write to DVD and match the rest of our backup strategy...
Can this be done with rsync?
Why thank you.
Having dug around a bit more there are a couple of specific issues with my set up on this
1) Can I use the -a flag over an smb mount? My gut says not...
2) I seem to have a problem in my current code:
After running the command I get a folder called test on /mnt/backup and a dated folder on /mnt/backup - both containing exactly the same files - even if the files in ~/test/ haven't changed.
Is this because I'm not using the --delete option?
|All times are GMT -5. The time now is 10:14 PM.|