I'm tring to backup our print servers automatically each month using a batch file. I had no problems previously using printmig which handled evrything no problem (standalone and clusters) but now have to use printbrm as we have 2 clustered 2008 print servers.
I've looked at other posts and can get the script to work and output the cab file but it only backs up the printers on the server I run the script on. I use the following script:
For /f "tokens=1 delims=." %%a in (\\server\share\config.txt) do
c:\windows\system32\spool\tools\printbrm.exe -B -f \\server\share\%%a.cab
This creates a cab file of all servers in my list but only backs up the local printers, I realise I need the -s switch for the source server but I'm not he best at scripting and at a loss!
It works manually with this script on each individual target:
printbrm -s <sourcesrv> -b -f \\server\share\printerbackup.cab
Basically just want to run this via task sheduler each month and have a nice bunch of cab files from my 9 print servers, any help is greatly appreciated!