tir, 13,.09.2005 kl. 22.38 -0700, skrev Craig Barratt: > Carl Wilhelm Soderstrom writes: > > > I'm running out of disk space on my backup server, and it's run out of space > > on a couple of occasions. when it does this, some hosts 'forget' all their > > old > > backups -- those backups no longer appear in the pc/<hostname>/backups file. > > > > I know the backups.old file has a copy of the last known-good backups file; > > but what happens if that one is bad as well? (Machine runs out of space, > > space is freed, a running backup is shut down, a bad backup file is written > > and clobbers the old backups.old file). > > > > I think this has been discussed on the list in the past; but can someone > > remind me how to rebuild a backups file based on the actual directories > > present? > > > > This is something that probably should be added to the docs. > > I need to write a script that does this for you. It could > also be done manually. > > Some information (eg: number of files backed up, total size) > takes more work to recreate since it requires the backed-up > tree to be traversed. But that information is only used for > stats/display, so it is not critical. > > Some information (eg: full vs incr) probably needs to extracted > from the per-PC LOG file. > > Some information (eg: existing count and size of files in pool) is > not easy to reconstruct, but again it only used for stats/display. > > Anyhow, this is something I should work on. Do you need a solution > quickly?
I just blew a fuse trying to start up too many computers at once, and the battery on my UPS obviously isn't what it used to be anymore, so my server died. It might seem like it was doing some backup, because the backups file for three of my machines were empty. backups.old as well. So my question is, was this script ever written? I see that this is over a year ago now. If not, how can I easiest recover? To make things more complicated, a backup started of one computer before I found out that the backup files had been truncated. I had one backup 0 from sometime last summer that now was overwritten. It doesn't really matter that the old backup is lost, except that I have about 25 backups for that machine, and 0 is the newest one. Should I just delete the 0 directory before I recreate the backups file? (When I know how to :P) And sorry for bringing this old thread back to life. Best regards, Stian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/