When trying to use the the BackupPC_ls utility in trying to
provide some feed back for Ged I've discovered it is not
working for me. Here is what I've found so far.
..
I'm not getting a listing when invoking the command as the
backuppc user:
bash-5.1$ /usr/share/BackupPC/bin/BackupPC_ls -R -hlt14 -n80
-shome jbk/
jbk:
Here is that same directory listing using ls:
bash-5.1$ ls -la /var/lib/BackupPC/pc/lt14/80/f%2fhome/fjbk/
total 164
drwxr--r-- 41 backuppc backuppc 4096 Nov 16 06:21 .
drwxr--r-- 3 backuppc backuppc 4096 Nov 16 06:21 ..
-rw-r----- 1 backuppc backuppc 0 Nov 16 06:21
attrib_e583567186e1525d9b1d89c27136b832
drwxr--r-- 3 backuppc backuppc 4096 Oct 22 19:00 fbin
drwxr--r-- 4 backuppc backuppc 4096 Oct 22 19:00 f.blender
drwxr--r-- 8 backuppc backuppc 4096 Oct 22 19:00 f.claws-mail
drwxr--r-- 43 backuppc backuppc 4096 Nov 16 06:21 f.config
drwxr--r-- 3 backuppc backuppc 4096 Oct 22 19:00 fDayJournal
drwxr--r-- 3 backuppc backuppc 4096 Oct 22 19:00 f.dbus
drwxr--r-- 2 backuppc backuppc 4096 Oct 22 19:00 fDesktop
drwxr--r-- 3 backuppc backuppc 4096 Oct 22 19:00 f.dillo
drwxr--r-- 4 backuppc backuppc 4096 Oct 22 19:00 fDocuments
..........
except for the attrib file there are just directories
listed. If I browse the backup with the CGI I see all the
files that are backed up.
After a little bit more testing I can summarize the
BackupPC_ls behavior as follows.
It will complain if I enter a wrong host or backup # but not
if I enter a bogus sharename and directory. I can't leave
those fields blank as I'll get a usage error. If I enter a
"*" for a directory name it will give a listing of the
current working directory, "/etc/BackupPC/".
What should happen is that files should appear listed in a
format similar to ls -l with the addition of a md5 digest
for each non directory file item.
The backkuppc server is running on Rocky 9.8 and RHEL clone.
The BackupPC components are:
BackupPC-XS-0.62-11.el9.x86_64
BackupPC-4.4.0-9.el9.x86_64
rsync-bpc-3.1.3.0-6.el9.x86_64
Any insight would be appreciated.
Oh, and there are no issues with the backups themselves, as
I do random restores w/o owner/permission issues since 2008.
--
Jim KR
_______________________________________________
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/