Veritas-bu

[Veritas-bu] Backup all files in a folder but not any subfolders

2009-06-11 05:30:31
Subject: [Veritas-bu] Backup all files in a folder but not any subfolders
From: Andy_Welburn <netbackup-forum AT backupcentral DOT com>
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Date: Thu, 11 Jun 2009 05:26:55 -0400
Cheers "M" have tried this & I can confirm that it does work.

Set up a policy to backup /app/site (contains many sub-directories & files)
Set up an exclude list for same of /app/site/*/
Ran backup & checked that only files within /app/site & NOT sub-directories 
were backed up.

Many thanks for the pointer!




mdonaldson wrote:
> NB recurses by default.  It's hard to stop.
> 
> You'd have to do this by using an exclude file on the client, I suspect.
> 
> If your filelist includes:
> 
> /top/dir_to_backup 
> 
> You might try to exclude
> /top/dir_to_backup/*/
> 
> That might do it.  I've never tried it, though.  Make sure the trailing
> slash is on the exclude line - that'll force it to exclude directories
> only.
> 
> -M
> 
> -----Original Message-----
> From: veritas-bu-bounces < at > mailman.eng.auburn.edu
> [mailto:veritas-bu-bounces < at > mailman.eng.auburn.edu] On Behalf Of dbergen
> Sent: Wednesday, June 10, 2009 3:08 PM
> To: VERITAS-BU < at > MAILMAN.ENG.AUBURN.EDU
> Subject: [Veritas-bu] Backup all files in a folder but not any
> subfolders
> 
> 
> Can anyone tell me how to set this up in Netbackup?
> 
> +----------------------------------------------------------------------
> |This was sent by dbergen < at > cucbc.com via Backup Central.
> |Forward SPAM to abuse < at > backupcentral.com.
> +----------------------------------------------------------------------
> 
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu < at > mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu < at > mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


+----------------------------------------------------------------------
|This was sent by andy.welburn AT eastriding.gov DOT uk via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu