Regular Expressions and disklist
I want to know if it is possible in a disk list to specify multiple directories on one line using regular expressions like so ./NL-SFS3-02[4-7] so NL-SFS3-024 NL-SFS3-025 NL-SFS3-026 NL-SFS3-027 Craig Hancock
Include and Exclude list
Is it possible to setup in include list like so ./NL-SFS3-02[4-9] ./NL-SFS3-03[0-2] And only include these directories meaning if they aren't any fo these directories don'ttry to back them up. Craig Hancock
time limit and holding disk
I want to know if it is possible to have a time limit set during a backup meaning. scenerio Backup starts at 11:00 pm and stop at 6:00 am If the bacup wasn't complete then resume then next day at 11:00 pm. If this is not possible how can I set have it dump to holding disk and stay in the holding disk and I will dump to tape when it is convient. Craig Hancock -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Re: RAIT and chg-manual
On Tue, Dec 03, 2002 at 06:21:30PM -0600, Marc W. Mengel wrote: Thanks I think I got most of it working but I am having these issues. 1) When I do an amcheck I get this error amcheck-server: could not get changer info: 1 1 2)When I do an amtape config I get these errors changer: got exit: 1 str: 19 1 1 amtape: could not get changer info: 1 1 amtape: could not get changer info: 1 1 When chg-rait communicated with chg-zd-mtx does understand if it you have a barcode reader does it know how to intepret that. This is my config #amanda.conf section runtapes 1 tpchanger "chg-rait" tapedev "rait:{tape:/dev/nst0,tape:/dev/nst1,null:}" #rawtapedev "/dev/null" changerfile "/home/amanda-devel/etc/amanda/bric2/changer" #changerdev "/dev/sg2" tapetype AIT-3x2 define tapetype AIT-3x2 { comment "Sony AIT-3 Tape 100/200GB RAIT drive" length 159440 mbyteS filemark 17229 kbytes speed 3268 kps #changer file nchangers=3 tpchanger_1="chg-zd-mtx" changerdev_1="/dev/sg2" changerfile_1="/home/amanda-devel/etc/amanda/bric2/CHANGER" tapedev_1="/dev/nst0" tpchanger_2="chg-zd-mtx" changerdev_2="/dev/sg2" changerfile_2="/home/amanda-devel/etc/amanda/bric2/CHANGER" tapedev_2="/dev/nst1" tpchanger_3="/home/amanda-devel/libexec/chg-null" changerdev_3="/dev/null" changerfile_3="/dev/null" tapedev_3="/dev/null" #CHANGER.conf firstslot=18 lastslot=38 autoclean=0 havereader=1 offline_before_unload=0 driveslot=0 poll_drive_ready=3 max_drive_wait=120 cleanslot=-1 #CHANGER2.conf firstslot=18 lastslot=38 autoclean=0 havereader=1 offline_before_unload=0 driveslot=1 poll_drive_ready=3 max_drive_wait=120 cleanslot=-1 Please let me know if I am missing anything > In the CVS repository I've added a draft of a chg-rait changer, > in which you list N other changers, and it runs each of them > and combines the devices into a rait:{...} device set. You might > want to pull that out and give it a try; configure two > chg-zd-mtx configs (one for drive 0 and some range of slots, > the other for drive 1 and another range of slots) and list those > two configs in a file for chg-rait. > > Marc > > -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Re: Fwd: RAIT and chg-manual
I don't want to mirror I want to stripe and the are on the same scsi chain as the library. Craig Hancock On Mon, Dec 02, 2002 at 02:54:57PM -0500, Jean-Louis Martineau wrote: > > There has been alot of discussion lately on how to use > > RAIT. I have attempted to setup rait on my site and I haven't had > > much success. > > > > I have and AIT-3 Overland library system that can hold 38 tapes. > > My setup is like this I split the library system in have the first 18 > > slots and its drive belong to a certain number of hosts. The other > > half is meant for one host ane one host alone. > > > > The first have uses one tape device and the chg-zd-mtx tape > > changer and that works well. When I tried to configure RAIT > > with chg-manual I am getting prompted to insert tapes that are > > already in the library. > > Good, chg-manual do exactly what it should, ask the operator > to manually change the tape. > > I don't understand your config? > > You want a mirror with /dev/nst0 and /dev/nst1? > Do they belong to the library?, how? > > Jean-Louis > -- > Jean-Louis Martineau email: [EMAIL PROTECTED] > Departement IRO, Universite de Montreal > C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529 > Montreal, Canada, H3C 3J7Fax: (514) 343-5834 -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Fwd: RAIT and chg-manual
Hello all I sent this awhile back and I am sure there is someone out there who can answer it. Craig Hancock If you can't Ido understand I thought I might try again. - Forwarded message from "Craig Hancock [EMAIL PROTECTED]" <[EMAIL PROTECTED]> - Delivered-To: [EMAIL PROTECTED] Date: Thu, 28 Nov 2002 14:42:59 -0600 From: "Craig Hancock [EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RAIT and chg-manual User-Agent: Mutt/1.4i Precedence: bulk There has been alot of discussion lately on how to use RAIT. I have attempted to setup rait on my site and I haven't had much success. I have and AIT-3 Overland library system that can hold 38 tapes. My setup is like this I split the library system in have the first 18 slots and its drive belong to a certain number of hosts. The other half is meant for one host ane one host alone. The first have uses one tape device and the chg-zd-mtx tape changer and that works well. When I tried to configure RAIT with chg-manual I am getting prompted to insert tapes that are already in the library. Here is an example bash-2.04$ ~/sbin/amcheck-2.4.3b3 bric2 Amanda Tape Server Host Check - WARNING: holding disk /home/holding: only 768305316 KB free (933160960 KB requested) amcheck-server: slot 22: rewinding tape: No such file or directory insert tape into slot 23 and press return In the changerdebugfile this is what it shows. T -> /home/amanda/sbin/ammt-2.4.3b3 -f DD -> /home/amanda/sbin/amdd-2.4.3b3 Args -> -info -> rewind rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rewind failed: Success -> status rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE -> loaded Exit -> 22 99 1 MT -> /home/amanda/sbin/ammt-2.4.3b3 -f DD -> /home/amanda/sbin/amdd-2.4.3b3 Args -> -slot current -> rewind rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rewind failed: Success -> status rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE -> loaded Exit -> 22 rait:{tape:/dev/nst0,tape:/dev/nst1,null:} MT -> /home/amanda/sbin/ammt-2.4.3b3 -f DD -> /home/amanda/sbin/amdd-2.4.3b3 Args -> -slot next -> rewind rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rewind failed: Success -> status rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE -> loaded > $logfile 2>&1 which I did. I still keep getting prompted for a tape. Here is the relevant lines of my amanda.conf file org "bric2" mailto "[EMAIL PROTECTED]" dumpuser "amanda" inparallel 4 netusage 600 Kbps dumpcycle 4 weeks runspercycle 4 weeks tapecycle 18 tapes bumpsize 20 Mb bumpdays 1 bumpmult 4 runtapes 1 tpchanger "chg-manual" tapedev "rait:{tape:/dev/nst0,tape:/dev/nst1,null:}" #rawtapedev "/dev/null" #changerfile "/home/amanda/etc/amanda/bric2/changerfile" #changerdev "/dev/sg2" holdingdisk hd1 { comment "main holding disk" directory "/home/holding" use 911290 Mb define tapetype AIT-3x2 { comment "Sony AIT-3 Tape 100/200GB RAIT drive" length 159440 mbyteS filemark 17229 kbytes speed 3268 kps My last question in rait the way that I have it setup when I label tapes are they looked at as one tape or 2 seperate tapes. Craig Hancock } -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE- - End forwarded message - -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
RAIT and chg-manual
There has been alot of discussion lately on how to use RAIT. I have attempted to setup rait on my site and I haven't had much success. I have and AIT-3 Overland library system that can hold 38 tapes. My setup is like this I split the library system in have the first 18 slots and its drive belong to a certain number of hosts. The other half is meant for one host ane one host alone. The first have uses one tape device and the chg-zd-mtx tape changer and that works well. When I tried to configure RAIT with chg-manual I am getting prompted to insert tapes that are already in the library. Here is an example bash-2.04$ ~/sbin/amcheck-2.4.3b3 bric2 Amanda Tape Server Host Check - WARNING: holding disk /home/holding: only 768305316 KB free (933160960 KB requested) amcheck-server: slot 22: rewinding tape: No such file or directory insert tape into slot 23 and press return In the changerdebugfile this is what it shows. T -> /home/amanda/sbin/ammt-2.4.3b3 -f DD -> /home/amanda/sbin/amdd-2.4.3b3 Args -> -info -> rewind rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rewind failed: Success -> status rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE -> loaded Exit -> 22 99 1 MT -> /home/amanda/sbin/ammt-2.4.3b3 -f DD -> /home/amanda/sbin/amdd-2.4.3b3 Args -> -slot current -> rewind rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rewind failed: Success -> status rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE -> loaded Exit -> 22 rait:{tape:/dev/nst0,tape:/dev/nst1,null:} MT -> /home/amanda/sbin/ammt-2.4.3b3 -f DD -> /home/amanda/sbin/amdd-2.4.3b3 Args -> -slot next -> rewind rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rewind failed: Success -> status rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE -> loaded > $logfile 2>&1 which I did. I still keep getting prompted for a tape. Here is the relevant lines of my amanda.conf file org "bric2" mailto "[EMAIL PROTECTED]" dumpuser "amanda" inparallel 4 netusage 600 Kbps dumpcycle 4 weeks runspercycle 4 weeks tapecycle 18 tapes bumpsize 20 Mb bumpdays 1 bumpmult 4 runtapes 1 tpchanger "chg-manual" tapedev "rait:{tape:/dev/nst0,tape:/dev/nst1,null:}" #rawtapedev "/dev/null" #changerfile "/home/amanda/etc/amanda/bric2/changerfile" #changerdev "/dev/sg2" holdingdisk hd1 { comment "main holding disk" directory "/home/holding" use 911290 Mb define tapetype AIT-3x2 { comment "Sony AIT-3 Tape 100/200GB RAIT drive" length 159440 mbyteS filemark 17229 kbytes speed 3268 kps My last question in rait the way that I have it setup when I label tapes are they looked at as one tape or 2 seperate tapes. Craig Hancock } -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Re: New tape nonsense
DING DING DING I do understand now. I've got some planning to do. Craig Hancock On Thu, Oct 10, 2002 at 01:22:02AM -0400, Jon LaBadie wrote: > On Wed, Oct 09, 2002 at 10:41:05PM -0500, Craig Hancock [EMAIL PROTECTED] >wrote: > > John please forgive my assumptions. But I still don't understand. > > If tapecycles are defined by number of tapes. How is possible to double > > runspercycle if its meaurement is in weeks. > > dumpcycle takes a unit (days, weeks, ...) > tapecycle is a unitless number > runspercycle is a unitless number > > If your dumpcycle is 4 weeks, meaning 4 weeks maximum between level 0's, > then runspercycle is the number of amdump runs you schedule during those > 4 weeks. > > If you are doing 6 dumps per week, with a dumpcycle of 4 weeks, > your runspercycle is 24. At 5 per week it would be 20. At > two backups each day it would be 56. > > The number of tapes in circulation (tapecycle) is recommended to be > 2 or more times the runspercycle. It MUST be at least equal to runspercycle. > Those that live dangerously make it runspercycle plus 1. More conservative > administrators, and those that like to have older backups still around for > a while chose much larger multipliers. My own tapecycle is 4x runspercycle. > So I have 4 dumpcycles "on the shelf". > -- > Jon H. LaBadie [EMAIL PROTECTED] > JG Computing > 4455 Province Line Road(609) 252-0159 > Princeton, NJ 08540-4322 (609) 683-7220 (fax) -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Re: New tape nonsense
John please forgive my assumptions. But I still don't understand. If tapecycles are defined by number of tapes. How is possible to double runspercycle if its meaurement is in weeks. *Relizes that he will get slammed for this but still confused* Craig Hancock > In another posting you asked about why it is recommended that tapecycle > be at least 2x runspercycle. The problem is the possible overwriting > of your only level 0 dump of a file system, or a bad dump of your only > level 0. Considering a minimal situation, only 1 tape, doing full backups > each night. Since todays dump overwrites your only dump, if a problem > occurs, you have zero, zilch, nada backups on tape. The same thing could > happen if your dumpcycle >= tapecycle. Your only level 0's could be > overwritten with a bad dump and you would have nothing. Incrementals > are not useful without the level 0 they are increments from. > > -- > Jon H. LaBadie [EMAIL PROTECTED] > JG Computing > 4455 Province Line Road(609) 252-0159 > Princeton, NJ 08540-4322 (609) 683-7220 (fax) -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Re: New tape nonsense
> > I am at a total lose as to where you are in understanding tape usage. > Let me try a few statements and see where they lead you. > > A single tape will never hold more than one amdump run at a time. > (I'm ignoring amflush situations for now) > > A single amdump run if larger than a single tape can be placed on > multiple tapes if the runtapes parameter is > 1. > > Once it tries to use a tape, amanda will not attempt to reuse that > tape until it uses tapecycle minus 1 more tapes, i.e. will not reuse > a tape until it has gone through an entire tapecycle of tapes. > > When a tape is reused, it is completely overwritten, from the beginning > of the tape, destroying whatever was on the tape. If I understand this correctly once a tape goes through an entire tape cycle it will be overwritten. So say a tape with 100G capacity has 60 gigs on it. If my tapecycle was at 4 weeks then when the tape in question is loaded after 4 weeks does amanda start at the point were the tape is meaning the last track it left off on or is the taped rewind. SO (and this is just an observation) after the dumpcycle is done the best practice would be to offload your tapes offsite. Craig Hancock -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Re: New tape nonsense
> > "dumpcycle 4 weeks" > > This is a very long time for amanda to go thru the system making > sure she has one full backup of everything in your disklist. Most > run this at 1 week, or 7 days, although a business user may want > that to be a bit shorter just so there is less to play catchup with > in the event you are forced to recover from the last full backup. > A weeks worth of business transactions to have to repeat is > drudgery that sexytaries have been known to quit over. Well I put 4 weeks because it was preposed that we do a full backup once a month. The amount of data that I am dealing is 2.1TB If I understand you creectly if I shorten it to something like 1 week then it will be eaiser forme to do a restore. Were there other benefits as well to shortning this options? > > "runspercycle 4 weeks" > > If amanda takes the weeks arguement as it takes it in terms of > dumpcycle, this is a total of 28 runs in one of your very elongated > dumpcycles, intimating that it will be run every nite. Nothing > wrong with the every night run, most of us do it. Most situations > would seem to want something in the line of 7 and 7 for the above > pair of variables. You may have to stretch it out to make it fit > on the tapes, but given amanda's ability to try to equalize the > amount of data taped each night once she gets into the rythm of > things, you probably could take the size of the data after > compression, divide that by runspercycle, and by adjusting > runspercycle and dumpcycle so it uses about 3/4ths of a tape per > run. If I choose 7 then your right I am going to have to strech it out but I am not sure how to do this. With the size of data that I am dealing with this will seem terribly complicated. I take if I go this way then I am going to have to play with the bumpsize. > > "tapecycle 25 tapes" > > Here you have insufficient tapes for the elongated dumpcycle chosen > as it would take a minimum of 28 tapes to satisfy the runspercycle > above. Amanda therefore has no tape she can use for the next > backup unless you label at least 3 new tapes and increment the > tapecycle to match. I am curious why you say 28 instead of 25. I think you added three because of the option I have runtapes. Also another question what exactly do you mean by increment the tape cycle. > > 25 tapes is normally enough, but I'd shorten both the dumpcycle and > runspercycle until it both fits on the tape, and you have at least > 2 full dumpcycles worth of full backups on hand at any one time. I > haven't run into this, so I have no idea if amanda will reuse the > oldest tape if you do nothing more than reduce the dumpcycle and > runspercycle to match the tapecycle. Its worth a try just for > effects. :-) Could you be a little more specific as to the benefit of this :) > > Not having any idea of how much data you have to cover, what I would > do is to reduce the dumpcycle and runspercycle in unison, first to > 14 days each, and let amanda play catchup with that for one > dumpcycle or maybe two. Watching the tape usage report amanda > mails you, then reduce it one or 2 each cycle until she is using > about 3/4ths of a tape every night. With only a 46 gig drive here, > part of which is an rsync'd mirror of my gateway machine, I'm only > averageing about 50% usage per nightly run on DDS2 tapes. At 4g > rated capacity, its about 2gigs that actualy gets written to tape > after compression. And its all covered at least once a week. I am dealing will a little bit over 2.1tb of data. What do you mean play catch up with that for one dumpcycle or maybe two. Forgive me lack of sleep but the Sentence starting with Watching the tape usage is confusing. Your scenerio states you have a 46gig drive and that your full backups is about 2gigs in capcity is that accurate. Can you possibly give me a scenrio of my case. -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Re: New tape nonsense
> "tapes in my library are not full" is not a useful thing to say about > amanda; amanda over-writes each tape, *never* appends. > This message was from a previous message sent by Jay. I understand that amanda doesn't do appends of backups. However I wasn't aware that a complete backup get overwritten. The reason I ask this is because I thought that during backup you have a brand new tape. If your first full backup excceds the capcity of the tape amanda will report the area and amanda will rewind the tape to the begining of the tape. So say if you have a tape with a few backups on it if the next backup exceeds the capcity of the tape then is the statement above saying that once preexisting backup reaches the end of the tape then will amanda rewind the tape and write over the old backups? If this is the case how can this be changed Craig Hancock -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Re: New tape nonsense
> Possibility: tapecycle > 20 Well my tapelist is set to 25, but I thought this option was suppose to be how many tapes amanda may go through during a backup > > Possibility: tapelist is clobbered. If it was clobbered would I still be able to read the file(I wasn't trying to be smartass with this remark) :) > > Possiblity: your tpchanger/changerfile can't find all 20 tapes. I thought that might be a possibility but I can't seem to find any error to indicate can you suggest what to look for > > Possiblity: some of your tapes aren't amlabel'ed properly When I do an amlabel scan it shows all tapes that I have configured are there other methods > > "tapes in my library are not full" is not a useful thing to say about > amanda; amanda over-writes each tape, *never* appends. > > Copy of your amanda.conf, tapelist, and amcheck output would be useful. I am sending these files as attachments > > -- > Jay Lessert [EMAIL PROTECTED] > Accelerant Networks Inc. (voice)1.503.439.3461 > Beaverton OR, USA(fax)1.503.466.9472 -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE- # # amanda.conf - sample Amanda configuration file. This started off life as # the actual config file in use at CS.UMD.EDU. # # If your configuration is called, say, "csd", then this file normally goes # in /etc/amanda/csd/amanda.conf. # org "bric" # your organization name for reports mailto "[EMAIL PROTECTED]" # space separated list of operators at your site dumpuser "amanda" # the user to run dumps under inparallel 3# maximum dumpers that will run in parallel netusage 600 Kbps # maximum net bandwidth for Amanda, in KB per sec dumpcycle 4 weeks # the number of days in the normal dump cycle runspercycle 4 weeks# the number of amdump runs in dumpcycle days tapecycle 25 tapes # the number of tapes in rotation # 4 weeks (dumpcycle) times 5 tapes per week (just # the weekdays) plus a few to handle errors that # need amflush and so we do not overwrite the full # backups performed at the beginning of the previous # cycle ### ### ### # WARNING: don't use `inf' for tapecycle, it's broken! ### ### ### bumpsize 20 Mb # minimum savings (threshold) to bump level 1 -> 2 bumpdays 1 # minimum days at each level bumpmult 4 # threshold = bumpsize * bumpmult^(level-1) etimeout -11900 # number of seconds per filesystem for estimates. #etimeout -600 # total number of seconds for estimates. # a positive number will be multiplied by the number of filesystems on # each host; a negative number will be taken as an absolute total time-out. # The default is 5 minutes per filesystem. # Specify tape device and/or tape changer. If you don't have a tape # changer, and you don't want to use more than one tape per run of # amdump, just comment out the definition of tpchanger. # Some tape changers require tapedev to be defined; others will use # their own tape device selection mechanism. Some use a separate tape # changer device (changerdev), others will simply ignore this # parameter. Some rely on a configuration file (changerfile) to # obtain more information about tape devices, number of slots, etc; # others just need to store some data in files, whose names will start # with changerfile. For more information about individual tape # changers, read docs/TAPE.CHANGERS. # At most one changerfile entry must be defined; select the most # appropriate one for your configuration. If you select man-changer, # keep the first one; if you decide not to use a tape changer, you may # comment them all out. runtapes 3 # number of tapes to be used in a single run of amdump tpchanger "chg-zd-mtx" # the tape-changer glue script tapedev "/dev/nst0" # the no-rewind tape device to be used #rawtapedev "/dev/null" # the raw device to be used (ftape only) changerfile "/home/amanda/etc/amanda/bric/CHANGER" changerdev "/dev/sg2" tapetype AIT-3 # what kind of tape it is (see tapetypes below) labelstr "^bric[0-9][0-9]*$"# label constraint regex: all tapes must match # Specify holding disks. These are used as a temporary staging area for # dumps before they are written to tape and are recommended for most sites. # The advantages include: tape drive is more likely to operate in streaming # mode (which reduces tape and drive wear, reduces total dump time); multiple # dumps can be done in parallel (which can dramatically reduce total dump time. # The main disadvantage is that dumps on t
New tape nonsense
Hello all I have a Overland Library AIT-3 system that holds 40 tapes. I split the library into 2 configs. One config has 20 the other has 20. I have been runing my tape library system sense august. I am now at the point were amanda is request a new tape. I interpret this message as All the tapes you have in your library are full please use a new blank tape. But I know for a fact that all the tapes in my library are not full meaning I have more space to put on them. Also in my tapelist file each tape is marked to be reused so I don't understand why it wants a new tape. If anyone one can shed any light I'd greatly appriciate it. Craig Hancock The tape size is AIT3 which is 100 native 200 compressed after examining the logs this is what I was able to find host: raidzone.bsd.uchicago.edu disk: /home/bertenthal command: 0 last_level: 1 consecutive_runs: 2 full-rate: 2694.00 2682.00 2694.00 full-comp: 0.984973 0.984973 0.984973 incr-rate: 11.00 5.00 11.00 incr-comp: 0.109524 0.109524 0.109524 stats: 0 601790 592747 220 1033049314 16 bric17 stats: 1 210 23 2 1033537085 0 host: raidzone.bsd.uchicago.edu disk: /home/cacioppo command: 0 last_level: 3 consecutive_runs: 9 full-rate: 494.00 -1.00 -1.00 full-comp: 0.692583 -1.00 -1.00 incr-rate: 1.00 1.00 1.00 incr-comp: 0.185127 0.185127 0.185127 stats: 0 7789550 5394908 10905 1030995430 13 bric02 stats: 1 139470 69100 753 1031197742 15 bric1 stats: 2 1078180 687581 1124 1031817002 13 bric08 stats: 3 3160 585 767 1033537160 host: raidzone.bsd.uchicago.edu disk: /home/caserta command: 0 last_level: 1 consecutive_runs: 1 full-rate: -1.00 -1.00 -1.00 full-comp: 0.00 0.00 0.00 incr-rate: -1.00 -1.00 -1.00 incr-comp: 0.00 0.00 0.00 stats: 0 10 0 0 1033270668 4 bric18 stats: 1 10 0 0 1033537055 0 // host: raidzone.bsd.uchicago.edu disk: /home/coccaro command: 0 last_level: 1 consecutive_runs: 3 full-rate: 974.00 970.00 940.00 full-comp: 0.876899 0.876899 0.820500 incr-rate: 1884.00 4.00 3.00 incr-comp: 0.949753 0.171774 0.171774 stats: 0 2736390 2399537 2462 1032859813 17 bric16 stats: 1 539830 512705 272 1033538322 0 // host: raidzone.bsd.uchicago.edu disk: /home/dewit command: 0 last_level: 1 consecutive_runs: 13 full-rate: 1031.00 -1.00 -1.00 full-comp: 0.716888 -1.00 -1.00 incr-rate: 1.00 1.00 1.00 incr-comp: 0.167114 0.167114 0.167114 stats: 0 9926370 7116095 6901 1031001169 15 bric02 stats: 1 1490 249 340 1033537130 0 // host: raidzone.bsd.uchicago.edu disk: /home/du command: 0 last_level: 1 consecutive_runs: 12 full-rate: 1119.00 -1.00 -1.00 full-comp: 0.927655 -1.00 -1.00 incr-rate: 1.00 1.00 1.00 incr-comp: 0.148519 0.148519 0.148519 stats: 0 4632590 4297444 3839 1031011815 1 bric03 stats: 1 2700 401 1177 1033537145 0 // host: raidzone.bsd.uchicago.edu disk: /home/goldman command: 0 last_level: 4 consecutive_runs: 1 full-rate: 728.00 -1.00 -1.00 full-comp: 0.834508 -1.00 -1.00 incr-rate: 14.00 685.00 285.00 incr-comp: 0.153170 0.968333 0.984615 stats: 0 5108910 4263428 5854 1030995313 12 bric02 stats: 1 76040 59065 321 1031370545 10 bric06 stats: 2 212620 4599 363 1031816639 11 bric08 stats: 3 910770 881929 1287 1033271526 13 bric18 stats: 4 42900 6571 459 1033537926 0 // host: raidzone.bsd.uchicago.edu disk: /home/hlustik command: 0 last_level: 5 consecutive_runs: 7 full-rate: 1103.00 -1.00 -1.00 full-comp: 0.692672 -1.00 -1.00 incr-rate: 1147.00 1169.00 1194.00 incr-comp: 0.740094 0.741123 0.740958 stats: 0 30290820 20981604 19018 1030988842 14 bric02 stats: 1 151550 138707 442 1031730821 14 bric07 stats: 2 1427080 869819 1565 1031817040 15 bric08 stats: 3 5536700 4625274 2415 1031928246 13 bric11 stats: 4 2115250 1059432 785 1031988871 17 bric12 stats: 5 4825790 3571537 3113 1033538675 0 // host: raidzone.bsd.uchicago.edu disk: /home/levin command: 0 last_level: 1 consecutive_runs: 1 full-rate: 2544.00 2549.00 2400.00 full-comp: 0.994472 0.994470 0.994471 incr-rate: 4.00 4.00 4.00 incr-comp: 0.134615 0.134615 0.134615 stats: 0 2645760 2631134 1034 1033272980 17 bric18 stats: 1 260 35 8 1033537115 0 // host: raidzone.bsd.uchicago.edu disk: /home/maljkovic command: 0 last_level: 1 consecutive_runs: 1 full-rate: -1.00 -1.00 -1.00 full-comp: 0.00 0.00 0.00 incr-rate: -1.00 -1.00 -1.00 incr-comp: 0.00 0.00 0.00 stats: 0 10 0 0 1033270653 3 bric18 stats: 1 10 0 0 1033537040 0 // host: raidzone.bsd.uchicago.edu disk: /home/nusbaum command: 0 last_level: 1 consecutive_runs: 1 full-rate: -1.00 -1.00 -1.00 full-comp: 0.00 0.00 0.00 incr-rate: 1.00 -1.00 -1.00 incr-comp: 0.00 0.00 0.00 stats: 0 10 0 0 1033270608 1 bric18 stats: 1 10 0 0 1033537070 0 // host: raidzone.bsd.uchicago.edu disk:
Questions
After much experimentation I have finally succesfully created an amanda backup. But I have not been able to figure if these features are possible. 1) I currently have enabled 4 dumps at a time. What I understand this meaning is the option inparallel does 4 cleint dumps at a time. If I have a disklist of 18 disk does that mean that all 18 disk get backed up to one tape or does that mean that every 4 disk get backed up to tape. 2) When sendszie is executed to estimate how big a directory or disk is is it possible to have sendzie work with the process that dumps to tape to judge if a directory is to big for that tape and load another tape for that backup 3) Is it possible just to do fiolesize estimateions before issueing amdump. What I am trying to accomplish is to do estimations and have amdump pick up were it left off to save time. 4) In regards to number 1 to elevate this problem I have been doing amdump "configureationname" partition. I am doing this for each disk in my disk list is it possible to have certain disk go to one tape and then push otehr disk to go on the second tape. Thanks for all your help Craig Hancock -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
changer.conf
I am just curious all the people that use amanda on this list what changer do you prefer. I am currently using chg-zd-mtx, but highly thinking about changing my problem is this I am trying to create 2 configs one setup for directories that don't change very much and another config for directories or host that modifiy data alot. So since I ahve a 40 tape library unit with 2 tapes inside it. I split the library in half( for now) and use one tape drive for each config. When I specify the first slot in my changer.conf file on the second config it seems to always load the tape in slot one and not in slot 19 and I don't understand why. Any thoughts or suggestions would be appricated Craig Hancock -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Re: Backing the backup server
On Tue, Aug 27, 2002 at 02:37:11PM -0400, Jon LaBadie wrote: > For its backup server functions, follow the instructions regarding the server. > Follow the instructions for client hosts to back it up. I don't think there > are any conflicts in the setups. Just follow each independently on the same Well that's why I am confused. In the documentation it says on the server in the .amandahosts file clientaddress root On the client type servername amanda That is still confusing because of the 2 usernames -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
Backing the backup server
I am trying to backup the backup server in amanda and I am a little confused on how to go about it from the documentation you setup a .amandahosts file on the server and the client. Is an entry for the backup server need to be there. If so what should the connect as user be 1) amanda 2) root If this is not the case then how does one configure the backup server? Craig Hancock -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -END PGP SIGNATURE-
disklist and sub directories.
Hello all after playing with amanda all week I have finally gotten into a situation were my entry in disklist file is to big. From what I've read amanda isn't smart enough to pick were it left off if it ran out of tape it will attempt to start from the begining again. Because of this I was thinking of making of these disklist. Origianally I have a disklist of /home/data but unfortantely is is 92G but tape can't write a complete 92 gigs. So I was thinking of spliting this in 3's 1) /home/data/directory 2) /home/data/directory2 3) /home/data What I would like is to do is backup 1) and 2) seperately, but once we get to 3 I don't want thost 2 directories to be backed up from disk 3 Now is this possible. Craig Hancock
sendsize
Is it possible to to run sendize and then run amdump later. I have filesize directory that is extremely large and I want to perform the estimation first and then on another day I actually want to flush to tape is this possible. Craig Hancock
Re: amcheck Problem
Question on the client are you sure amanda daemon is running on the client check /etc/inetd.conf or /etc/xinetd.d/amanda When you enabled the daemon did you restart the service Craig Hancock On Fri, Jul 19, 2002 at 10:26:47AM +0100, Burgess, Adam wrote: > When I run amcheck I get the following error > > Amanda Backup Client Hosts Check > > WARNING: localhost: selfcheck request timed out. Host down? > Client check: 1 host checked in 30.008 seconds, 1 problem found. > > Can someone help and give me some pointers to what could be going on. I've > only been using Amanda for a few days so I am very new to it and apologize > if this is very vague. > > Adam Burgess > Systems Support Officer > Finance > City University > Northampton Square > London EC1V 0HB > Tel. 0207 040 8779 > Fax. 0207 477 8911 >