Re: restore from vtapes written by amvault

Nathan Stratton Treadway <[email protected]>
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <[email protected]>
On Sun, Oct 18, 2020 at 14:56:04 +0200, Bernhard Erdmann wrote:
> I ended up patching the logfiles written by amvault, e.g. for
> 
> $ fgrep 20020908 ../tapelist
> 20020908 BE-full-43 reuse
> $ amvault --dest-storage vtape be-full \* \* 20020908
> 
> I get log.20201018130312.0 afterwards. Then I do
> 
> $ cp -p log.20201018130312.0 ../log_backup
> $ perl -p -i -e 's/ 20020908000000 / 20020908 /g' log.20201018130312.0
> 
> and then amvaulted dump images written to vtapes can be located by
> amadmin find:

Great, thanks for posting this final wrap-up message.

So, when you ran your perl patching on the log files, were there any
lines other than the "DONE taper" lines that got changed?  

(That info will help confirm the proper fix for the original problem in
the vaulting code...)


						Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.