Hi all,

What is the best way to find a file or directory within a backup? The problem 
is that I know the sub-path, but not some of the parent paths. I also do not 
know which host the backup got created on...

Example:

/var/lib/origin/openshift.local.volumes/pods/5eded17a-73f8-11ea-b0e7-001a4a160109/volumes/kubernetes.io~glusterfs/pvc-02bd67a0-0493-11e9-8c1a-001a4a160120/volume/mydata

I know everything that is belowpvc-XXX/volume/mydata, but I do not 
know5eded17a-73f8-11ea-b0e7-001a4a160109.

There are hundreds to a couple thousand directories directly underpods/, and 
that is the case for every host.

How would you guys go about this?

I started by doing

/usr/local/BackupPC/bin/BackupPC_ls -R -h myhost -n 497 -s / /var/lib/origin/openshift.local.volumes/pods | grep "pvc-02bd67a0-0493-11e9-8c1a-001a4a160120"

but that seems like an inefficient approach...

Thanks!



_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to