On Wednesday 19 November 2008, Gene Heskett wrote: >On Wednesday 19 November 2008, Thomas Wegner wrote: >>Hi Gene! >> >>> Unforch, what I need is an amfind utility. I need to find all the >>> spamassassin & perl stuffs that made spamassassin work before, I'm >>> drowning in spam here. >> >>Take a look at "amadmin info" and "amadmin find". I think that are the >>tools you are looking for. More at >>http://wiki.zmanda.com/index.php/Restoring_files > >I actually found enough rpms to get it installed. Unforch, selinux is now >disabling spamd's access to that users .user_prefs file, so while I've > gotten rid of the "MISSED" message, it isn't actually working as planned > yet. > >Would my backups contain the correct perms and selinux contexts to restore >this? > >I have a msg posted to the selinux list, but so far no replies there. > >Thanks Thomas.
And I am now trying to use amrecover to extract the whole .spamassassin directory in /home/gene. But: amrecover> add .spamassassin Added dir /gene/.spamassassin/ at date 2008-11-16-01-25-05 amrecover> extract Extracting files using tape drive chg-disk on host coyote. The following tapes are needed: Dailys-17 Restoring files into directory /home/gene Continue [?/Y/n]? Extracting files using tape drive chg-disk on host coyote. Load tape Dailys-17 now Continue [?/Y/n/s/d]? Volume labeled 'Dailys-17' not found. Load tape Dailys-17 now Continue [?/Y/n/d]? I have even manually edited the /amandatapes/Dailys/data simlink to point at slot17. So something in my install still isn't 'kosher'. This is a vtape setup here. Full trace: [EMAIL PROTECTED] gene]# amrecover Daily AMRECOVER Version 2.6.1alpha-20081114. Contacting server on coyote.coyote.den ... 220 coyote AMANDA index server (2.6.1alpha-20081114) ready. Setting restore date to today (2008-11-19) 200 Working date set to 2008-11-19. 200 Config set to Daily. 501 Host coyote.coyote.den is not in your disklist. Trying host coyote.coyote.den ... 501 Host coyote.coyote.den is not in your disklist. Trying host coyote ... 200 Dump host set to coyote. Use the setdisk command to choose dump disk to recover amrecover> setdisk /home/gene/.spamassassin 501 Disk coyote:/home/gene/.spamassassin is not in your disklist. amrecover> setdisk /home 200 Disk set to /home. amrecover> ls 2008-11-16-01-25-05 shop/ 2008-11-16-01-25-05 shop-gene/ 2008-11-16-01-25-05 roadrunner/ 2008-11-16-01-25-05 postgresql/ 2008-11-16-01-25-05 lost+found/ 2008-11-16-01-25-05 gene/ 2008-11-16-01-25-05 gene.old/ 2008-11-16-01-25-05 elmer/ 2008-11-16-01-25-05 dd-wrt/ 2008-11-16-01-25-05 clamav/ 2008-11-16-01-25-05 amanda/ 2008-11-16-01-25-05 Sparky5555/ 2008-11-16-01-25-05 .windows-label 2008-11-16-01-25-05 . amrecover> lcd /home/gene/.spamassassin amrecover> cd gene/.spamassassin /home/gene/.spamassassin amrecover> lpwd /home/gene/.spamassassin amrecover> pwd /home/gene/.spamassassin amrecover> ls 2008-11-16-01-25-05 v310.pre 2008-11-16-01-25-05 user_prefs 2008-11-16-01-25-05 init.pre 2008-11-16-01-25-05 bayes_toks 2008-11-16-01-25-05 bayes_seen 2008-11-16-01-25-05 bayes_journal 2008-11-16-01-25-05 bayes.mutex 2008-11-16-01-25-05 auto-whitelist.mutex 2008-11-16-01-25-05 auto-whitelist 2008-11-16-01-25-05 . amrecover> cd .. /home/gene amrecover> lcd .. amrecover> ls [...] amrecover> add .spamassassin Added dir /gene/.spamassassin/ at date 2008-11-16-01-25-05 amrecover> extract Extracting files using tape drive chg-disk on host coyote. The following tapes are needed: Dailys-17 Restoring files into directory /home/gene Continue [?/Y/n]? Extracting files using tape drive chg-disk on host coyote. Load tape Dailys-17 now Continue [?/Y/n/s/d]? Volume labeled 'Dailys-17' not found. Load tape Dailys-17 now Continue [?/Y/n/d]? The level0 file is there, I just checked. Probably something CRS related, but what? Thanks. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Be frank and explicit with your lawyer ... it is his business to confuse the issue afterwards.
