How to Backup CUPS Printing

  • 7000783
  • 30-Jun-2008
  • 26-Apr-2012

Environment

Novell SUSE Linux

Situation

How to replicate your CUPS Environment.

Resolution

Steps for backing up the printers:
 
1. Open a terminal and login as root.
     #su
2. Copy the /etc/cups/printers.conf file to a safe location
    #cp /etc/cups/printers.conf /<Safe Location>
3. Copy the PPDs associated to each of the printers to a safe location
    #cp /etc/cups/ppd /<Safe Location>
 
Steps for restoring the printers:
 
1. Open a terminal and login as root.
     #su
2. Copy the /etc/cups/printers.conf file from the safe location
    #cp /<Safe Location> /etc/cups/printers.conf
3. Copy the PPDs associated to each of the printers from the safe location
    #cp /<Safe Location>/* /etc/cups/ppd/
4. Restart CUPS
    #rccups restart