Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 08-25-2009, 12:54 PM   #1
Registered: Aug 2007
Posts: 42

Rep: Reputation: 16
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.?
Old 08-26-2009, 02:43 AM   #2
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
AFAIK open files are not backed up, so you may want to stop the processes that are accessing your files. So create a simple script that stops the processes, runs rsync, and then starts the services.

I must add that I'm not 100% confident that open files are not backup up, or that there are flags you can pass to rsync to avoid this.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync solaris + rsync: fatal: open failed: xxx_anuj_xxx Solaris / OpenSolaris 25 02-23-2012 03:23 AM
[rsync] get the differences between the source files and the existing files djgerbavore Linux - Networking 2 06-04-2008 12:05 PM
PDF files not being backed up correctly by rsync. Viewers unable to open them. powerpleb Linux - General 4 06-02-2008 07:11 PM
prevent rsync from copying open files? bkeeper Linux - General 2 12-11-2006 04:16 AM
rsync ignore files Eazy-Snatch Linux - Networking 3 09-18-2006 06:45 AM

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration