- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cloning lp config
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
07-06-2004 06:28 AM
07-06-2004 06:28 AM
I'm trying to copy my 500+ printer config. from one 11.0 system to another using sam.
sam restore print config runs with no error, and creates most of the files / directories that I need.
I've looked at a few postings on this topic, such as below, and I think I've followed instructions.
I've run Sam restore config and transferqueue
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xd2dcf9beca68d511abcd0090277a778c%2C00.html&admit=716493758+1089122942645+28353475
What I dont get are the files under /var/spoo/lp/request/printername
for instance, there is no c00000printername_system name.
Do I have to create these?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 06:40 AM
07-06-2004 06:40 AM
Re: cloning lp config
Here's what I do:
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/ ; cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/
tar cvf /var/sam/lp.tar /var/sam/lp/
ftp/rcp that tarball to remote server.
cd /var/sam/
tar xvf /var/sam/lp.tar
lpshut
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
lpsched -v
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 08:42 AM
07-06-2004 08:42 AM
SolutionBill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 09:00 AM
07-06-2004 09:00 AM
Re: cloning lp config
so is there something prior to my error that I've missed...
the message in the lp log is
can not find or
open /var/spool/lp/request/printername/cxxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 03:06 PM
07-06-2004 03:06 PM
Re: cloning lp config
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 08:32 PM
07-06-2004 08:32 PM
Re: cloning lp config
I've been using continually in a satisfactory way the following procedure:
(On source server)
#/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp
#cd /var/sam/
#tar cvf spool.tar lp/
Put via ftp (binary) the spool.tar file to target server in /var/sam/ directory.
(On target server)
#cd /var/sam/
#mv lp lp.old
#tar xvf spool.tar
#/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp
Although HP doesn't certify this procedure fully, I comment you that it has always worked me.
Don't forget to delete the file spool.tar!
Rgds.