On 14/7/2025 07:45, Dave Bachmann wrote:
It's obvious that I didn't fully understand how to use BackupPC_ls and had moved on to try other techniques. I had expected that one or the other would have eventually led to having a GUI interface that no longer said Error: Directory XXXXX is empty, but instead listed the files available to be restored. Now that it seems that I'll be working at the command line exclusively, I'm in the process of trying to understand the usage and options of BackupPC_restore and BackupPC_zcat and expect that I'll have further questions coming.

I appreciate your patience with one who, in this case at least, knows what he doesn't know - even if he uses a word that he first learned in boot camp many years ago to describe his ignorance.

This might be silly of me, but in V3 you should be able to just access the files from the CLI under the "pc" directory....

For me, that is /var/lib/backuppc/pc/hostname/backup-num/f%2f/fetc/....


The path/filename is slightly munged, but you should be able to work it out, special chars/spaces etc will be "escaped" so "f%2f" is actually "/" and "fetc" is "etc".

When you find the right file, use BackupPC_zcat to get the original content.


Hope that helps, or I've missed something really obvious.....


Dave
------------------------------------------------------------------------
*From:* G.W. Haywood <bac...@jubileegroup.co.uk>
*Sent:* Sunday, July 13, 2025 06:15
*To:* backuppc-users@lists.sourceforge.net <backuppc-users@lists.sourceforge.net>
*Subject:* Re: [BackupPC-users] Problem accessing v3 backups
Hello again,

On Sun, 13 Jul 2025, Dave Bachmann wrote:

> I'm not sure that I understand how I would know which digests are associated with a file that I was searching for. This, for example, is a typical result: >    $ ./BackupPC_zcat /srv/backuppc/cpool/aa/aa/abaa09668efeb993980a19a1f83e52ad
>    VSS
>        Detector.so????????   ???>%???=??{~??$

> I assume that this is one chunk of a file named Detector.so, but ...

I was always told that 'assume' makes an 'ass' out of 'u' and 'me'. :)

No, it isn't one chunk.  It's the content of the whole file (and its
name very likely isn't 'Detector.so').

> clearly not the way to find and recreate all of the chunks of that file.

No need for anything like that.  The files are not stored in chunks,
they're stored whole, but usually (hopefully) in a compressed form as
you've seen.

> To repeat, what I *think* I need to do is to recreate the pool from
> the cpool as the first step in order to be able to find a file
> named, for example, "/home/common/data/tunes/A/Allman
> Brothers/Allman Brothers Band/Dreams.mp3" on a specific host. Is
> there a BackupPC_? script/function/setting/whatever to do that?

Well if you put it like that ... to repeat:

8<----------------------------------------------------------------------
On Thu, 10 Jul 2025, G.W. Haywood wrote:
> On Thu, 10 Jul 2025, Dave Bachmann wrote:
>
>> I am trying to see if I can recover a file that may have been
>> deleted years ago and *may* be on a very old backup disk. ...
>> ...
>
> Have you tried using the 'BackupPC_ls' script?
8<----------------------------------------------------------------------

You could do worse than read the V4 documentation, particularly the
part which begins "Here is a more detailed discussion:". :)

> Much thanx for your continued help!

You're very welcome.  In these exchanges I often learn as much as - if
not more than - the person I'm helping.

--

73,
Ged.


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users <https://lists.sourceforge.net/lists/listinfo/backuppc-users> Wiki: https://github.com/backuppc/backuppc/wiki <https://github.com/backuppc/backuppc/wiki> Project: https://backuppc.github.io/backuppc/ <https://backuppc.github.io/backuppc/>


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
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