Cups info migration

Vu Pham vu
Tue Jun 5 06:40:41 PDT 2007


On Mon, 2007-06-04 at 12:54 -0500, C M Reinehr wrote:
> On Monday 04 June 2007 10:57, Vu Pham wrote:
> > On Mon, 2007-06-04 at 09:07 -0500, C M Reinehr wrote:
> > > On Monday 04 June 2007 07:50, Vu Pham wrote:
> > > > Is there a tool to migrate all the cups printer configuration from one
> > > > server (RH 7.2) to another one (RHEL 4)?
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Vu
> > >
> > > How about tar cvf cups.tar /etc/cups ? ;-)
> >
> > Hmm, is that all ? I thought of something similar to the folder hierachy
> > of LPD 's /var/spool/lpd.
> >
> > I feel stupid. Thanks CM. Let me try.
> >
> > Vu
> 
> Don't feel stupid on my account! I just threw that out there without much 
> thought. As Leon just mentioned, "Don't forget /var/run/cups/printcap" -- I 
> didn't even know about that.
> 
> But, anyway, a good place to start would be to install CUPS with your package 
> manager and start looking for things you can copy over. IIANM all of the 
> configuration as well as the ppd files are ascii files found 
> in /etc/cups. /var/run/cups/printcap, apparently, is configured when you add 
> printers.
> 
> If you have a lot of printers to configure, you might start by installing one 
> manually, and then see what files are updated as a way of discovering what 
> would need to be copied over.
> 
> Alternatively, you could automate the lpadmin command with a shell script.
> 
> Hope this helps a little, without damaging your self-esteem any further! :-)
> 
> Cheers!
> 

Thanks, CM. I have several customers upgraded to newer systems and some
of them have a lot of printers. I am going to try some different methods
and see which one is better. Will post back after figuring them out.

Vu




More information about the Linux-users mailing list