Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Backup selection list varies by drive

Created: 12 Jul 2012 • Updated: 12 Jul 2012 | 13 comments
This issue has been solved. See solution.

I would like a single policy to backup Windows files which could be on either the E: or H: drive on a given client.  Is there a way to do this with Netbackup 7.x?

Client1

H:\Folder

Client2

C:\Folder

Thanks for your help!

Comments 13 CommentsJump to latest comment

revaroo's picture

Use ALL_LOCAL_DRIVES or specify the drives C:\ D:\ E:\

Then on each client setup an exclude list to remove the drives you do not want to include.

so on on the client where you only want the E:\ drive set-up add the following to the exclude list

( exclude list is done via client properties screen within the GUI )

C:\

D:\

F:\

G:\

etc

revaroo's picture

Which means you are excluding everything. 71 is "none of the files in the file list exist"

Show us your policy Backup Selection and your exclude / include lists.

Andy Welburn's picture

Could be, but not necessarily. If multiple data streams is active on the policy then the excluded paths could also result in a 71.

e.g. If client only has C:\ drive, backup selection is C:\Folder and E:\Folder, exclude list is E:\Folder and *if* multiple data streams is selected then the stream covering E:\Folder will fail with a 71.

But I agree, details of policy and exclude list will clarify .....

TimWillingham's picture

Backup Selection: ALL_LOCAL_DRIVES

Exclude List: *

Exception to Exclude List: E:\Folder1, E:\Folder2

Also change the policy to a single stream to prevent multiple jobs of 1 Kb

SOLUTION
Yogesh9881's picture

Plz create separate policy & help your self to manage your backup easy way.

If this post has helped you, please vote or mark as solution.

Before break-up, make sure you have a good backup.....  ;-)

revaroo's picture

Yogesh,

I agree, would probably be easier to manger with seperate policies to be honest, especially if there is a lot of different configurations for the clients. But the above solution I gave would work.

Andy Welburn's picture

if you specifically want to backup "drive:\Folder" then the best option would be specifying the paths (not necessarily drives) as opposed to ALL_LOCAL_DRIVES.

With ALL_LOCAL_DRIVES the only way to get it to back up "drive:\Folder" & nothing else would be to exclude *everything* (that's *local* to the client, any others are superfluous) and have a subsequent include list - another layer of complexity!

If going down the route of C:\Folder & H:\Folder as your backup selection then do not utilise multiple data streams in the policy as you may well end up with EC=71's as the job streams are created prior to any exclude lists being read.

revaroo's picture

You should have marked Andy's post as solution. Not your own.

Andy Welburn's picture

I was more edging towards:

Backup selction:
C:\Folder
E:\Folder

Exclude:
C:\Folder

Just removes that extra consideration of include list.

But truth be told I was even more edging towards Yogesh's one policy per backup requirement!!!! wink