Re: Re: Hard disk backup doubts
Hello again, i have just reciompiled amanda using a patch to force the use of bzip2 instead of gzip, i have recreated the tapes, deleted all the logs and database files. I put the no-reuse option on all the tapes using amadmin, but now all the backups are refused because amanda expects a new tape, did i miss something to reset ?? amcheck-server: slot 4: date Xlabel usb0tape4 (active tape) amcheck-server: slot 5: date Xlabel usb0tape5 (active tape) amcheck-server: slot 6: date Xlabel usb0tape6 (active tape) amcheck-server: slot 7: date Xlabel usb0tape7 (active tape) amcheck-server: slot 8: date Xlabel usb0tape8 (active tape) amcheck-server: slot 9: date Xlabel usb0tape9 (active tape) amcheck-server: slot 10: date Xlabel usb0tape10 (active tape) amcheck-server: slot 1: date Xlabel usb0tape1 (active tape) amcheck-server: slot 2: date Xlabel usb0tape2 (active tape) amcheck-server: slot 3: date Xlabel usb0tape3 (active tape) ERROR: new tape not found in rack (expecting a new tape) Best regards El mié, 02-06-2004 a las 18:48, Jon LaBadie escribió: On Wed, Jun 02, 2004 at 05:57:02PM +0200, Javier Sanchez wrote: Ok with the reconpilation, but how this will affect the planner calcs about the storage space needed ? Should i modify the planner ?? gzip or bzip2 or compress or whatever. everything is a guess/approximation by amanda until it has a history of past compressions.
Re: Hard disk backup doubts
Javier Sanchez wrote: I put the no-reuse option on all the tapes using amadmin, but now all the backups are refused because amanda expects a new tape, did i miss something to reset ?? 'no-reuse' is exaclty what amanda will do with the tapes: she will refuse to write on them. Amanda needs (v)tapes to backup. They must all have a different label. You need at least [tapecycle] number of tapes in the cycle (note the word cycle implies reuse). If you marked some tapes as no-reuse, then you must add new tapes (with new labels, not the same as you already have labelled), until you have [tapecycle] number of reuseable tapes again. -- 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: Hard disk backup doubts
So let see if i understood all correctly .-) I created 10 vtapes on a usb disk, as soon as the tapes gets full i must put the tape in no-reuse and add another tape to the tapelist ?? How can i force amanda not to use another tape if theres free space on the actual tape ?? Cheers And again thanks for your help .-) El jue, 03-06-2004 a las 11:23, Paul Bijnens escribió: Javier Sanchez wrote: I put the no-reuse option on all the tapes using amadmin, but now all the backups are refused because amanda expects a new tape, did i miss something to reset ?? 'no-reuse' is exaclty what amanda will do with the tapes: she will refuse to write on them. Amanda needs (v)tapes to backup. They must all have a different label. You need at least [tapecycle] number of tapes in the cycle (note the word cycle implies reuse). If you marked some tapes as no-reuse, then you must add new tapes (with new labels, not the same as you already have labelled), until you have [tapecycle] number of reuseable tapes again.
Re: Hard disk backup doubts
Javier Sanchez wrote: I created 10 vtapes on a usb disk, as soon as the tapes gets full i must put the tape in no-reuse and add another tape to the tapelist ?? ...as soon as the tapes are WRITTEN TO... The number of reusable tapes needs to be = tapecycle parameter. As long as this condition holds, you don't need to add tapes. More explicit: the tapecycle parameter instructs to amanda the minimum number of tapes to cycle through; you may have more tapes in the cycle than the tapecycle parameter indicates. How can i force amanda not to use another tape if theres free space on the actual tape ?? The initial design of Amanda was intended for real tapes. Appending to real tapes is a dangerous operation, and was _by design_ left out. And it's difficult to add in. But I don't see where that could be a problem for you? You can put as many vtapes on a usbdrive as you want? Just create the directory holding a new vtape, or did I miss something? I forgot the initial reason why you needed no-reuse. (This smells like a complicated setup for an easy problem.) -- 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 * ***
Hard disk backup doubts
Hello all, i have just succesfully configured an amanda server to store the backups on a local har disk, backup and restore are working but now im facing a new doutb. I have defined 7 tapes on a external usb hard-disk, when the disk is removed how should i instruct amanda not to remove the database ? I mean, before removing the disk should i modify the tapes status in any way ? how? And on the new disk i must create another 7 tapes, and label them using correlative numbers ?? These are the actual tapes on the hard-disk, so should i start using daily08 on the next harddisk ? slot 7: date 20040602 label daily07 slot 1: date 20040602 label daily01 slot 2: date 20040602 label daily02 slot 3: date 20040602 label daily03 slot 4: date 20040602 label daily04 slot 5: date Xlabel daily05 slot 6: date Xlabel daily06 Thanks for your help Best regards
Re: Hard disk backup doubts
On Wed, Jun 02, 2004 at 01:08:51PM +0200, Javier Sanchez wrote: Hello all, i have just succesfully configured an amanda server to store the backups on a local har disk, backup and restore are working but now im facing a new doutb. I have defined 7 tapes on a external usb hard-disk, when the disk is removed how should i instruct amanda not to remove the database ? I mean, before removing the disk should i modify the tapes status in any way ? how? amandad with the no-reuse argument is, I believe, the proper choice to tell amanda to no longer use a tape but retain the database. And on the new disk i must create another 7 tapes, and label them using correlative numbers ?? Yes you must create and label new tapes if you want amanda to retain old log/index info. Otherwise amanda thinks it is reusing an old tape and is free to overwrite the logs and indicies. Any correlation in the names and numbers is yours alone. Amanda doesn't care. It just takes, and later expects, them in the order given. (Assuming they match the label string) -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: Hard disk backup doubts
Hello again, thanks for the informatio,n i have allready marked all the tapes to be no-reuse with the amadmin command. Now i have a different doubt .-), how can i tell amanda to compress the files with bzip2 ?? I saw how once on a web but cant find it now, any ideas ? Cheers El mié, 02-06-2004 a las 14:31, Jon LaBadie escribió: On Wed, Jun 02, 2004 at 01:08:51PM +0200, Javier Sanchez wrote: Hello all, i have just succesfully configured an amanda server to store the backups on a local har disk, backup and restore are working but now im facing a new doutb. I have defined 7 tapes on a external usb hard-disk, when the disk is removed how should i instruct amanda not to remove the database ? I mean, before removing the disk should i modify the tapes status in any way ? how? amandad with the no-reuse argument is, I believe, the proper choice to tell amanda to no longer use a tape but retain the database. And on the new disk i must create another 7 tapes, and label them using correlative numbers ?? Yes you must create and label new tapes if you want amanda to retain old log/index info. Otherwise amanda thinks it is reusing an old tape and is free to overwrite the logs and indicies. Any correlation in the names and numbers is yours alone. Amanda doesn't care. It just takes, and later expects, them in the order given. (Assuming they match the label string)
Re: Hard disk backup doubts
On Wed, Jun 02, 2004 at 03:51:10PM +0200, Javier Sanchez wrote: ... Now i have a different doubt .-), how can i tell amanda to compress the files with bzip2 ?? I saw how once on a web but cant find it now, any ideas ? Confirm that the options are the same as gzip (?check logs in /tmp/amanda?) and reconfigure/recompile with configure options pointing to the bzip2 executable rather than gzip. Or, reconfigure/recompile with options to point to a shell script that you write replacing gzip for amanda only. This script can redo the gzip options into bzip2 options. This is called a shell wrapper. Make sure it work things work in recovery as well as dumping. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: Re: Hard disk backup doubts
Ok with the reconpilation, but how this will affect the planner calcs about the storage space needed ? Should i modify the planner ?? Cheers El mié, 02-06-2004 a las 17:39, Jon LaBadie escribió: On Wed, Jun 02, 2004 at 03:51:10PM +0200, Javier Sanchez wrote: ... Now i have a different doubt .-), how can i tell amanda to compress the files with bzip2 ?? I saw how once on a web but cant find it now, any ideas ? Confirm that the options are the same as gzip (?check logs in /tmp/amanda?) and reconfigure/recompile with configure options pointing to the bzip2 executable rather than gzip. Or, reconfigure/recompile with options to point to a shell script that you write replacing gzip for amanda only. This script can redo the gzip options into bzip2 options. This is called a shell wrapper. Make sure it work things work in recovery as well as dumping.
Re: Re: Hard disk backup doubts
On Wed, Jun 02, 2004 at 05:57:02PM +0200, Javier Sanchez wrote: Ok with the reconpilation, but how this will affect the planner calcs about the storage space needed ? Should i modify the planner ?? gzip or bzip2 or compress or whatever. everything is a guess/approximation by amanda until it has a history of past compressions. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: Hard disk backup doubts
On Wednesday 02 June 2004 09:51, Javier Sanchez wrote: Hello again, thanks for the informatio,n i have allready marked all the tapes to be no-reuse with the amadmin command. Now i have a different doubt .-), how can i tell amanda to compress the files with bzip2 ?? I saw how once on a web but cant find it now, any ideas ? Cheers In my experience here, I've found that bzip2, while reasonably fast and does better compression compared to gzip, but it will sneeze once in a while and whole blocks of data have been known to come up on the missing list, silently. I'd guess this is a less than 1% of the time occurance though. Like unpacking a kernel src tree from a .bz2 version of it. There has been more than once I've had to nuke such a tree, and unpack it again to get a good one, and there have been times I've had to go download it again before I got a good, every character there, unpack. Gzip has never failed, not ever as long as the turbines are turning at the power plant. El mié, 02-06-2004 a las 14:31, Jon LaBadie escribió: On Wed, Jun 02, 2004 at 01:08:51PM +0200, Javier Sanchez wrote: Hello all, i have just succesfully configured an amanda server to store the backups on a local har disk, backup and restore are working but now im facing a new doutb. I have defined 7 tapes on a external usb hard-disk, when the disk is removed how should i instruct amanda not to remove the database ? I mean, before removing the disk should i modify the tapes status in any way ? how? amandad with the no-reuse argument is, I believe, the proper choice to tell amanda to no longer use a tape but retain the database. And on the new disk i must create another 7 tapes, and label them using correlative numbers ?? Yes you must create and label new tapes if you want amanda to retain old log/index info. Otherwise amanda thinks it is reusing an old tape and is free to overwrite the logs and indicies. Any correlation in the names and numbers is yours alone. Amanda doesn't care. It just takes, and later expects, them in the order given. (Assuming they match the label string) -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) 99.23% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
Hard Disk Backup
How do I configure Amanda to backup to a partition on the same hard drive? Or where can i find out how to do that? Thanks -james