Networker

[Networker] directive to include certain file regex

2009-11-05 17:55:59
Subject: [Networker] directive to include certain file regex
From: dustin gregory <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 5 Nov 2009 17:51:50 -0500
I've tried this as a global directive for << / >> and as a local directive 
running the backup as full always.  No luck. 

What I'm trying to do is create a directive that will ONLY backup filenames 
with a certain pattern and skip everything else.  

I've tried flipping the always and skip just in case the man page was wrong.  
No luck.   

Anyone have any insight that could help me out?  Thanks.

Networker 7.5.1 on Solaris 10.

#cat .nsr
+always:  data_D-db1*
+skip: .?* *
#find . -name "data_D-db1*"
./bck901/backups/db1/PAST/data_D-db1_I-2556859465_TS-DRIVE_HIST_DP_A01_FNO-393_ugks71k4
./bck901/backups/db1/PAST/data_D-db1_I-2556859465_TS-DRIVE_HIST_DP_A01_FNO-355_u2ks71k3
./bck901/backups/db1/PAST/data_D-db1_I-2556859465_TS-DRIVE_I_A01_FNO-578_05ks74gr
./bck901/backups/db1/PAST/data_D-db1_I-2556859465_TS-DRIVE_I_A01_FNO-580_07ks74jm


# savegrp -vvvvv ignore_me_testing
# nsrinfo -t $(mminfo -q 'group=ignore_me_testing,name=/test' -r 
'nsavetime,savetime(24),name,level' | grep -v 'save time' | sort | tail -1 | 
awk '{ print $1 }') server

scanning client `okrtape1' for savetime 1257460346(Thu Nov 05 16:32:26 2009) 
from the backup namespace
/test/
/
2 objects found

+----------------------------------------------------------------------
|This was sent by dustin.gregory AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>