NetWorker directives quick reference guide
Directives are one of the most misunderstood facilities of the NetWorker backup system. While directives give the storage administrator a great deal of flexibility and control, they can also burn you.
UNIX directory specification examples | |
---|---|
<< / >> | Selects all mounted file systems |
<< /tmp >> | Selects the /tmp directory on a UNIX client |
Windows directory specification examples | |
<< / >> | Selects all mounted file systems |
<< "C:\" >> | Selects the C: drive on a Windows client |
<< "D:\mydata" >> | Selects the "mydata" directory on the D: drive of a Windows client |
NetWare directory specification examples | |
<< / >> | Selects all mounted file systems |
<< "SYS:USERS" >> | Selects the Users directory on thee SYS: volume of NetWare client |
<< "SYS:" >> | Selects the SYS: volume on a NetWare client |
UNIX server side directives | |
<< / >> forget ignore | Skip all local directives |
<< / >> +always: *.[dD][oO][cC] | Always backup certain file types in all directories on all volumes |
<< / >> +always: [Uu][Ss][Ee][Rr][Ss] | Always backup the USERS directory on ALL drives |
<< / >> +skip: *.[Bb][Mm][Pp] +skip: *.[Dd][Oo][Cc] | Skip all *.doc and *.bmp files in all drives and directories |
Windows NT/2000 server side directives | |
<< / >> forget ignore | Skip all local directives |
<< "D:\DATA" >> +always: * | Always backup the DATA directory on the D: drive |
<< / >> +always: *.[dD][oO][cC] | Always backup certain file types in all directories on all volumes |
<< / >> +always: [Uu][Ss][Ee][Rr][Ss] | Always backup the USERS directory on ALL drives |
<< "D:\DATA" >> +skip: *.[Tt][Mm][Pp] | Skip all *.tmp files in the DATA directory on D: drive |