Link to home
Start Free TrialLog in
Avatar of willmc78
willmc78Flag for United Kingdom of Great Britain and Northern Ireland

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\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:

CD %WINDIR%\System32\spool\tools
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!

W
ASKER CERTIFIED SOLUTION
Avatar of David_Ingledew
David_Ingledew
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of willmc78

ASKER

Thanks for the reply... sorry for the delay in getting back to you but I've been off on holiday.

Sounds like a solution as I've got nowhere trying to run it from one script.

Thanks
Avatar of hdhondt
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.