- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- find . AND -prune commands
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
05-31-2006 04:04 AM
05-31-2006 04:04 AM
find . AND -prune commands
cd / ; find . -path ./buds -prune -o -print
Here's the directory structure:
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 143360 63724 74715 46% /
/dev/vg00/lvol1 83733 38537 36822 51% /stand
/dev/vg00/lvol8 1572864 1073336 468698 70% /var
/dev/vg00/lvol7 1261568 649236 574148 53% /usr
/dev/vg00/u1 512000 211839 281419 43% /u1
/dev/vg00/lvol4 1048576 12937 971132 1% /tmp
/dev/vg00/lvol6 557056 270983 268225 50% /opt
/dev/vg00/lvol5 20480 1113 18163 6% /home
/dev/vg04/dbmsdsk4 8888320 2597302 6097654 30% /dbms/disk4
/dev/vg03/dbmsdsk3 8888320 3891986 4840222 45% /dbms/disk3
/dev/vg02/dbmsdsk2 8888320 3650734 5074622 42% /dbms/disk2
/dev/vg01/dbms 17776640 12907528 4793100 73% /buds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 04:17 AM
05-31-2006 04:17 AM
Re: find . AND -prune commands
your command looks okay - but for backing up a whole system, an ignite backup is much more valuable than a simple cpio tape.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 05:07 AM
05-31-2006 05:07 AM
Re: find . AND -prune commands
I was under the impression that ignite was used for HPUX system files and settings to restore basic configurations (LAN, printers, etc..)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 07:30 AM
05-31-2006 07:30 AM
Re: find . AND -prune commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 07:50 AM
05-31-2006 07:50 AM
Re: find . AND -prune commands
Position after the first ignite tape record (bootlif).
# mt -t /dev/rmt/0mn fsf 1
Note the no rewind option 0mn.
# tar -xvf /dev/rmt/0m filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 07:55 AM
05-31-2006 07:55 AM
Re: find . AND -prune commands
Ignite is the preferred method for creating recovery images of vg00. That said, it is not a generalized backup tool.
If you have a 'make_tape_recovery' tape from Ignite, and want to restore an individual file (on a PA-RISC server), you can do:
# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m filename
Ignite uses 'pax' in reality to create the archive on the tape.
Regards!
...JRF...