Hi Jon,
Thanks for the reply :-) You seem to the the only one who does :-)
On 21/05/2015 7:49 PM, Jon LaBadie wrote:
and is optional. Spindle number is later defined as:
OK, I think that makes sense. So if I had another backup of files on
the "F:" drive of the same host, I might specify a different spindle
number for those files, then, correct?
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.
Whether or not slashes are illegal (they don't seem to be), thinks like
spaces and weird characters in file and path names (other than
underscores and/or dashes) have always made me uneasy. I think I like
the idea of using something like E_ServerData_a better :-)
Depending on the naming consistency of your SERVER_DATA
directory, perhaps your include could be an exclude:
exclude "[A-Zb-z]*"
I am going to try the following:
exclude "./[b-z]*"
exclude "./[0-9]*"
and will see what happens. Regarding the use of double-slash, if I
enter the actual directory path to be backed up, like this:
E:/SERVER_DATA/accounting
that works no problem (of course I realise it's not an exclude statement)
In all honesty, the folders in the department SERVER_DATA folder don;t
really change much (occasionally a new one might get added here and
there), but it is the users' home folder directory that I really want to
do this pattern matching for, since that *does* change with more
regularlity.
A potential problem might be files or directorys starting
with non-alphabetic characters.
They are few and far between, but I would imagine *should* be covered by
something like:
exclude "./[a-z]*"
which should match directories that start with numbers.
I will advise how the above goes.
-Alan