Considering Amanda - some questions

2013-10-04 Thread Michael Stauffer
Hi, I'm thinking about switching to Amanda. I inherited a Bacula-based backup system (old version 3) and the server's drives are failing so I'm going to deploy a new server and am considering switching to Amanda at the same time. My setup: I need to backup 2 linux file servers, each hostinng a RA

Re: Considering Amanda - some questions

2013-10-09 Thread Michael Stauffer
Paul, thanks much for the replies, this is very helpful. I'll ask some more questions in another thread. BTW does this list prefer top- or bottom-posting, or no preference? -M On Fri, Oct 4, 2013 at 7:08 PM, Paul Yeatman wrote: > On Fri, 2013-10-04 at 17:23 -0400, Michael Stauffer wrot

Potential user - more questions

2013-10-09 Thread Michael Stauffer
Hi again, I've got another batch of questions while I consider switching to Amanda: 1) catalog (indecies) It seems the main catalog/database is stored in the index files. Is it straightforward to back these up? This doc (http://www.zmanda.com/protecting-amanda-server.html) sugests backing up thes

Re: Potential user - more questions

2013-10-10 Thread Michael Stauffer
ckups. I'm sure you'll hear from me more while I get things going! -M On Thu, Oct 10, 2013 at 12:45 AM, Jon LaBadie wrote: > On Wed, Oct 09, 2013 at 06:27:48PM -0400, Michael Stauffer wrote: > > Hi again, > > > > I've got another batch of questions while

Trouble with passwordless ssh to client

2013-11-12 Thread Michael Stauffer
Hi, I'm setting up Amanda 3.3.4 (CentOS 6.4), following to "Amanda in 15 Minutes" guide (btw, seems like a very optimistic title!). I can't get passwordless ssh working between server and client with the amandabackup user. I've followed the instructions in the doc which were to manually copy the

Re: Trouble with passwordless ssh to client

2013-11-13 Thread Michael Stauffer
very box and then make sure the hosts.allow > file accepts sshd connections from amanda@amanda_server.domain.name. You > might also need to make sure your /etc/ssh/ssh_known_hosts files look > reasonable. > > Hope this helps. > > --Marcus > > > > > On Tue, 12 Nov

trouble with test restore

2013-11-14 Thread Michael Stauffer
Hi, I'm still working through the 15-minute Amanda tutorial. Maybe '15-hour' would be a better title? ;-) My first backup/dump failed b/c my test backup set was 6GB, > than the default 5GB tape/slot size for the test setup. I changed the tape/slot size to 6.5GB and changed the config to allow 2 t

Fwd: trouble with test restore

2013-11-25 Thread Michael Stauffer
Hi, does anyone have thoughts on the issue below? What's the proper way to clean my amanda setup so I can try the test dump/restore from scratch? Thanks -- Forwarded message -- From: Michael Stauffer Date: Thu, Nov 14, 2013 at 11:29 AM Subject: trouble with test resto

Re: trouble with test restore

2013-12-16 Thread Michael Stauffer
client > (has to be able to run same version of system dump & able to read the saved > file). It would place the recovered files in your current directory on the > server, not on the client. > > As for your client's new problem, I'm adding the Amanda-users back into

'changerfile' param for tape robots

2013-12-19 Thread Michael Stauffer
Hi, I'm working on setting up a robot tape changer. The docs for "chg-robot:DEVICE" say this:"the changerfile parameter can be used to specify a filename at which it should store its state. Ordinarily, this state is stored in a file named after the changer device under $localstatedir/amanda, e.g.,

querying device-side compression setting

2014-01-09 Thread Michael Stauffer
Hi, I'm setting up amanda 3.3.4 with a Quantum Scalar i500 tape library. Regrading compression options, I'll go with the recommendation in the documentation to let Amanda do the compression client-side. How can I determine if hardware compression is enabled on my tape library? I can't find any

'labelstr' param in amanda.conf

2014-01-09 Thread Michael Stauffer
Hi, I'm setting up amanda 3.3.4. Regarding 'labelstr' in amanda.conf: The documentation says: "If multiple configurations are run from the same tape server host, it is helpful to set their labels to different strings (for example, "DAILY[0-9][0-9]*" vs. "ARCHIVE[0-9][0-9]*") to avoid overwriting

'changerfile' param for tape robots

2014-01-09 Thread Michael Stauffer
Hi, I'm working on setting up a robot tape changer. The docs for "chg-robot:DEVICE" say this:"the changerfile parameter can be used to specify a filename at which it should store its state. Ordinarily, this state is stored in a file named after the changer device under $localstatedir/amanda, e.g.,

Re: 'labelstr' param in amanda.conf

2014-01-16 Thread Michael Stauffer
ageable chunks. Then with amdump, I can specify the individual DLE's to be dumped? -M On Thu, Jan 9, 2014 at 1:58 PM, Jean-Louis Martineau wrote: > On 01/09/2014 01:47 PM, Michael Stauffer wrote: > >> >> Hi, >> >> I'm setting up amanda 3.3.4. >> >>

tapetype for IBM ULTRIUM-TD5?

2014-01-16 Thread Michael Stauffer
Hi, I'm setting up amanda 3.3.4. I can't find a definiton for changer's drives (IBM ULTRIUM-TD5 LTO-5) in /etc/amanda/template.d/tapetypes Can someone point me to a source for this, or to where I can learn how to determine the params I need for the drives? Thanks -M

amidxtaped running amok

2014-01-16 Thread Michael Stauffer
Hi, I'm setting up amanda 3.3.4. My server is bogged down with 5 amidxtaped processes taking up a big chunk of my cpu's, and just about all of my 32 gigs of RAM. I haven't been running anything for a while, as I'm slowly working my way through the setup process. Here's all the amandabackup proc's

Re: tapetype for IBM ULTRIUM-TD5?

2014-01-28 Thread Michael Stauffer
No such file or directory at /usr/sbin/amtapetype line 93. mtx works fine on /dev/sg2. Any suggestions? Thanks. -M On Thu, Jan 16, 2014 at 7:31 PM, Tom Robinson wrote: > On 17/01/14 10:55, Jon LaBadie wrote: > > On Thu, Jan 16, 2014 at 06:04:14PM -0500, Michael Stauffer wrote: >

Re: tapetype for IBM ULTRIUM-TD5?

2014-01-30 Thread Michael Stauffer
On Tue, Jan 28, 2014 at 6:23 PM, Jean-Louis Martineau wrote: > /dev/sg2 is the changer device not the tape device, what is the tape > device? It is a /dev/nst? device > > > > On 01/28/2014 05:54 PM, Michael Stauffer wrote: > >> Tom and Jon, thanks for the great replies

Re: tapetype for IBM ULTRIUM-TD5?

2014-01-30 Thread Michael Stauffer
, Jan 28, 2014 at 05:54:21PM -0500, Michael Stauffer wrote: > > Tom and Jon, thanks for the great replies. I'm just getting back to this > > project again. > > > > I've tried this > > > >amtapetype -f -b 524288 -t IBM-ULTRIUM-TD5 /de

Re: 'labelstr' param in amanda.conf

2014-02-03 Thread Michael Stauffer
t; so it doesn't change the dumpdates, and so it doesn't stop other > level 0's from being done in the normal configuration . I do a "force" on > all my DLEs and run it once a month. These tapes go offsite, so I want my > daily configuration to have its own set of

autolabel and automatic labeling

2014-02-03 Thread Michael Stauffer
Hi, I'm hoping to use autolabel like this: autolabel "$b-$c-config-name" so that I can do tape labeling like this to easily label new tapes: amlabel config-name slot N With my definition of autolabel above, will amanda *never* automatically label a tape that it encounters and is unsure of?

Re: autolabel and automatic labeling

2014-02-04 Thread Michael Stauffer
er label anything on her own? -M On Mon, Feb 3, 2014 at 7:18 PM, Jon LaBadie wrote: > On Mon, Feb 03, 2014 at 06:47:32PM -0500, Michael Stauffer wrote: > > Hi, > > > > I'm hoping to use autolabel like this: > > > > autolabel "$b-$c-config-name" &g

Re: autolabel and automatic labeling

2014-02-04 Thread Michael Stauffer
OK, thanks Jon. -M On Tue, Feb 4, 2014 at 2:57 PM, Jon LaBadie wrote: > On Tue, Feb 04, 2014 at 11:18:24AM -0500, Michael Stauffer wrote: > > Thanks Jon. What I'm unsure about is this part from the amanda.conf page, > > about autolabel param: > > > > *&quo

Best way to abort amdump?

2014-02-25 Thread Michael Stauffer
Amanda 3.3.4 Hi, I've got a very slow amdump run going, looks like because I set the part_cache_max_size too high and the servers memory is filled up. What's the best way to abort this? I'm not worried about preserving what's been written to tape so far. Do I just run "amcleanup -k'? Or manually

is part_cache_max_size shared?

2014-02-25 Thread Michael Stauffer
Amanda 3.3.4 Hi, If amanda is using memory cache for splits, is the cache shared between simultaneous amdump runs, or does each try to grab that much memory? I'm setup like this: part_cache_type memory part_cache_max_size 20G and with taper-parallel-write 2 and inparallel 10 Than

Re: is part_cache_max_size shared?

2014-02-26 Thread Michael Stauffer
Thanks! That's very good to know. As far as aborting the current amdump, do I just SIGINT it and then run amcleanup? -M On Wed, Feb 26, 2014 at 7:22 AM, Jean-Louis Martineau wrote: > On 02/25/2014 04:24 PM, Michael Stauffer wrote: > >> Amanda 3.3.4 >> >> Hi, &g

Re: is part_cache_max_size shared?

2014-02-26 Thread Michael Stauffer
Thanks, 5 processes failed to terminate the first time so I ran it again. Seems all good now. -M On Wed, Feb 26, 2014 at 11:19 AM, Jean-Louis Martineau wrote: > On 02/26/2014 11:17 AM, Michael Stauffer wrote: > >> Thanks! That's very good to know. >> >> As far a

not recognizing holdingdisk define?

2014-02-27 Thread Michael Stauffer
Amanda 3.3.4 Hi, Seems like I'm having trouble getting amanda to use my holding disk. Here's my setup in amanda.conf: define holdingdisk holdingdisk1 { directory "/mnt/amanda-holdingdisk1/" use 4500Gb chunksize 100Gb } define dumptype gui-base { global program "GNUTAR"

Re: not recognizing holdingdisk define?

2014-02-27 Thread Michael Stauffer
> > Add: > holdingdisk "holdingdisk1" > after the define > > Jean-Louis > > > On 02/27/2014 03:09 PM, Michael Stauffer wrote: > >> Amanda 3.3.4 >> >> Hi, >> >> Seems like I'm having trouble getting amanda to use my holding disk. &

Re: not recognizing holdingdisk define?

2014-02-27 Thread Michael Stauffer
reasons. If the former, then I figure I'd need two tapes-worth of holding disk space since I have two tape drives and have setup tape-parallel-writes as 2. -M On Thu, Feb 27, 2014 at 3:43 PM, Jon LaBadie wrote: > On Thu, Feb 27, 2014 at 03:09:20PM -0500, Michael Stauffer wrote: >

can amanda auto-size DLE's?

2014-02-27 Thread Michael Stauffer
Amanda 3.3.4 Hi, I'm guessing the answer is no since I haven't read about this, but maybe... I'm hoping amanda might be able to auto-size DLE's into sub-DLE's of an approximate size, say 500GB. My understanding is this: 1) if I have multiple DLE's in my disklist, then tell amdump to perform a

Re: not recognizing holdingdisk define?

2014-02-27 Thread Michael Stauffer
pies the whole tape, > then it does seem slower. In that case, perhaps you don't even > bother with a holding disk? > > Deb Baddorf > > > On Feb 27, 2014, at 3:44 PM, Michael Stauffer > wrote: > > > Yes, it's 4.5TB. > > > > I's not clear to

ye old dumpcycle/runspercycle/tapecycle/runtapes question

2014-02-27 Thread Michael Stauffer
Amanda 3.3.4 Hi, Another long post from me - thanks to anyone who has time to read it. I've been reading various docs and posts about dumpcycle, runspercycle, tapecycle, runtapes online, but still can't figure out how I should set things up for my needs. I've got: - ca. 30TB of data to backup -

proper amrecover end?

2014-02-27 Thread Michael Stauffer
Amanda 3.3.4 Hi, I just finished an amrecover test. The run's debug file shows this at the end: Thu Feb 27 20:47:14 2014: thd-0x25f1590: amrecover: stream_read_callback: data is still flowing Thu Feb 27 20:47:25 2014: thd-0x25f1590: amrecover: stream_read_callback: data is still flowing Thu Feb

Re: can amanda auto-size DLE's?

2014-03-03 Thread Michael Stauffer
> > > > 3) I had figured that when restoring, amrestore has to read in a > complete > > > dump/tar file before it can extract even a single file. So if I have a > > > single DLE that's ~2TB that fits (with multiple parts) on a single > tape, > > > then to restore a single file, amrestore has to rea

Re: can amanda auto-size DLE's?

2014-03-03 Thread Michael Stauffer
Yes thanks, this is what I do. I've had some complication running the restore from the backup server rather than the client, but I'll worry about that later. On Fri, Feb 28, 2014 at 1:47 PM, Debra S Baddorf wrote: > one small comment inserted below > > On Feb 27, 2014, at 11:33 PM, Jon LaBadie

Re: ye old dumpcycle/runspercycle/tapecycle/runtapes question

2014-03-04 Thread Michael Stauffer
On Fri, Feb 28, 2014 at 1:07 AM, Jon LaBadie wrote: > On Thu, Feb 27, 2014 at 07:19:24PM -0500, Michael Stauffer wrote: > > Amanda 3.3.4 > > > > Hi, > > > > Another long post from me - thanks to anyone who has time to read it. > > > > I've b

Re: ye old dumpcycle/runspercycle/tapecycle/runtapes question

2014-03-05 Thread Michael Stauffer
OK, thanks again Jon for the detailed answers. I feel I'm ready to go. I'll use a holding disk and run archive dumps for offset storage. -M On Wed, Mar 5, 2014 at 12:49 AM, Jon LaBadie wrote: > On Tue, Mar 04, 2014 at 05:16:05PM -0500, Michael Stauffer wrote: > > On Fri, F

Re: can amanda auto-size DLE's?

2014-03-05 Thread Michael Stauffer
Thanks Debra, this is very helpful. On Mon, Mar 3, 2014 at 3:50 PM, Debra S Baddorf wrote: > Comments on questions that are at the very bottom. > > On Mar 3, 2014, at 1:47 PM, Michael Stauffer > wrote: > > > > > 3) I had figured that when restoring, amrestore

Re: can amanda auto-size DLE's?

2014-03-05 Thread Michael Stauffer
Thanks again Jon - very helpful as usual. -M On Mon, Mar 3, 2014 at 7:01 PM, Jon LaBadie wrote: > On Mon, Mar 03, 2014 at 02:47:53PM -0500, Michael Stauffer wrote: > > > > ... > > > > > Any thoughts on how I can approach this? If amanda can't do it, I &g

include, exclude and append

2014-03-05 Thread Michael Stauffer
Amanda 3.3.4 Hi again, I'm setting up my DLE's now. Regarding include, exclude and append. I figure 'include' and 'exclude' items are kept in separate lists? As such, is this then the proper way to use these: cfile.uphs.upenn.edu jet-k-l /jet { gui-base include "./[k-l]*" exclude "./ka

amdump dry run?

2014-03-05 Thread Michael Stauffer
Amanda 3.3.4 Hi, Is there a way to get amdump to do a dry run? The idea is to see everything that will be dumped, to check dle settings. For completeness' sake I'd like a list of all files that will be backed up. I can get some idea of amadmin's disklist and estimate commands, but would like mor

Re: amdump dry run?

2014-03-05 Thread Michael Stauffer
5:55 PM, Debra S Baddorf wrote: > > On Mar 5, 2014, at 4:26 PM, Michael Stauffer > wrote: > > > Amanda 3.3.4 > > > > Hi, > > > > Is there a way to get amdump to do a dry run? The idea is to see > everything that will be dumped, to check dle setting

amadmin estimate?

2014-03-05 Thread Michael Stauffer
Amanda 3.4.4 Hi, I'm trying to use amadmin's estimate command to get an idea if my DLE entries are correct. For example: I want one DLE with all dirs starting with a, except for ./aguirre, then another with just ./aguirre cfile.uphs.upenn.edu jet-a /mnt/jet716s_1/jet-export/ { gui-base in

Re: amadmin estimate?

2014-03-06 Thread Michael Stauffer
following format: > hostname diskname level size > > > Server estimate can only be computed if you already backed up the dles a > few time. > > If you want to run the real estimate, you can try: >/path/to/planner CONF > and try to understand its output. &g

disklist and glob patterns

2014-03-11 Thread Michael Stauffer
Amanda 3.3.4 Hi, I'm confused about using glob patterns in disklist. Am I right that if I use dumptype include and exclude directives, I can use shell globbing? This is part of my disklist: cfile.uphs.upenn.edu jet-grosspeople-0-g /jet { gui-base #Get everything ^[0-9] and ^[a-zA-Z] in

Re: disklist and glob patterns

2014-03-11 Thread Michael Stauffer
ort of > wildcards, >but amgtar "manually" applies glob pattern matching to include >expressions with only one slash. The expressions must still begin > with >"./", so this effectively only allows expressions like "./[abc]*" or &g

Re: can amanda auto-size DLE's?

2014-03-12 Thread Michael Stauffer
Thanks Stefan! I'll take a look. How did this work for you in terms of daily, or almost daily, creating new DLE's? I imagine it made for near-constant level 0 dumps? Maybe that was what you needed anyway with lots of new data? -M On Wed, Mar 12, 2014 at 5:48 AM, Stefan G. Weichinger wrote: > A

Re: disklist and glob patterns

2014-03-18 Thread Michael Stauffer
For the sake of anyone following this thread in the future, some replies to my last post: On Tue, Mar 11, 2014 at 4:12 PM, Michael Stauffer wrote: > Thanks Jean-Lous. > > In my dumptype I have > > program "GNUTAR" > > but I don't know if this al

Re: amadmin estimate?

2014-03-18 Thread Michael Stauffer
14 at 6:19 PM, Nathan Stratton Treadway wrote: > On Wed, Mar 05, 2014 at 21:31:05 -0500, Michael Stauffer wrote: > > I want one DLE with all dirs starting with a, except for ./aguirre, then > > another with just ./aguirre > > > > cfile.uphs.upenn.edu jet-a /mnt/je

planner error with sendsize permissions

2014-09-16 Thread Michael Stauffer
Amanda 3.3.4 Hi, I made some changes to an amanda client. I created a new DLE that pointed to a dir without world-read/exec permissions, and then amcheck gave this error: ERROR: cfile-local: service selfcheck: selfcheck: Failed to chdir(/jag/cnds): Permission denied I googled a bit and saw that

Re: planner error with sendsize permissions

2014-09-16 Thread Michael Stauffer
like the server is getting to the client alright? -M On Tue, Sep 16, 2014 at 4:12 PM, Michael Stauffer wrote: > Amanda 3.3.4 > > Hi, > > I made some changes to an amanda client. I created a new DLE that pointed > to a dir without world-read/exec permissions, and then a

Re: planner error with sendsize permissions

2014-09-16 Thread Michael Stauffer
/var/log/amandalevel > since that’s the top of the logfile tree. > > I use bsdtcp (on some clients) and use a “.amandahosts” file on every > client. I haven’t used ssh keys. > Anybody else have an opinion here? > > Deb Baddorf > Fermilab > > On Sep 16, 2014, at

trouble with DLE include/exclude

2014-09-26 Thread Michael Stauffer
Amanda 3.3.4 Hi, I'm having some inconsistencies with include/exclude in DLE lists. For example, these are some of the enteries in my dislist file: cfile-local jag-0-e /jag { gui-base # Also get everything starting with numerals include "./*" exclude "./[f-zF-Z]*" exclude "./bbcp

amanda: "empty disklist"

2014-09-29 Thread Michael Stauffer
Amanda 3.3.4 Hi, I've got another strange problem. It's probably user-error again, but I can't figure it out. I added another disklist file to my disklist (see below), and now amcheck and amdump don't seem to read anything. amcheck reports 0 hosts checked. When I run amdump, I get this: FAILUR

amrecover - auto-reply to the load tape prompt?

2014-11-05 Thread Michael Stauffer
Amanda 3.3.4 Hi, I ran an amrecover operation yesterday that required 3 tapes. I have a tape changer, but still was queried each time the next tape was required, i.e. Load tape DMP014 now Continue? [Y/n/t]: Is there a way to automatically reply to this, so the recover opeation can proceed o

Re: amrecover - auto-reply to the load tape prompt?

2014-11-06 Thread Michael Stauffer
tch and load the > necessary tapes. "Changer" is the critical word. > > > Chris Ritson, Newcastle University IT and School Safety Officer > > Room: 707, Claremont Tower > Phone: 8175 > Mail: chris.rit...@ncl.ac.uk > > > -Original Message- > >

amdump doing level 0 unexpectedly, and weird level 1 estimates

2014-11-06 Thread Michael Stauffer
amanda 3.3.4 Hi, I'm getting weird amdump estimates for DLE's. I'm using amanda to create periodic archive backups that I take offsite, so the dump period is 90 days. Recently for the picsl-cluster host I've also wanted some level 1 backups before I make major changes to the system. Trying to run

can't connect to client

2014-12-17 Thread Michael Stauffer
Amanda 3.3.4 CentOS 6.5 (server and client) Hi, I'm having trouble connecting to a client. It used to work. The only thing I can think of that's changed since the last time it worked is that the NIS server changed. But that seems to be working fine and the amandabackup user is available on the cli

Re: can't connect to client

2014-12-22 Thread Michael Stauffer
gt; > > > > > *From:* owner-amanda-us...@amanda.org [mailto: > owner-amanda-us...@amanda.org] *On Behalf Of *Michael Stauffer > *Sent:* Wednesday, December 17, 2014 16:31 > *To:* amanda-users@amanda.org > *Subject:* can't connect to client > > > > Amanda 3.3

CentOS 7 support?

2015-01-12 Thread Michael Stauffer
Hi all, I'm setting up a new amanda server. Am I right in seeing that RHEL/Centos 7 is not yet supported? If so I'll just install Centos 6 as before. Thanks. -M

Re: CentOS 7 support?

2015-01-13 Thread Michael Stauffer
(with an upgrade to 3.3.6 planned). > > Markus > > On Jan 12, 2015, at 5:50 PM, Jason L Tibbitts III > wrote: > > > >>>>>> "MS" == Michael Stauffer writes: > > > > MS> Hi all, I'm setting up a new amanda server. Am I right in s

moving to amanda 3.3.7p1

2015-02-25 Thread Michael Stauffer
Hi, I just built amanda 3.3.7p1 on a CentOS 7 box, to be used as our new backup server with a new tape robot. The config step output this: Directories: Application: /usr/local/libexec/amanda/application Configuration: /usr/local/etc/amanda GNU Tar lists: /usr/local/var/amanda/gnutar-lists

amanda 3.3.7 home dir

2015-02-25 Thread Michael Stauffer
Hi again, As in my previous email, I built 3.3.7 from source on Centos 7. The config script choked on missing group 'backup', so I manually create user amanda and group backup. Now the amanda home dir is /home/amanda. Does that matter? Where should it go otherwise? I'm all confused now with these

Re: moving to amanda 3.3.7p1

2015-02-26 Thread Michael Stauffer
On Thu, Feb 26, 2015 at 8:37 AM, Toomas Aas wrote: > Wed, 25 Feb 2015 kirjutas Michael Stauffer : > > >> Directories: >> Application: /usr/local/libexec/amanda/application >> Configuration: /usr/local/etc/amanda >> GNU Tar lists: /usr/local/var/aman

reconstructing file hierarchy from indecies

2018-01-19 Thread Michael Stauffer
amanda 3.3.9 Hi, I've got a large xfs filesystem that had trouble and has undergone repair. Some inodes were disconnected from filenames. I've mostly been able to identify what's what from contents of the dir trees now named as inodes in lost+found. But I'd like to check the full file hierarchy t

Re: reconstructing file hierarchy from indecies

2018-01-19 Thread Michael Stauffer
On Fri, Jan 19, 2018 at 1:07 PM, Jean-Louis Martineau < jmartin...@carbonite.com> wrote: > On 19/01/18 12:51 PM, Michael Stauffer wrote: > > > > When I look at the index file for a DLE from the incremental backup, I > > see a lot of directory names with no file

Re: reconstructing file hierarchy from indecies

2018-01-24 Thread Michael Stauffer
> > On Fri, Jan 19, 2018 at 1:07 PM, Jean-Louis Martineau < > jmartin...@carbonite.com> wrote: > >> On 19/01/18 12:51 PM, Michael Stauffer wrote: >> >> > >> > When I look at the index file for a DLE from the incremental backup, I >> >