HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restoring old print queue
Operating System - HP-UX
1836437
Members
2451
Online
110100
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-07-2005 04:52 AM
04-07-2005 04:52 AM
Restoring old print queue
Awhile back, my boot hard drive died on the hp 9000 running 11o and I restored using an ignite tape.
It wasn't until recently that I notice the print queue that I use for printing inventory tags doesn't exist anymore. This queue was tweaked by the developers of our ERP system.
Is it possible to restore files from a backup in order to recover the print queue (such as found in /etc/lp/interface, /etc/lp/interface/model.orig, /etc/lp/member, and /var/spool/lp/request)?
This is a queue to a line printer using a jetdirect box.
It wasn't until recently that I notice the print queue that I use for printing inventory tags doesn't exist anymore. This queue was tweaked by the developers of our ERP system.
Is it possible to restore files from a backup in order to recover the print queue (such as found in /etc/lp/interface, /etc/lp/interface/model.orig, /etc/lp/member, and /var/spool/lp/request)?
This is a queue to a line printer using a jetdirect box.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 04:57 AM
04-07-2005 04:57 AM
Re: Restoring old print queue
You can restore the required files - /etc/lp/interface, /etc/lp/interface/model.orig and all other dirs.
mt -f /dev/fmt/0mn fsf 1
tar -xvf /dev/rmt/0mn > /list
then restore the files.
mt -f /dev/fmt/0mn fsf 1
tar -xvf /dev/rmt/0mn > /list
then restore the files.
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 04:58 AM
04-07-2005 04:58 AM
Re: Restoring old print queue
It's probably easier to run the addqueue command (or use hppi if you like) to create the new printer with the same name as before then restore the /var/spool/interface/printername and /var/spool/interface/model.orig/printername files from backup. Ideally, you would disable the printer before doing the restore and then enable afterwards. Take care that exactly the right permissions and ownerships of these files is preserved. It's safe to restore these interface files while lpsched is running although adding the printer does require an lpshut.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP