Re: split disklist aphabetically

2005-05-14 Thread Luc Lalonde




I can't seem to get 'amcheck' to accept your suggestion.

Here's what I have in my 'disklist':

zeus /store/homes/students/ag /store/homes/students {
    # all directories that start with [a-g]
    exclude-tar
    include "./[a-g]*"
    } 1

When I do an 'amcheck', I get this error:

Amanda Backup Client Hosts Check

ERROR: zeus: [Can't open disk '/store/homes/students']
ERROR: zeus: [No include for '/store/homes/students/ag']
Client check: 8 hosts checked in 20.072 seconds, 2 problems found

(brought to you by Amanda 2.4.5)

Should I ignore this message?

Thanx.

Jon LaBadie wrote:

  On Thu, May 12, 2005 at 12:50:02PM -0400, Luc Lalonde wrote:
  
  
Hello Folks,

What are your recommendations for spliting directories with excludes 
without having to reorganize directories in a partition that I want to 
backup?

Basically, I want:

client   /foo/a*   dumptype-a
client  /foo/b*dumptype-b
.
client /foo/z*  dumptype-z


  
  
define dumptype common-stuff {
	...
}

client 	FooA	/foo	{
	common-stuff
	include file "./a*"
}

client	FooZ	/foo	{
	common-stuff
	include file "./z*"
}

  





Re: iptables script

2005-05-14 Thread Matt Hyclak
On Sat, May 14, 2005 at 05:29:10PM -0400, Joshua Baker-LePain enlightened us:
> > For the first time ever i have to backup a machine over the 'internet' -
> > This client is using iptables as its firewall. Does anyone have an iptables
> > rule they would like to share that would allow amanda through to be able to
> > backup this client?
> 
> If you haven't compiled with any "portrange" options, you'll have to do 
> something like this:
> 
> -A INPUT -p udp -s $AMANDA_SERVER -d 0/0 --dport 10080 -j ACCEPT
> -A INPUT -p tcp -m tcp -s $AMANDA_SERVER -d 0/0 --dport 1025:65535 -j ACCEPT

Or 

-A INPUT -p udp -s $AMANDA_SERVER -d $AMANDA_CLIENT --dport 10080 -j ACCEPT

and load the ip_conntrack_amanda kernel module. I use the following in
/etc/modprobe.conf:

options ip_conntrack_amanda master_timeout=2400
install ip_tables /sbin/modprobe --ignore-install ip_tables && \
/sbin/modprobe ip_conntrack_amanda

(Lines 2 & 3 are all one line)

This sets the UDP timeout for amanda packets to 2400 seconds, up from the
default 300 (don't hold me to that, it might be 600). I was getting estimate
timeouts since they were taking longer than 300/600 seconds and the firewall
would close the port.

Makes things a little more secure than opening up everything > 1024 ;-)

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263


pgpSA16Pj5HD1.pgp
Description: PGP signature


Re: iptables script

2005-05-14 Thread Joshua Baker-LePain
On Sat, 14 May 2005 at 6:31pm, Tom Brown wrote

> For the first time ever i have to backup a machine over the 'internet' -
> This client is using iptables as its firewall. Does anyone have an iptables
> rule they would like to share that would allow amanda through to be able to
> backup this client?

If you haven't compiled with any "portrange" options, you'll have to do 
something like this:

-A INPUT -p udp -s $AMANDA_SERVER -d 0/0 --dport 10080 -j ACCEPT
-A INPUT -p tcp -m tcp -s $AMANDA_SERVER -d 0/0 --dport 1025:65535 -j ACCEPT

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


Re: bumpsize, bumpdays & bumpmult

2005-05-14 Thread Jon LaBadie
On Thu, May 12, 2005 at 10:20:42AM +0200, Belen Isla wrote:
> Hi all,
> 
> how can I customize the bumpsize, bumpdays and bumpmult parameters if I want 
> to backup my system everyday with a different incremental level?
> Thanks in advance.

I've not seen any responses to this query.
I suspect the reason is no one had an answer.

I certainly don't.  In fact I don't think it
can be 'forced' in such a way.  If correct,
then the best you can do is make it 'most
likely' to bump each day.  For that, a
totally untested, WAG, would be 1 for each
of the three bumpxxx parameters.  Maybe
even 0.  But I don't know if zero is
accepted for those parameters.

jl
-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: Backup of the backup machine

2005-05-14 Thread Glenn English
On Tue, 2005-05-10 at 20:40 +0100, Jens Theisen wrote:

> >> It would also help if you could provide more detail on what symptoms
> >> you see. Just "can't get it running" isn't enough to enable us to help
> >> you in more detail.
> 
> Problem sorted, was actually quite simple. :) I am really clueless...

Most are, in retrospect. And you're not anymore -- you've got at least
one :-)

-- 
Glenn English
[EMAIL PROTECTED]
GPG ID: D0D7FF20


signature.asc
Description: This is a digitally signed message part


iptables script

2005-05-14 Thread Tom Brown
Hi

For the first time ever i have to backup a machine over the 'internet' -
This client is using iptables as its firewall. Does anyone have an iptables
rule they would like to share that would allow amanda through to be able to
backup this client?

thanks




Re: newbie questions about setting up amanda

2005-05-14 Thread Stefan G. Weichinger
Hi, Frank,

on Samstag, 14. Mai 2005 at 01:54 you wrote to amanda-users:

>> I thought this would be obvious ... every DLE has to be readable by
>> the amanda-user or, more detailled, the user, AMANDA has been
>> configured with (--with-user).

FS> That's not technically correct, I back up several DLEs that are not
FS> readable by the amanda user.  Using a group such as disk or bin may give
FS> it access to the underlying device in order to run dump, but it doesn't 
give it
FS> access to all directories on that device when using tar.  That is why many 
of
FS> the amanda binaries are suid root, so it can back it up.

You're right, my mistake ... sorry about that misinformation.
-- 
best regards,
Stefan

Stefan G. Weichinger
mailto:[EMAIL PROTECTED]