On Mon, 31 Mar 2003, Lucia Mazzoni wrote:
> Hi everyone, > I need a little help to tune a backup plan with Amanda. > In my company we were used, before Amanda, to have this plan for our > main servers (each one with a dedicated tape device): > - a full backup was made every day from monday to friday but > 1) from monday to thursday tapes were always the same, that is, every > week they were overwritten > 2) on friday we had 4 tapes to save a full-backup per week for one > month. After 4 weeks we selected the oldest tape, put it in a safe place > (against fire) and took a new one for the backup job. > We kept 1 tape per month for 6 months and then one every 3 or 6 months. > > Now I'd like to maintain the same plan with Amanda and my problem is > with Friday tapes that I want to "extract" and put away. > > I put a tapecycle of 4 tapes on Friday configuration but: > - How can I maintain the possibility of restore data from the extracted > tapes? Changing labels every time? Did i get the plan correctly - after a month the oldest Friday dump of one tape goest to archive and a new one replaces it? if this is the case, i think, that you could have the Friday's <name-regexp> set to acomodate a lot of numbers (e.g. Friday[0-9][0-9][0-9] for 10-years of archive - 120 tapes total, i.e. Friday001, Friday076, etc), so that amanda has enough name-space. after a month when the archved tape is selected, run command: amadmin <config> no-reuse <tapelabel> which tell's amanda not to reuse this tape anymore and to expect a fresh tape when this tape's turn comes (i hope that amanda labels the new tape on the fly, but i wouln'd be sure). This should keep the data located on the tape still indexed in database and therefore restorable via amrecover. another way is to just replace the old tape with new one by simply amlabeling new one with -f option. Note that this way you no longer can amrecover from this tape, but have to amrestore instead (this means that you have to extract whole image from the tape and restore it and only then you can pick the files you want). Laas Toom