better to put a small token file in /srv so that it does not apear empty. echo "backuppc token file, please do not delete" > /srv/.backuppc_token
Martin Leben wrote: > Mauro Condarelli wrote: > >> Tony Schreiner ha scritto: >> >>> There is a config variable called BackupZeroFilesIsFatal. >>> If that is set to 1, and your share is empty files, the backup will fail. >>> >>> Set it to 0 or skip /srv. >>> Tony >>> >>> >> Thanks, >> That was it. >> Now it is crunching (on another share). >> >> Thanks again >> Mauro >> > > Hi Mauro, > > Setting BackupZeroFilesIsFatal to 0 might be dangerous. It is configurable > for a > reason. Think about what happens in the following scenario: > > - BackupZeroFilesIsFatal is set to 0. > - On "/srv" you have mounted a disk or something. > - Suddenly the mount disappears due to you "fat fingering" the configuration > (remember that human errors are the most common errors) or faulty hardware or > something else. > > Now when BackupPC comes along and wants to backup "/srv" it does that without > complaining, even though it contains no files. Depending on the schedule and > retention settings you might have lost your backup completely. Especially if > this continues for some days/weeks and you don't notice it. > > So the recommendation is to leave BackupZeroFilesIsFatal at 1. Don't add > "/srv" > to the backup until there is data on it. If the client machine has other > directories you are backing up and if "/srv" is a dynamic mount that > sometimes > isn't used, I would recommend that you create a separate host alias in which > you > backup only "/srv". > > BR > /Martin Leben > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > BackupPC-users mailing list > [email protected] > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
