Current time: 05-20-2024, 05:12 AM Hello There, Guest! (LoginRegister)


Post Reply 
/bin/tar: .: file changed as we read it
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: /bin/tar: .: file changed as we read it
Hi

the problem is: if (mostly big) files are changes just in the moment they are being treated by tar then tar ends with status '1' (at least on my debian etch).
this leads to abort of the whole backups script.
-> the abort also happens if you run tar manually - in your case mybe you have to stop the webserver (or the process that changes the file...)

the .lock file just makes sure that there are not 2 backups script running at the same moment - and also makes sure: if an error happened then you have to fix this and then delete the .lock file manually....

/J
01-12-2008 09:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: /bin/tar: .: file changed as we read it - joximu - 01-12-2008 09:42 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)