- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restoring printers setup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 02:09 AM
09-15-2003 02:09 AM
I am running a DR test and I need to restore all the printers that are setup. Can anyone tell me which directories I need to restore in order to do this?
Thanks,
Colin.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 02:14 AM
09-15-2003 02:14 AM
Re: Restoring printers setup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 02:18 AM
09-15-2003 02:18 AM
SolutionBack up the spooler configuration through SAM. This goes to /var/sam/lp.
From command prompt rcp/scp/ftp everything under this dir to the node where you want to restore the config.
Once completed. Restore the config on other node with options restore spooler configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 03:14 AM
09-15-2003 03:14 AM
Re: Restoring printers setup
If you want to save only the printer configurations, then you need to save the default destination file and the pstatus file.
/var/spool/lp/default, /var/spool/lp/pstatus
You can do this using SAM and choosing "Save printer configuration" Under the "Printers & Plotters" FA and drilling it down further. However, this saves only the printer configurations, not the jobs...
However, if you want to save everything right from the printer queue and so on, then you need to manually save the /var/spool/lp directory.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 03:30 AM
09-15-2003 03:30 AM
Re: Restoring printers setup
I have tried the SAM method by saving and restoring the configuration however, once I've restored it I run an lpstat -t and it still shows no printers?
Anything else I need to do?
Thanks,
Colin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 03:55 AM
09-15-2003 03:55 AM
Re: Restoring printers setup
"lpstat: execlp failed"
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 04:09 AM
09-15-2003 04:09 AM
Re: Restoring printers setup
Once you have copied the /var/spool/lp directory, have you tried again restoring with SAM method?
Take a look at this link, maybe could help you:
http://aa11.cjb.net/hpux_admin/2000/06/0357.html
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 04:23 AM
09-15-2003 04:23 AM
Re: Restoring printers setup
Also, make sire that the CLD_FIFO and FIFO names pipes are created in the /var/spool/lp directory.