Yes, there's a sample script (batch file) that can be scheduled with the AT service. Here's a snippet from section 5.2 of the doc:
Once the filer and Windows NT have been setup, schedule a batch process using the Windows NT "at" command. The following batch file, which uses NT Backup, is included as a reference:
REM In this example, 'filer5' will be used as the name of the filer REM The qtree is called 'qtmixed,' which resides on a single REM volume filer. The default volume name is vol0. REM REM Delete the snapshot created by the previous run of this process rsh filer5 -l root snap delete vol0 openfiles REM REM Turn off oplocks, telling clients to release the file rsh filer5 -l root qtree oplocks qtmixed disable REM REM Create a snapshot directory called openfiles rsh filer5 -l root snap create vol0 openfiles REM REM Re-enable oplocks rsh filer5 -l root qtree oplocks qtmixed enable REM REM Map a drive letter to the filer's root share net use f: \filer5\c$ REM REM Run the backup command - in this example NTBackup. REM Notice that '~snapshot' is used instead of '.snapshot' start /normal /b ntbackup backup f:\dir~snapshot\ /hc:on /t normal REM End of file
The above batch file (less the last few lines, launching a backup command) could also be used as a pre-job process with almost any Windows NT backup package.
-----Original Message----- From: Mark Muhlestein [mailto:mmm@netapp.com] Sent: Monday, March 01, 1999 10:56 AM To: toasters@mathworks.com Subject: Re: nightly.1 busy: snapshot rollovers not happening
The best way to do this is to create a special snapshot specifically for the backup, then delete it when the backup completes. This avoids the problem of the snapshot being changed out from under you. And this can all be automated with scripts. See Paul Benn's message for a pointer to a description of how to do this.
Mark Muhlestein -- mmm@netapp.com
-----Original Message----- From: Patrick.Day.B@bayer.com Patrick.Day.B@bayer.com To: - (052)toasters(a)mathworks.com toasters@mathworks.com; - (052)tmerrill(a)mathworks.com tmerrill@mathworks.com Date: Monday, March 01, 1999 10:48 AM Subject: Re: nightly.1 busy: snapshot rollovers not happening
I ran across this same problem when i shared the Nightly.0 for backup purposes. When the nightly.0 rolls over to the Nightly.1, the CIFS share
keeps
track and actually keeps the share mapped to nightly.1. (same thing next
night
when it rolls over to nightly.3). I posted the problem a few weeks ago
and the
only "solution" anyone could come up with was running an rsh command to
stop
and recreate the share every time the backup runs. I opted to forget the snapshot directory backup and go with a live backup of the C$\ share.