- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: restore printer configuration in SAM does not ...
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
Discussions
Discussions
Forums
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
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
тАО05-16-2005 08:22 AM
тАО05-16-2005 08:22 AM
I have printers I need to move from one server to another, both run HPUX 11.00. I used SAM, went to save/restore printer conf and did a save. Then Tarred up /var/sam/lp and put to the other server, untarred and went to recover printer config. Also copied /etc/lp/interface. All the printers show up in the save/restore window in SAM, but in the regular printers window it indicates no printers are configured. What did I miss - it seems I did this once without any issues...
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 08:27 AM
тАО05-16-2005 08:27 AM
Re: restore printer configuration in SAM does not work
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/
cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/
Tar up /var/sam/lp/, transfer to 2nd server:
lpshut
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
lpsched -v
Rgds...Geoff
- Tags:
- lpmgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 08:35 AM
тАО05-16-2005 08:35 AM
Re: restore printer configuration in SAM does not work
can you explain this line?
cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/
There is no /var/sam/lp/lp.new directory.
Thanks
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 11:11 AM
тАО05-16-2005 11:11 AM
SolutionNow, if you don't have a lp.new - then maybe it went into lp - you can test by - moving /var/sam/lp /var/sam/lp.old - then re-run the
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 12:09 PM
тАО05-16-2005 12:09 PM
Re: restore printer configuration in SAM does not work
Thank you much...