Re: Restore backuppc installation (localhost) from existing backuppc backups

"G.W. Haywood" <[email protected]> Mon, 3 Aug 2026 13:58:01 +0100 (BST)
Newsgroups gmane.comp.sysutils.backup.backuppc.general
Message-ID <[email protected]>
Hi there,

On Mon, 3 Aug 2026, backuppc@sundquist... wrote:

> 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.

If you look carefully at the usage instructions from BackupPC_ls you
should see that you missed out an important part - the specification
of the directory, directories or file(s) that you want it to list.

So for example you could simply add ' /' to your command, changing

.../BackupPC_ls -h localhost -n 0 -s /etc

to

.../BackupPC_ls -h localhost -n 0 -s /etc /

HTH

-- 

73,
Ged.


_______________________________________________
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/