- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- uncompress problem
Operating System - HP-UX
1748239
Members
3622
Online
108759
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
Discussions
Discussions
Forums
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
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
тАО09-19-2001 08:42 AM
тАО09-19-2001 08:42 AM
uncompress problem
Hi all.
To backup my oracle DB I do the following:
alter tablespace xxx begin backup
host cp /d1/datafile1 /d2/datafile1
host cp /d1/datafile2 /d2/datafile2
alter tablespace xxx end backup
compress -f /d2/datafile1
compress -f /d2/datafile2
... another tablespaces.
Now I?m going to test this backup trying to restore it in another box.
uncompress /d2/datafile1
uncompress /d2/datafile1
...
but with some files (not all of them) uncompress says
uncompress: corrupt input
the same occurs trying uncompress on the original box (so it isn?t a copy between machines problem).
The backup process log say?s nothing about problems with compress
#which compress
/usr/bin/compress:
$Revision: 82.1.1.2 $
PATCH_11_00: compress.o 99/09/03
Thank you in advance.
To backup my oracle DB I do the following:
alter tablespace xxx begin backup
host cp /d1/datafile1 /d2/datafile1
host cp /d1/datafile2 /d2/datafile2
alter tablespace xxx end backup
compress -f /d2/datafile1
compress -f /d2/datafile2
... another tablespaces.
Now I?m going to test this backup trying to restore it in another box.
uncompress /d2/datafile1
uncompress /d2/datafile1
...
but with some files (not all of them) uncompress says
uncompress: corrupt input
the same occurs trying uncompress on the original box (so it isn?t a copy between machines problem).
The backup process log say?s nothing about problems with compress
#which compress
/usr/bin/compress:
$Revision: 82.1.1.2 $
PATCH_11_00: compress.o 99/09/03
Thank you in advance.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2001 09:27 AM
тАО09-19-2001 09:27 AM
Re: uncompress problem
Slightly off topic...how about using gzip instead of compress...it generally get better compression than does compress.
Also, instead of cp'ing how about doing something like gzip -c /d1/datafile1 > /d2/datafile1.gz, which would compress on the fly thus reducing space requirements on /d2.
-Santosh
Also, instead of cp'ing how about doing something like gzip -c /d1/datafile1 > /d2/datafile1.gz, which would compress on the fly thus reducing space requirements on /d2.
-Santosh
Life is what's happening while you're busy making other plans
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2001 06:37 PM
тАО09-19-2001 06:37 PM
Re: uncompress problem
Are the datafiles bigger than 2GB? If yes, try gzip.
Ovidiu
Ovidiu
Simple solutions to complex problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2001 09:02 AM
тАО09-20-2001 09:02 AM
Re: uncompress problem
Thank's all
I'll try gzip, but with --fast option because before using compress I was using gzip -> better compression ratio but worst times (cp+compress 4 hours, cp+gzip 12 hours ...)
Rafa
I'll try gzip, but with --fast option because before using compress I was using gzip -> better compression ratio but worst times (cp+compress 4 hours, cp+gzip 12 hours ...)
Rafa
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP