On Thu, May 21, 2015 at 06:57:43AM -0700, Alan Murrell wrote:
> Hi All,
>
> I have a Windows host I am trying to back up, on which I have the Zamanda
> client. One of the directories is really huge (it has all the departmental
> shares in it), and to make file retrieval times reasonable (both in terms of
> time and amount of data required to extract), I decided to break it down.
>
> I have tested entering each (departmental) sub-directory individually, and
> this works. Unfortunately, if I add more directories, I would need to
> remember to add them to the disk list.
>
> What I have tested is backing up the directories by letter (i.e., all the
> directories that start with "a", all the directories that start with "b",
> etc.), but I can't seem to make this work. The first attempt timed out
> during the estimate, so I increased the "etimeout" in my amanda.conf to 3600
> seconds. The next attempt did not error out; it said it was successful, but
> only spent 22 seconds backing up the DLE in question. Of course this did not
> seem right, so I checked what was backed up using "amrecover", and of course
> while disklist entry was available, it could not find any files that were
> backed up.
>
> I followed the examples at "How To: Split DLEs With Exclude Lists" at
> <https://wiki.zmanda.com/index.php/How_To:Split_DLEs_With_Exclude_Lists>.
> Here is the DLE I created:
>
> rcav-fs01 E:/SERVER_DATA/./a E:/SERVER_DATA {
> zwc-compress
> include "./[a]*"
> } 1
>
> By the way, what does the number after the curly braces supposed to be? I
> put "1" because that was in the example I copied, but further down on the
> wiki page in another example, the number used is "2"
>From the disklist(5) manpage, an DLE has this format:
hostname diskname [diskdevice] dumptype [spindle [interface] ]
Your dumptype is in {...}, so the numbere "1" is a spindle number
and is optional. Spindle number is later defined as:
spindle
Default: -1. A number used to balance backup load on a host. Amanda
will not run multiple backups at the same time on the same spindle,
unless the spindle number is -1, which means there is no spindle
restriction.
As all of the rcav-fs01, E:/... DLEs are on the same spindle, they
should all have the same, arbitrary, spindle number. Unless you
don't care if several might be dumped at the same time (with the
attendant load on the disk and network).
As to your DLE definition, I don't see anything I'm certain is
wrong. Two things that are unusual and you can try but I don't
hold out much hope.
1. E:/SERVER_DATA/./a is the "diskname", it is not a path. I'm
not used to seeing slashes in the diskname unless it is also the
device name. So something like SERVER_DATA_a or E_ServerData_a
could be used.
But, I don't think slashes are illegal in disknames.
2. In filename matching expressions, square brackets ([...])
define a character class, typically a set with multiple members
such as [abcd] or [a-d]. When the set has only one member the
brackets are superfluous. At least they should be.
http://wiki.zmanda.com/index.php/Zmanda_Windows_Client
I took a peek at the above ZWC document and noted two points:
It says exclude is supported but does not mention include.
The exclude examples use backslashes rather than slashes
and say they must be doubled up or use no slashes.
Depending on the naming consistency of your SERVER_DATA
directory, perhaps your include could be an exclude:
exclude "[A-Zb-z]*"
A potential problem might be files or directorys starting
with non-alphabetic characters.
jl
--
Jon H. LaBadie [email protected]
11226 South Shore Rd. (703) 787-0688 (H)
Reston, VA 20190 (703) 935-6720 (C)