ldmwndletsm
ADSM.ORG Senior Member
- Joined
- Oct 30, 2019
- Messages
- 232
- Reaction score
- 5
- Points
- 0
Hi, I want to exclude everything on a Linux client with the exception of one or two file systems and then begin adding more file systems one at a time (maybe several per night depending), but there are too many to run first-time fulls in a single night, and I also want to test that things are getting backed up properly by running only a few at a time, with recover testing.
I've been reading about the include/exclude, but not sure if I have this right. We will be using a server schedule (via dsmcad on the client) with the Action parameter set to INCREMENTAL, and the Object parameter will be left blank so only the dsm.sys file on the client will be used to determine what needs to be backed up. I will probably put the include/exclude statements in their own separate file and reference that in dsm.sys.
1. If I wanted to start off backing up, say, only the file system /archive/1, and /archive/2 would I use something like this:
exclude /.../*
include /archive/2
include /archive/1
And once that's done, if I then wanted to add /archive/3 and maybe even /, /home and /var then it would change to:
exclude /.../*
include /var
include /home
include /
include /archive/3
include /archive/2
include /archive/1
Something like that but always with the 'exclude /.../*' line at the top and my include lines below that since it processes the excludes first and then the includes from bottom to top?
2. What about the 'DOMAIN' statement? Do we need one of those?
3. What about 'include.fs' and or 'exclude.fs'? Do I need to use those or just 'include'? I was a bit confused about these options.
4. Also, if you're not specifying any objects in the Objects parameter for the schedule then are subdirectories always included for anything listed in the include/exclude statements without having to have '-subdir=yes'?
I've been reading about the include/exclude, but not sure if I have this right. We will be using a server schedule (via dsmcad on the client) with the Action parameter set to INCREMENTAL, and the Object parameter will be left blank so only the dsm.sys file on the client will be used to determine what needs to be backed up. I will probably put the include/exclude statements in their own separate file and reference that in dsm.sys.
1. If I wanted to start off backing up, say, only the file system /archive/1, and /archive/2 would I use something like this:
exclude /.../*
include /archive/2
include /archive/1
And once that's done, if I then wanted to add /archive/3 and maybe even /, /home and /var then it would change to:
exclude /.../*
include /var
include /home
include /
include /archive/3
include /archive/2
include /archive/1
Something like that but always with the 'exclude /.../*' line at the top and my include lines below that since it processes the excludes first and then the includes from bottom to top?
2. What about the 'DOMAIN' statement? Do we need one of those?
3. What about 'include.fs' and or 'exclude.fs'? Do I need to use those or just 'include'? I was a bit confused about these options.
4. Also, if you're not specifying any objects in the Objects parameter for the schedule then are subdirectories always included for anything listed in the include/exclude statements without having to have '-subdir=yes'?