Amanda-Users

Re: split disklist aphabetically

2005-05-15 02:20:17
Subject: Re: split disklist aphabetically
From: Luc Lalonde <Luc.Lalonde AT polymtl DOT ca>
To: amanda-users AT amanda DOT org
Date: Sat, 14 May 2005 21:52:05 -0400
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*"
}

  
<Prev in Thread] Current Thread [Next in Thread>