Archiving with amanda revisited
Hi all, Thanks for an excellent software. I was searching the forum and found a question regarding archiving. As I'm using vtapes this would be a great feature to have, being able to collect the 0 images and save them on tape and continue to use the tool kit, amrecover etc. What is the status on this useful feature ? http://archives.zmanda.com/amanda-archives/viewtopic.php?t=3866highligh t=archiving Gunnar Gunnarsson
Re: Archiving with amanda
On 2007-11-06 17:04, Mario Silva wrote: Hi all: Hope everyone is ok. I got a question and hope you can help me. Currently I am using virtual tapes and after a period of time I would like to send those backups to a LTO Library Tape Unit to take away to a vault our backups. Is it possible? if yes, how can I send to the library tape the backups that I have in virtual tapes? And I have several configurations. The stupid way is make an Amanda backup of the vtapes directories. This works, and you data is indeed safe on the tape for offsite storage but restoring from those images is a two way process: first restore the needed vtapes to disk again, together with the index-files, log files (yes!!!), so that you use amrecover on those restored vtapes. Then recover from these vtapes. And while doing this, you have to make sure that you do not overwrite or erase any vtape/index/log from the current situation. Not for the noobs! There is work being done (but don't hold your breath on it) to allow copies of images, together with the needed information like indexes and so on, from one config to another config. That would allow to collect e.g. the level 0 images from a set of vtapes, and put those on tape, while doing the bookkeeping, like indexes, log files etc in the other config (without doing the backup again). While that feature is not yet implemented, currently the best way to do both: - daily to vtapes for fast and easy recovery, - weekly/montlyto tape for offsite storage (only level 0) Implement it in two separate configurations. I run a daily config to vtapes from mon-fri, and an archive config that I run on saterday only to real LTO tapes. That run starts saterday early morning at 00:05 and ends somewhere in the afternoon. It does only level 0 dumps. It has these special parameters: dumpcycle 0 # this forces level 0 always And the global dumptype, from which all the other dumptypes inherit their settings, has specially set: record no # do not interfere with the daily's skip-incr yes # emphasize we only want full dumps strategy noinc # do not even run estimates for incr. level (The last one, makes the estimates finish much faster, as amanda will not generate a plan B degraded mode with incrementals, and does not need to know the size of them.) -- Paul Bijnens, xplanation Technology ServicesTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, * * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... Are you sure? ... YES ... Phew ... I'm out * ***
Archiving with amanda
Hi all: Hope everyone is ok. I got a question and hope you can help me. Currently I am using virtual tapes and after a period of time I would like to send those backups to a LTO Library Tape Unit to take away to a vault our backups. Is it possible? if yes, how can I send to the library tape the backups that I have in virtual tapes? And I have several configurations. mario -- Mario Silva Systems Administrator Supreme Court of New Mexico Judicial Information Division 2905 Rodeo Park Dr. East, Bldg. #5 Santa Fe, NM 87505 Phone: (505) 476-6959 / Mobil: (505) 660-1026 Fax:(505) 476-6952 Website: http://www.nmcourts.gov mailto: [EMAIL PROTECTED] LEGAL DISCLAIMER: The content of this data transmission is not considered as an offer, proposal, understanding, or agreement unless it is confirmed in a document signed by a legal representative of Supreme Court of the State of New Mexico or the Judicial Information Division. The content of this data transmission is confidential and it is intended to be delivered only to the addresses, therefore, it shall not be distributed and/or disclosed through any mean without the original sender's previous authorization. If you are not the addressee you are forbidden to use it, either totally or partially, for any purpose. AVISO LEGAL: El contenido de este mensaje de datos no se considera oferta, propuesta o acuerdo, sino hasta que sea confirmado en documento por escrito que contenga la firma autógrafa del apoderado legal de La Suprema Corte del Estado de Nuevo Mexico o de la Division de Informatica del Estado. El contenido de este mensaje de datos es confidencial y se entiende dirigido y para uso exclusivo del destinatario, por lo que no podrá distribuirse y/o difundirse por ningún medio sin la previa autorización del emisor original. Si usted no es el destinatario, se le prohíbe su utilización total o parcial para cualquier fin. begin:vcard fn:Mario Silva n:Silva;Mario org:Supreme Court of New Mexico;Judicial Information Division adr:;;2905 Rodeo Park Dr. East, Bldg. #5;Santa Fe;NM;87505;USA email;internet:[EMAIL PROTECTED] title:Systems Administrator tel;work:(505) 476-6959 tel;fax:(505) 476-6952 tel;cell:(505) 660-1026 x-mozilla-html:TRUE url:http://www.nmcourts.gov version:2.1 end:vcard
Re: Archiving With Amanda?
Hi, Steven, on Freitag, 28. Mai 2004 at 16:51 you wrote to amanda-users: SB I have some files I'd like to permanently remove from my system SB (archiving to tape). It would be nice to have them listed in SB amanda's index and have amanda keep track of them for me. Does SB anyone know a way to do this? Simple solution: Do a full backup of those files to a tape in your tapecycle. Mark it as no-reuse with amadmin conf no-reuse TAPE-LABEL You can browse it via amrecover, but AMANDA will not ask for that tape again for a dump. This is a common solution for doing things like monthly-archive-tapes or similar things. Better solution: Setup a config for archiving, with dumpcycle 0, record no, and put your files onto the tapes of this config. -- best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]
Archiving With Amanda?
I have some files I'd like to permanently remove from my system (archiving to tape). It would be nice to have them listed in amanda's index and have amanda keep track of them for me. Does anyone know a way to do this? Thanks, Steve
Re: Archiving With Amanda?
On Fri, 28 May 2004 at 8:51am, Steven Backus wrote I have some files I'd like to permanently remove from my system (archiving to tape). It would be nice to have them listed in amanda's index and have amanda keep track of them for me. Does anyone know a way to do this? Set up a new config called (e.g.) Archive. Set 'dumpcycle 0', tapecycle to something large, and, in your dumptypes, 'record no'. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: Archiving With Amanda?
steven create a new backup set called 'archive', as opposed to the one you have now. then run it whenever... -- Martin Hepworth Snr Systems Administrator Solid State Logic Tel: +44 (0)1865 842300 Steven Backus wrote: I have some files I'd like to permanently remove from my system (archiving to tape). It would be nice to have them listed in amanda's index and have amanda keep track of them for me. Does anyone know a way to do this? Thanks, Steve ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote confirms that this email message has been swept for the presence of computer viruses and is believed to be clean. **
Re: Archiving With Amanda?
Steven Backus wrote: I have some files I'd like to permanently remove from my system (archiving to tape). It would be nice to have them listed in amanda's index and have amanda keep track of them for me. Does anyone know a way to do this? Mark the tape as no-reuse. Then amanda will not recycle the tape, but still keep track of it. I suggest you add a special config for this, instead of the daily. Call it archive or such. Add record no, dumpcycle 0 and index yes to the dumptype, (and even skip-incr yes and strategy no-inc to speed up estimates). record no is important to avoid messing up the daily schedule. I suggest you use gnutar to backup; who knows what hardware you need to restore the files to in 5 years from now. Add the necessary entries to the disklist. Label a tape, e.g. ARCHIVE-, or even ARCH-20040528-BigProject. Run amdump archive. Run amverify archive. Run amadmin archive no-reuse ARCHIVE-. rm -rf BigProject It's nice to let amreport generate some Postscript labels to go with the tape too. -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... Are you sure? ... YES ... Phew ... I'm out * ***
Re: Archiving With Amanda
Wow guys that was fast and great, you guys rock. Thanks a lot. Steve
Re: Archiving With Amanda?
On Fri, May 28, 2004 at 08:51:49AM -0600, Steven Backus wrote: I have some files I'd like to permanently remove from my system (archiving to tape). One point in addition to what everyone else has said: it would be wise to make at least two copies of the archive tape(s). Media has a nasty habit of going bad over time. When I had to archive and delete some data, this describes how I made duplicates of the archive tapes: http://groups.yahoo.com/group/amanda-users/message/49373 (Simply amdumping twice would not make *identical* copies, since the first run would change the files' last-access timestamps, if nothing else.) -- | | /\ |-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / It must be said that they would have sounded better if the singer wouldn't throw his fellow band members to the ground and toss the drum kit around during songs. - Patrick Lenneau
Re: Archiving With Amanda?
On Fri, May 28, 2004 at 03:03:42PM -0400, Eric Siegerman wrote: (Simply amdumping twice would not make *identical* copies, since the first run would change the files' last-access timestamps, if nothing else.) Changing the last-access time of a file is only an issue for mechanisms that open the files in question. For example, tar opens (individual) files that it reads. On the other hand, {,ufs}dump does not: the thing it opens is a file system, so it does not change inode contents at all. That said, there exist other reasons the product of another backup process is unlikely to be an identical copy of the first. IIRC, someone posted a note about how he ran an amdump, and as chunks were written to the holding disk (well, before the chunks were taped unlinked), he made another link to each file, so after the first taping, the files in the holding disk were still there, and an amflush run created another tape with the same data. Peace, david -- David H. Wolfskill [EMAIL PROTECTED]