?
Solved

Printbrm, multiple print server backups

Posted on 2012-03-29
4
Medium Priority
?
1,404 Views
Last Modified: 2012-05-08
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
0
Comment
Question by:willmc78
3 Comments
 
LVL 10

Accepted Solution

by:
David_Ingledew earned 2000 total points
ID: 37795446
Why not use the local script - schedule it on each one to run the script then copy the file over to your central point, renaming the file as it goes.

Then you have a local backup and a central one also...
0
 

Author Comment

by:willmc78
ID: 37826644
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
0
 
LVL 39

Expert Comment

by:hdhondt
ID: 37940768
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month17 days, 4 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question