Find the answer to your Linux question:
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.
  1. #1
    Just Joined! measekite's Avatar
    Join Date
    Mar 2009
    Posts
    52

    Question 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.?

  2. #2
    Linux Newbie
    Join Date
    Jan 2008
    Location
    Canada
    Posts
    109

    Hi

    Quote Originally Posted by measekite View Post
    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.?
    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...

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,167
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •