On Thu, Jul 23, 2026, at 6:53 PM, G.W. Haywood wrote:
> 
>>> On Tue, May 5, 2026, at 12:09 PM, G.W. Haywood wrote:
>>> > > 'BackupPC_ls' lets you list the files in any directory from any backup
>> 
>> > Question: I have to pass three options to BackupPC-ls.  Hostname is
>> > easy.  I believe Sharename is easy since I use rsync and that is
>> > just the directory name, although actually, I don't know for sure
>> > what directory I specified.  Then there is backup number.  I have no
>> > idea how to get this.
>> > 
>> > I poked around some, but came up empty.  Any suggestions?
> 
> If you look in the BackupPC data directory hierarchy (the place where
> the pool is stored, very often somewhere like /var/lib/BackupPC/) you
> will find a directory .../pc/ that contains a directory for each host
> that you're backing up.  In each host directory there are directories
> whose names are entirely made up of digits.  Those are backup numbers.
> You can tell when they were made from the timestamps.  Each directory
> N should have a corresponding file XferLOG.N.z which is the BackupPC
> transfer log that was made while the backup was performed.
> 
> The backup numbers are also shown in the GUI interface:
> .../BackupPC_Admin?host=hostname
> 
> Does this answer the question or did I miss something?
> 
I have recreated my backups from scratch without referring to my old config.pl

I was never able to recover the old localhost /etc files.

I was able to identify the backup numbers based on your suggestions.  But got 
stuck on the sharename.

When I ran (as backuppc) 

/usr/share/backuppc/bin/BackupPC_ls -h localhost -n 0 -s /etc

It just gave me usage instructions.  I tried putting the sharename in single 
quotes, too but that didn't work.  I am sure that is the sharename for the 
default localhost backup, as that is what it is in my new installation (using 
tar).

So not critical since I have most things working, but I never like to leave 
myself stumped.

Thanks.
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to