Veritas-bu

Re: [Veritas-bu] NDMP directory exclusions

2010-06-23 19:25:29
Subject: Re: [Veritas-bu] NDMP directory exclusions
From: "Adams, Dwayne" <AdamsDC AT medsch.ucsf DOT edu>
To: veritas-bu AT mailman.eng.auburn DOT edu
Date: Wed, 23 Jun 2010 16:24:37 -0700

FYI...

 

You can't use a path.  You can only use a file or directory name for exclusion.  I have added _NoBackup to end of the folder name.  That way everyone knows that a file will not be backed up if they put it in the folder.  This should also keep the name unique. Anything else in the volume with the exclusion name will not be backed up.

 

SET EXCLUDE = A_NoBAckup

/vol/vol1

 

 

Solution ID: kb6811

Can files and / or directories be excluded from a backup?

 


Symptoms

Which backup software supports the include or exclude directories feature while backing up filer?

Can files or directories be excluded from a backup?


Solution

Currently using the filer's dump command files and qtrees may be excluded but directories cannot be excluded. For 3rd party backup applications, contact the 3rd party vendor to determine if files and directories can be excluded during a backup.

For example, the filer's dump command allows files to be excluded by using the capital X option. You can not give a full path to a file that you want to be excluded in the exlucde list. You must give a simple string. For example, the best you can do is this:

dump 0fX nrst0a messages /vol/vol0/etc

This will exclude any files or directories named "messages" underneath the /voll/vol0/etc directory. There is no way to exclude a full path.  Refer to the dump man page for additional information.

Last updated: 17 APR 2003


Environment

 



NetApp filer

NearStore appliance

Data ONTAP

 

 

-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Adams, Dwayne
Sent: Wednesday, June 23, 2010 9:40 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] NDMP directory exclusions

 

Hello,

 

Has anyone had any success with excluding sub directories of paths with

NetApp NDMP backups?

 

I.E

 

SET EXCLUDE = A/B

/vol/vol1

 

Thanks

 

Dwayne Adams

 

Document ID: 235246

http://support.veritas.com/docs/235246 E-Mail this document to a

colleague

How to exclude files and directories from NDMP backups

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

--------

Details:

To exclude files on NetApp when using NetBackup with Network Data

Management Protocol (NDMP), use an entry in the file list that sets the

EXCLUDE NDMP environmental variable.

 

For example:  To exclude a directory named /vol/vol1/A, but to dump the

rest of the volume, create a NetBackup class file list which would look

like this:

SET EXCLUDE = A

/vol/vol1

 

To exclude multiple files or directories 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, enclose the string in quotes:

SET EXCLUDE = 'file with space in name'

/vol/volx

 

Wild cards are not supported so excluding specific file extensions is

not supported. 

 

Refer to the Ontap manuals for DUMP for more information.

 

 

 

_______________________________________________

Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu

http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>