Results 1 to 3 of 3
It appears that rsync when used with cron does NOT backup most open files. It appears that save Open Office spreadsheets are not backup up when Open Office is open ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-25-2009 #1
rsync and open files
It appears that rsync when used with cron does NOT backup most open files. It appears that save Open Office spreadsheets are not backup up when Open Office is open with the file dispaying.
Does anybody know for sure what if any open files Grsync/Rsync Cron initiated open files will get backed up and what will not.?
- 08-26-2009 #2Linux Newbie
- Join Date
- Jan 2008
- Location
- Canada
- Posts
- 109
Hi
rsync is dependant on the OS to determine whether it can handle open files or write in process files. As root rsync will handle most files but running as root has its issues. Cron has no affect on the issue. Most Win OSes just will not allow access to open files, even for reading.
You might run script to close all files as a user before rsync-ing them to overcome this issue if you need to run a cron. Cheers...
- 08-27-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,152
Backup software should not touch open files. The fact that rsync respects this caveate is a good thing, given how Linux (and Unix) cache disc writes. Users that tend to keep files open for extended periods (beyond their hours of work), should be "educated" to not do that, since they are in danger of losing their work if the system or disc were to fail. This is also a good reason why backups should be done during "off hours".
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote

