Hi, Adam Goryachev wrote on 2009-08-13 15:42:26 +1000 [Re: [BackupPC-users] 100,000+ errors in last nights backup]: > [...] > I've frequently managed to cause two backuppc_dump's to run in parallel > where one was scheduled by backuppc and one was run manually by me from > the command line. It would be nice if backuppc_dump could do a simple > check to see if the new directory already exists, and if so, simple exit > (or error and exit).
while a check would be possible, it's not quite as simple as that. What happens when the machine crashes during running backups? The new/ directory won't disappear by itself (well, BackupPC could move all new/ directories to trash on startup, but, according to your logic, you might just be running BackupPC_dump manually ...). File locking? Put up a big sign "don't run BackupPC_dump manually unless you know what you are doing"? ;-) > Mainly I run backups manually so I can see exactly what is happening > during the backup and where/why it is failing or taking so long. Maybe there should/could be a way to serverMesg BackupPC to do a backup for a specific host with a -v switch and verbose logging directed to a specific file (i.e. make BackupPC_dump -v take a file name argument and pass that over via the BackupPC daemon). Please remind me in about two weeks ;-). Regards, Holger ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/