- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: make_net_recovery exclude question
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
тАО03-01-2006 05:39 AM
тАО03-01-2006 05:39 AM
When we had to do a restore of one of these servers we did not expect the data to be there since we excluded it from the recovery, but the directory itself was not there either.
Is there a way to exclude the contents of a directory, but still retain the directory itself when restored ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 05:52 AM
тАО03-01-2006 05:52 AM
SolutionAlthough I haven't tested this yet, I believe if you specify it this way
-x exclude=/path/to/excluded/dir/*.*
you'll get the dir with nothing underneath
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 06:00 AM
тАО03-01-2006 06:00 AM
Re: make_net_recovery exclude question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 06:10 AM
тАО03-01-2006 06:10 AM
Re: make_net_recovery exclude question
Yep - go down to .../clients/hostname and grep for the dir name in the install.log.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 08:05 AM
тАО03-01-2006 08:05 AM
Re: make_net_recovery exclude question
inc_entire /dev/vx/dsk/rootdg
exclude /osg1/patches/*.*
view of flist shows files within /osg1/patches being archived:
12 osg1/patches 40755 1141066247 1024 1
23 osg1/patches/3.5.tar.gz 100644 1130413090 724159767 707196
17 osg1/patches/temp 40755 1141056086 4096 4
42 osg1/patches/GOLDQPK11i_Plus_Mar2006_depot 40755 1141055902 12288 12
50 osg1/patches/GOLDQPK11i_Plus_Mar2006_depot/catalog 40500 1141055905 12288 12
57 osg1/patches/GOLDQPK11i_Plus_Mar2006_depot/catalog/dfiles 40500 1141055902 1024 1
62 osg1/patches/GOLDQPK11i_Plus_Mar2006_depot/catalog/dfiles/INFO 100644 1141055902 139 1
63 osg1/patches/GOLDQPK11i_Plus_Mar2006_depot/catalog/dfiles/INDEX 100644 1141055902 2327 3
62 osg1/patches/GOLDQPK11i_Plus_Mar2006_depot/catalog/dfiles/_ACL 100444 1138117249 55 1
...etc....
command used in make_net_recovery:
make_net_recovery -v -x inc_entire=/dev/vx/dsk/rootdg -x exclude=/osg1/patches/*.* -s odcign1-0 -P s -a odcign1-0:/var/opt/ignite/recovery/archives/odcign1
Warning messages during run of make_net_recovery:
WARNING: File '/osg1/patches/*.*' in archive_content list not found, or too big
for pax to handle. Skipping.
** 0 - The Volume Group or Filesystem is Not included in the
System Recovery Archive
** 1 - The Volume Group or Filesystem is Partially included in the
System Recovery Archive
** 2 - The Volume Group or Filesystem is Fully included in the
System Recovery Archive
WARNING: File '/osg1/patches/*.*' in archive_content list not found, or too big
for pax to handle. Skipping.
WARNING: list_expander returned a warning,please check the log file.
WARNING: File '/osg1/patches/*.*' in archive_content list not found, or too big
for pax to handle. Skipping.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 08:20 AM
тАО03-01-2006 08:20 AM
Re: make_net_recovery exclude question
What version Of Ignite and VxVM are you using? Version incompatibility could be one of the reasons...i'm conjecturing.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 10:49 AM
тАО03-01-2006 10:49 AM
Re: make_net_recovery exclude question
HPUX 11.11
VERITAS Volume Manager Bundle 3.5
Ignite-UX C.6.2.241
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 01:19 PM
тАО03-01-2006 01:19 PM
Re: make_net_recovery exclude question
#make_net_recovery -s server_name -x inc_entire=vg00 -x exclude=file|dir
HTH
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:20 PM
тАО03-01-2006 02:20 PM
Re: make_net_recovery exclude question
The problem is when we did a restore of the server from a backup image, the excluded directories were missing and had to be recreated.
What I was after was a way to exclude all files and subdirectories but when a restore is done still have the base directory name there and not have to recreate them manually.