willmc78
asked on
Printbrm, multiple print server backups
Hi Experts,
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:
@ECHO OFF
For /f "tokens=1 delims=." %%a in (\\server\share\config.txt ) do
c:\windows\system32\spool\ tools\prin tbrm.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:
CD %WINDIR%\System32\spool\to ols
printbrm -s <sourcesrv> -b -f \\server\share\printerback up.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!
W
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:
@ECHO OFF
For /f "tokens=1 delims=." %%a in (\\server\share\config.txt
c:\windows\system32\spool\
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:
CD %WINDIR%\System32\spool\to
printbrm -s <sourcesrv> -b -f \\server\share\printerback
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!
W
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
ASKER
Sounds like a solution as I've got nowhere trying to run it from one script.
Thanks