From: Dirk <di...@wo...> - 2007-03-29 03:50:16
|
Hello Holger any news about this issue? Thank you, Dirk Dirk wrote: > Hi Holger, > > thank you very much for your reply. > > Holger Parplies wrote: > >> Hi, >> >> Dirk wrote on 18.02.2007 at 09:33:51 [[BackupPC-users] Get a file list via command line?]: >> >>> how can I get a list of backed up files via the command line? >>> > ... > >> indeed. If you're happy with an unfilled view (i.e. you only need to see the >> changed files in the backup (or all files in case of a full backup or filled >> incremental)), try something like >> >> % cd /var/lib/backuppc/pc/hostname/backupnum >> % find . -type f -name f\* -print | perl -I /usr/share/backuppc/lib \ >> -MBackupPC::Lib -pe 'BEGIN { $bpc = new BackupPC::Lib; } >> $_ = $bpc -> fileNameUnmangle ($_);' >> >> (change the two paths to match your setup). >> > > This actually works for my current purpose (I would like to send daily > eMails containing the changes in a filesystem - so one notices unwanted, > accidental changes.) Thank you. > > >> This also does not show file attributes (but you didn't say you wanted >> them). For a filled view including attributes it's probably a bit more >> complicated. If you need that and can wait a few days, I'd be willing to >> hack something together. >> > > That would be great! > I think it is always useful to have some kind of > > lsbackuppc -h HOST -n DUMPNUM -s SHARE PATH... > > > Dirk > > > >> Regards, >> Holger >> |