David Koski writes:

> I made some changes to config.pl to reduce the number of backups:
> 
> $Conf{FullKeepCnt} = [2,0,0,2,0,0,2];
> 
> ..whereas before I had [2,2,2,2,2,2,2];
> 
> Now I need to recover files from a year ago and they are actually still there 
> but do not show up in the GUI. The GUI only goes back to 7/29 but for some 
> reason the files still exist on the backuppc server. When I try to execute:
> 
> /usr/share/backuppc/bin/BackupPC_tarCreate -t -n 126 -h 
> tiikeri /home/users/dkoski/src
> 
> (all on one line) I get the error "bad backup number 126 for host tiikeri". 
> How do I restore the files?

Sorry about the delay in replying.

What version of BackuppC are you running?  There was a bug
related to this fixed in 2.1.2.

If you look in the per-client log files do you see messages about
removing of the backups?  Does it match what is currently in the
backups file?

In 3.0.0 there is a script to recreate a missing or damaged
backups file.  It relies on some additional information saved
in 3.0.0.  However, it also has a mode (using the -l option)
that allows it to do the best it can to recover pre-3.0.0
backups too.

So, if you are running something prior to 2.1.2 then this
is a known bug (fixed since 2.1.2), and I recommend upgrading
to 3.0.0 and running:

    su backuppc
    BackupPC_fixupBackupSummary -l HOST

Craig

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to