OK managed to test a small restore using mt+dd Still need to explore more... figure out implication of part_size in this situation
----------------- Issuing this: amadmin MY CONFIG find I see Warning: no log files found for tape MYTAPE written 2015-11-27 17:00:13 I can see the logs in /amanda/state/log/oldlog These are set in my config infofile "/amanda/state/curinfo" # database DIRECTORY logdir "/amanda/state/log" # log directory indexdir "/amanda/state/index" # index directory Not quite sure why they've ended up in old log? Presumably this is expected? Can I rectify this situation so I can test amfetchdump (by copying logs into /amanda/state/log/)? David -------------------- David Simpson - Computing Support Officer IBME - Institute of Biomedical Engineering Old Road Campus Research Building Oxford, OX3 7DQ Tel: 01865 617697 ext: 17697 From: David Simpson Sent: 30 November 2015 11:03 To: Amanda Users <[email protected]> Subject: restoring (various scenarios) and backing up amanda config So what I decided to do was kick the archiving off. With separate configs and on a per-host basis - a disklist for each host/config. Allocating enough tape but no more (by looking a numbers generated from du). I came up with a low number for runtapes and tapecycle. This is a full level 0 too. I've done the first host on two tapes. I then removed the tapes, flicked the tab to write-protect ON and set no-reuse within Amanda. I will need to test more restore situations... I'm confident about AMRECOVER... but I want to test the everything has gone up in smoke (inc Amanda server) situation further. I've got LEOM off, but I am using a part_size of 200GB with a changer/loader that amanda understands. *On the backup server I was thinking of taking a copy of /etc/amanda, /var/lib/amanda and /var/log/amanda (is this everything?) and putting it somewhere safe**. I was wondering if this could be sensibly scripted within cron? Could simply [on successfully dump] automatically tar and copy the config to another server? **I assume this could this be transplanted to a new backup server? (If I have the contents of all 3 of those directories). I.e. install new server with Centos, install Amanda RPM... copy those files into relevant dirs. -------------------- For AMRECOVER I need Amanda information present (Config+logs)... mentioned above -------------------- For AMFETCHDUMP Assuming above* is safe... It sounds like it will handle the part_size automatically... I would just specify the hostname+DLE and restore the full DLE somewhere on Amanda server then copy it (scp, rsync etc) to other server. -------------------- For AMRESTORE - man page suggests it cannot handle split dumps...! (or does it mean multi tape? ... can it assemble multi parts from 1 tape?)... bit confused about its capability -------------------- For non-Amanda OS Tools only I've managed to test with a small part ok... I need to test assembling parts -------------------- Thanks David -------------------- David Simpson - Computing Support Officer IBME - Institute of Biomedical Engineering Old Road Campus Research Building Oxford, OX3 7DQ Tel: 01865 617697 ext: 17697
