Re: [ADSM-L] Re: snapdiff advice
2011-06-28 18:55:47
Thanks, Bill. I was coming to the conclusion that this would have to be
scripted, at least for the CIFS shares. Do you leave the various shares
mapped/used, or do you "net use /delete" them at the end of your script?
I might experiment with a PRESCHEDULECMD script to do the "net use" bits
and then add the shares to the DOMAIN (if that works -- I'm totally not
a Windows admin). Though I suppose it'd be wiser to script the entire
thing, as you did, so there's only one place to add or remove filespaces.
=Dave
Colwell, William F. wrote:
>
> I can't comment on your error messages, but you asked how I schedule
> snapdiff backups.
>
> The schedule invokes a command on the client. Here is a shortened
> version of the command file.
>
> echo on
> for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set date=%%a-%%b-%%c)
> echo %date%
>
> net use <share-name>
> ... 12 more net use statements ...
>
> dsmc i -snapdiff <share-name> -optfile=dsm-unix1.opt >>
> c:\backuplogs\xxx\snapdiff-%date%.txt
>
> ... 12 more dsmc commands ...
>
> dsmc i c: -optfile=dsm-unix1.opt >>
> c:\backuplogs\vscan64\local-%date%.txt
>
>
> The last line backs up the local file system.
>
--
Hello World. David Bronder - Systems Admin
Segmentation Fault ITS-EI, Univ. of Iowa
Core dumped, disk trashed, quota filled, soda warm. david-bronder AT uiowa
DOT edu
|
|
|