The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 07-01-2009
percvs88 percvs88 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 8
now I have different error, sorry to ask again:

cd /oraappl/pca/vprod/vprodarch
ls -lrt|head -`ls -lrt|awk 'END{print NR-1}'` > backuplist.log
gtar -cvf /oraappl/pca/backups/nightly_offsite/vprod_arch.'date +%m%d%y'.qz -L b
ackuplist.log
exit

vprod@findb > . ./arch_backup.ksh
gtar: backuplist.log: Invalid tape length
Try `gtar --help' or `gtar --usage' for more information.