- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar on script
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
06-21-2004 09:09 PM
06-21-2004 09:09 PM
tar on script
first i do the backup on the tape
second i call a script at which i do the backup on the disk and then gzip this file . in this backup i have many problems .
1-on the mail i see that , the backup on the tape goes will
2- when start backup on the disk first it goes will and then (the folder is 60MB) it gives me error "Can't open /dev/tty to prompt for more media."
3-then it continue to do backup for the second folder and then give the same message(backup on the disk)
4-then when i do the gzip command for the file it gives me the error " not found" .
kindly give me description for what happened with me .
regards,
Fadia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 12:27 AM
06-22-2004 12:27 AM
Re: tar on script
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 12:31 AM
06-22-2004 12:31 AM
Re: tar on script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 12:42 AM
06-22-2004 12:42 AM
Re: tar on script
Item 3 - see item 2
Item 4 - see item 2 (You need 1.5 times the free space of the original file)
Get GNU's gtar - it has a built in ability to do gzipping on the fly.
http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.14/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 01:04 AM
06-22-2004 01:04 AM
Re: tar on script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 01:14 AM
06-22-2004 01:14 AM
Re: tar on script
as something is wrong with it.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:32 PM
06-22-2004 05:32 PM
Re: tar on script
"# Set up the shell variables:
EDITOR=vi
export EDITOR
PATH=$PATH:/usr/local/bin:.
PATH="$ORACLE_HOME/bin:/usr/ccs/bin:/usr/sbin:$PATH"
. /u02/oracle/oa11idb/9.2.0/OA11i_Fin01.env
sqlplus /nolog @/home/oracle8i/SCRIPTS/shutDB
echo "DATABASE IS SHUTDOWN AT:"
date
echo "BACKUP FOR DATABASE FILES"
#tar cvp /u02/oracle
tar cvp /u01/oracle/oa11idata /u03/oracle/oa11idata
echo "START BACKUP FROM DISK"
~oracle8i/SCRIPTS/Disk-Backup-FRI
echo "FINISHED BACKUP"
date
sqlplus /nolog @/home/oracle8i/SCRIPTS/strtDB
echo "DATABASE STARTED AT:"
DATE"
*and then the important o this is the script i call which is "~oracle8i/SCRIPTS/Disk-Backup-FRI"
and on this script i do the following
"# Set up the shell variables:
# EDITOR=vi
# export EDITOR
PATH="$ORACLE_HOME/bin:/usr/ccs/bin:/usr/sbin:$PATH"
echo "BACKUP FOR DATABASE FILES on DISK"
tar cvf /u04/FRI-u03.tar /u03/oracle/oa11idata
tar cvf /u04/FRI-u01.tar /u01/oracle/oa11idata
/usr/contrib/bin/gzip /u04/FRI-u03.tar
/usr/contrib/bin/gzip /u04/FRI-u01.tar
echo "COPY THE DATA"
which gzip
echo "FINISHED BACKUP on DISk"
date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:51 PM
06-22-2004 05:51 PM
Re: tar on script
i know that the tar command restricted to make backup for the file for 2GB , but my question is this restiction for making the backup on the disk or on the tape or whatever the media this restriction work , i want a clear answer please ,