forgetting the history of tapes
Hi, I'm busy testing amanda for its use in production in the future. For these tests, I often want to restart as if I was starting the dump cycle from zero. How can I achieve this? For example, even if I'm in the middle of a dumpcyle, I want to restart with my tape number 0 for a new test. Thanks for your help. Raph -- Free and Open Source Developers' European Meeting http://www.fosdem.org
Re: forgetting the history of tapes
On Sat, Feb 15, 2003 at 04:55:48PM +0100, [EMAIL PROTECTED] wrote: > Hi, > > I'm busy testing amanda for its use in production in the future. For > these tests, I often want to restart as if I was starting the dump cycle > from zero. How can I achieve this? For example, even if I'm in the > middle of a dumpcyle, I want to restart with my tape number 0 for a new > test. > I just saw this: http://amanda.sourceforge.net/fom-serve/cache/34.html However, if I delete the tapelist, How can I reinclude the tapes in the configuration? Do I have to relabel them? Raph -- Free and Open Source Developers' European Meeting http://www.fosdem.org
locating backup images
Hi again ;-) Reading the text of the amadmin man page and its corresponding example, does it mean that the backup of the 2000-11-06 is still on the holding disk disk (as the tape or file is a tape label:000107) but that the one of 2000-11-07 was already saved on tape? Aren't the backups put on that chronologically? Just to reassure you, I'm going to put a doc online describing all my discoveries so that other new users could look at it ;-) Thanks Raph >From the man page Locate backup images of /var from machine-c. The tape or file col umn displays either a tape label or a filename depending on whether the image is on tape or is still in the holding disk. If the image is on tape, the file column tells you which file on the tape has the image (file number zero is a tape label). This column shows zero and is not meaningful if the image is still in the holding disk. The status column tells you whether the backup was success ful or had some type of error. $ amadmin DailySet1 find machine-c /var datehost disk lv tape or filefile st 2000-11-09 machine-c /var 0 000110 9 OK 2000-11-08 machine-c /var 2 000109 2 OK 2000-11-07 machine-c /var 2 /amanda/20001107/machine-c._var.2 0 OK 2000-11-06 machine-c /var 2 000107 2 OK 2000-11-05 machine-c /var 2 000106 3 OK 2000-11-04 machine-c /var 2 000105 2 OK 2000-11-03 machine-c /var 2 000104 2 OK 2000-11-02 machine-c /var 2 000103 2 OK 2000-11-01 machine-c /var 1 000102 5 OK 2000-10-31 machine-c /var 1 000101 3 OK -- Free and Open Source Developers' European Meeting http://www.fosdem.org
same tape reused?
Hi, I'm testing further to try the bump to a higher level. >From my config: bumpsize 20 MB # minimum savings (threshold) to bump level 1 ->2 bumpdays 1 # minimum days at each level bumpmult 4 # threshold = bumpsize * (level-1)**bumpmult dumpcycle 3 days# the number of days in the normal dump cycle tapecycle 4 tapes # the number of tapes in rotation What I did for my dumps 1: file of 600 Mb 2: Added a file of 12 Mb 3: added a file of 600 Mb 4: added a file of 600 Mb And here is the amadmin output: ~$ amadmin DailySet1 find localhost Scanning /data/backup... date host disk lv tape or file file status 2003-02-17 localhost /data/amanda-test/ 0 HISS3 1 OK 2003-02-17 localhost /data/amanda-test/ 1 HISS0 1 OK 2003-02-17 localhost /data/amanda-test/ 1 HISS1 1 OK 2003-02-17 localhost /data/amanda-test/ 2 HISS2 1 OK 2003-02-17 localhost /data/amanda-test/ 3 HISS3 1 OK The levels of the backups are ok, following the configuration. What I don't understand is that on the tape HISS3, I had the level three backup erase the level 0. Shouldn't that have been prevented? Can I still recover all files (since the level 0 backup isn't available anymore)? Or could this be due to the fact that I erased files to restart from zero? (cf a previous mail ;-) Thanks for your help. Raph -- Free and Open Source Developers' European Meeting http://www.fosdem.org
Re: Disabled hw compression
On Mon, Feb 17, 2003 at 05:51:16PM -0500, Joshua Baker-LePain wrote: > On Mon, 17 Feb 2003 at 11:27pm, [EMAIL PROTECTED] wrote > > > I am using an Exabyte Eliant 820 tape drive on Linux kernel 2.4.18 and > > would like to make sure the hardware compression is disabled. Does anyone > > know how I can check that ? > > For that drive, compression is controlled via density. 0x15 is > uncompressed. > Isn't there a generic way of configuring it, like /dev/nst0 is the non-rewinding device, isn't there a non compressing device? (I have the same question actually about being sure a Dell tape is in non compressing config, but I don't have the complete model details at hand) Raph -- Free and Open Source Developers' European Meeting http://www.fosdem.org
Re: same tape reused?
On Tue, Feb 18, 2003 at 08:15:05AM +0100, Dietmar Goldbeck wrote: > On Mon, Feb 17, 2003 at 08:04:49PM +0100, [EMAIL PROTECTED] wrote: > > > ~$ amadmin DailySet1 find localhost > > Scanning /data/backup... > > > > date host disk lv tape or file file status > > 2003-02-17 localhost /data/amanda-test/ 0 HISS3 1 OK > > 2003-02-17 localhost /data/amanda-test/ 1 HISS0 1 OK > > 2003-02-17 localhost /data/amanda-test/ 1 HISS1 1 OK > > 2003-02-17 localhost /data/amanda-test/ 2 HISS2 1 OK > > 2003-02-17 localhost /data/amanda-test/ 3 HISS3 1 OK > > > > > > The levels of the backups are ok, following the configuration. > > What I don't understand is that on the tape HISS3, I had the level three > > backup erase the level 0. > > > > Shouldn't that have been prevented? Can I still recover all files (since > > the level 0 backup isn't available anymore)? > > Or could this be due to the fact that I erased files to restart from > > zero? (cf a previous mail ;-) > > Can you give details on your test configuration? Amanda doesn't > protect against a too small dumpcycle and only appends warnings to the > report mail. This is a bug, it should scream out loud and not warn. > > You amadmin output looks to me like a tapecycle 4 configuration. This > configuration is not usable for several backups a day like you did for > testing. I have indeed a tapecycle 4 configuration Is there a way to make sevral backup a day but still have the same behaviour as if those backups were made one per day? (without playing wit the date of the computer) I took a look at the mail I received, but it didn't mention anything wrong. See below for the whole mail. Thanks for the help. Raph These dumps were to tape HISS3. The next tape Amanda expects to use is: HISS0. STATISTICS: Total Full Daily Estimate Time (hrs:min)0:00 Run Time (hrs:min) 0:05 Dump Time (hrs:min)0:05 0:00 0:05 Output Size (meg) 654.50.0 654.5 Original Size (meg) 658.60.0 658.6 Avg Compressed Size (%)99.4--99.4 (level:#disks ...) Filesystems Dumped1 0 1 (3:1) Avg Dump Rate (k/s) 2278.4-- 2278.4 Tape Time (hrs:min)0:05 0:00 0:05 Tape Size (meg) 654.50.0 654.5 Tape Used (%) 4.00.04.0 (level:#disks ...) Filesystems Taped 1 0 1 (3:1) Avg Tp Write Rate (k/s) 2276.2-- 2276.2 ^L NOTES: planner: Incremental of localhost:/data/amanda-test/ bumped to level 3. taper: tape HISS3 kb 670208 fm 1 [OK] DUMP SUMMARY: DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - localhost-anda-test/ 3 674390 670176 99.4 4:542278.4 4:542276.2 (brought to you by Amanda version 2.4.2p2) -- Free and Open Source Developers' European Meeting http://www.fosdem.org
Re: Disabled hw compression
On Tue, Feb 18, 2003 at 11:00:26AM -0600, Russell Adams wrote: > My bad, I was having an OpenVMS moment. :P > > Its really... > > mt -f /dev/st0 compression off I don't have this either; I only have (from the manpage) a datcompression that take 1(show) , 0 (disables) or nothing (enables) as argument. mt -f /dev/st0 datcompression 0 has worked as wanted (tapeinfo is showing the change). Raph -- Free and Open Source Developers' European Meeting http://www.fosdem.org
holding disk need
Hi again :-) My tape is on the same server that I want to back-up. Maybe this is not optimal, but I can't change it... Due to this, I want to use a little holding disk, or even not use any (I read that if the file to backup is bigger than the holding disk, it is directly put on tape) so I can use as much disk space for the application running on it. Is this ok? (can it even be done?) Also, I saw two syntaxes: holdingdisk and diskdir + disksize. On a debian stable, the manpage only mentions holdingdisk, but the amanda.conf only has diskdir. I didn't find any clear explanation about this... Thanks! Raph -- Free and Open Source Developers' European Meeting http://www.fosdem.org
Re: What is a "backup level" ?
On Thu, Feb 20, 2003 at 11:52:18AM +0100, Gilles Bourcy wrote: > Hello > > First of all, thanks to Joshua Baker-LePain for his answer. It helped me > well; now > Amanda is correctly configured, and runs properly. > > My problem now is that I don't fully understand the notion of "backup > level". And it seems > important to correctly understand it for amrecover, or more simply for a > general understanding > of how Amanda works. > > Can you help me ? >From what I understand, a level i backup is an incremental backup in comparison the the last level i-1 backup. Level 0 = full backup Level 1 = differences from last level 0 backup Level 2 = differences from last level 1 backup etc, etc. I guess someone will correct me if I did understand it wrong :-) Raph -- Free and Open Source Developers' European Meeting http://www.fosdem.org
my notes are online
Hi, I learnt to use amanda some weeks ago, and sent some questions to this ML. I promised I would put my notes online. Here it is: http://www.raphinou.com/amanda The layout isn't great, not sure it is appropriate, but at least it's available :-) Comments are welcome. I'll update it as I discover more things about Amanda. Big thanks to those who helped me by answering questions on this ML! (I dared to apply some cut and paste ;-) Raph -- Free and Open Source Developers' European Meeting http://www.fosdem.org
Re: my notes are online
On Thu, Feb 27, 2003 at 02:21:18PM -0700, Seth, Wayne (Contractor) wrote: > Raph, > > I tried the web site you mention below. I couldn't connect. Am I doing > something wrong? > strange. I see in my logs other access To what IP does it resolve? Raph > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 1:35 PM > To: [EMAIL PROTECTED] > Subject: my notes are online > > > Hi, > > I learnt to use amanda some weeks ago, and sent some questions to this > ML. I promised I would put my notes online. Here it is: > http://www.raphinou.com/amanda > > The layout isn't great, not sure it is appropriate, but at least it's > available :-) > > Comments are welcome. I'll update it as I discover more things about > Amanda. Big thanks to those who helped me by answering questions on this > ML! (I dared to apply some cut and paste ;-) > > Raph > > -- > Free and Open Source Developers' European Meeting >http://www.fosdem.org > > > -- Free and Open Source Developers' European Meeting http://www.fosdem.org