cancel
Showing results for 
Search instead for 
Did you mean: 

getting a specific folder

Chris_Colvin
Level 4
We have a huge \userhome$ on a NetApp device, is there a way to get 5.1mp4&5 (working on transition) to get just an \archive folder in each user's folder. For example we'd like to archive: \userhome\jdoe\archive and \userhome\jsmith\archive, but not \jdoe\timesheets or \jsmith\reports that we'll do regular backups on.

Is there a way to exclude the \archive folders from the regular backup, but keep the rest of the folders?

Thanks,
Chris
3 REPLIES 3

Nathan_Kippen
Level 6
Certified
Chris,

There are exclude and "include" lists available in netbackup. Please see the following article for more info:

http://support.veritas.com/docs/277155

nk

scott_nishimura
Level 3
Chris,

According to the help file below, you should be able to do

drive_letter:\userhome\*\archive


--------------------

File Backups
Enter one pathname per line.

Start all pathnames with the drive letter followed by a colon (:) and a backslash (\). The drive letter can be either upper or lower case.
c:\

Precede each component in the path with a backslash.
If the last component in the path is a directory, also follow it with a backslash (\). The trailing backslash is not required but serves as a reminder that the file path is a directory instead of a file.

c:\users\net1\

If the last component is a file, include the file extension and omit the backslash from the end of the name.

c:\special\list.txt

Upper and lower case letters in the pathname must match those in the pathname on the client. The only exception is the drive letter, which can be either upper or lower case.
c:\Worklists\Admin\

You can use the same wildcard characters as in Windows pathnames:
*

?

The following backs up all files ending with .doc

c:\Users\*.doc

The following backs up all files named log01_03, log02_03, and so on.

c:\system\log??_03

To back up all local drives except for those that use removable media, specify:
:\ or *:\ or ALL_LOCAL_DRIVES

The drives that are not backed up include: floppy disks, CD-ROMs and drives that are located on remote systems but mounted on your system through the network.

The following is an example backup selection list that uses the Microsoft Windows conventions:

c:\

d:\workfiles\

e:\Special\status

c:\tests\*.exe

Ankur_Kumar
Level 5
Hi Chris
I am not very sure about this but you can try it out no harm done,

For example, if you wanted to exclude a directory named /vol/vol1/A, but wanted to dump the rest of the volume, your NetBackup class file list would look like this:

SET EXCLUDE = A
/vol/vol1

To exclude multiple files or directories, you would use commas to delimit the field:

SET EXCLUDE = A,B,C
/vol/vol1

The rules are stated as being the same as they are for native dump commands.

The exclude list is specified relative to the dump path. If a directory name or file name contains a space, you probably need to enclose the string in quotes:

SET EXCLUDE = 'file with space in name'
/vol/volx


I hope this helps you in some way or the other

Chiao
Ankur Kumar