[ Ajay Sharma wrote: ]
> tar: ./WINNT/system32/drivers/NDIS.SYS: file changed as we read it
> 
> All I need is one of the above errors and then my backup will die with
> this at the end:
> 
> ERROR from backup, exiting
> offending command(s):
> cd "/mnt/server3_c" && sudo find . -regex
> "\./\(WINNT/system32/config\|WINNT/Profiles\)/.*" -prune -o ! -type s !
> -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | sudo tar --create
> --null --files-from=- --ignore-failed-read --same-permissions
> --no-recursion --totals --label "level 0 /mnt/server3_c Sun Aug 17
> 03:00:38 2003 tar+gzip from mrburns.amntv.com" --verbose --sparse --file
> - | gzip -4 | buffer -m 20m -p 75 -t -o
> "/backup/flex/data/mnt-server3_c.0.200308170300.tar.gz"
> 
> The problem is that if there are more systems that need backin' up then
> it doesn't happen.  Flexbackup just stops.  How can I tell it to ignore
> these errors?

Well, files changing in the middle of archiving them is not good for a
reliable backup.

Adding the "--ignore-failed-read" for tar alleviated some cases that were
not really a problem, but not file contents changing during a read.

It would be possible to make an ignore errors switch, but I am not inclined
to do so. Just ignoring errors from one filesystem and then moving on to
the next isn't necessarily good.  In your case it was on the filesystem
end, but if it was a problem with the destination device you _don't_ want
to blindly just try and do yet another filesystem and possibly hose up the
tape or whatever.

Possible suggestions:

  - Backup files that aren't changing if you can

  - Exclude files that might are obvious problems that you don't need
    (swap files on the NT systems come to mind)

  - Split it up so that you archive each filesystem with a separate
    flexbackup command run sequentially.  If one dies out like above, the
    rest can still run. Since you're archiving to disk you should be ok.

  - Try a different archiver type - some aren't as stringent as tar


-- 
 Edwin Huffstutler 
 [EMAIL PROTECTED]   GnuPG Key ID: AE782DC9


-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
flexbackup-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to