Perhaps a better question would be how to prevent the offending file
from changing while it's being read by rsync. After all, a backup of a
large file that has changed mid-copy isn't really a backup, is it... :-)
 
If the source is a Linux machine there are tools such as LVM that will
allow you to build volume snapshots and then run the backup against the
snapshot
(http://www.linux.org/docs/ldp/howto/LVM-HOWTO/snapshots_backup.html
<http://www.linux.org/docs/ldp/howto/LVM-HOWTO/snapshots_backup.html> ).
If Windows XP or 2003 then there is a similar facility called 'Shadow
Copy Service' - there are some really good articles regarding it in Adi
Oltean's blog (http://blogs.msdn.com/adioltean/search.aspx?q=vss&p=1
<http://blogs.msdn.com/adioltean/search.aspx?q=vss&p=1> ). In
particular:
 
 http://blogs.msdn.com/adioltean/archive/2004/12/14/301868.aspx
<http://blogs.msdn.com/adioltean/archive/2004/12/14/301868.aspx>
(Creating shadow copies from the command line)
 http://blogs.msdn.com/adioltean/archive/2005/01/20/357836.aspx
<http://blogs.msdn.com/adioltean/archive/2005/01/20/357836.aspx>  (how
to assign a drive letter or directory to a shadow copy )
 
Hope that helps.
 
Kris Boutilier
Information Services Coordinator
Sunshine Coast Regional District


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen
Vaughan
        Sent: Wednesday, March 08, 2006 9:18 PM
        To: backuppc-users@lists.sourceforge.net
        Subject: [BackupPC-users] backing up files that change during
backup
        
        
        Is there anyway to get backuppc to continue to backup regardless
of errors? I had it backing up a 2gb db file, and during the transfer
the file was modified and backuppc recognised this and aborted the
backup.
        
        Remote[1]: send_files failed to open
misc/backups/netchant-db.blobdump: No such file or directory
        misc/backups/netchant-db.dump: md4 doesn't match: will retry in
phase 1; file removed
         {clip}     



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to