[HPADM] RE: tar cvf , tar xvf

From: Patel Pankaj (pankaj.patel_at_patni.com)
Date: 12/02/03

  • Next message: Abramson, Stuart: "[HPADM] "Symioctl thaw" error"
    To: "Hpux-Admin" <hpux-admin@DutchWorks.nl>
    Date: Tue, 2 Dec 2003 22:42:52 +0530
    
    
    

    Thanks Steve,

    Thats a good idea. I think there is no other way except creating archive
    again using "tar cvf /dev/rmt/0m . "

    Ok fine.
    pankaj

    > -----Original Message-----
    > From: Illgen Steve 448 [mailto:steve.illgen@crackerbarrel.com]
    > Sent: Tuesday, December 02, 2003 10:33 PM
    > To: 'Patel Pankaj'
    > Subject: RE: [HPADM] tar cvf , tar xvf
    >
    > Her is one way:
    >
    > Manually go into the /oracle directory, then perform your tar using a
    > relative pathname.
    >
    > cd /oracle
    > tar cvf /dev/rmt/0m . # remember the period
    >
    > Then create your /oraclenew directory and perform the restore:
    >
    > mkdir /oraclenew
    > cd /oraclenew
    > tar xvf /dev/rmt/0m # no period required. tar uses the
    > pathname saved during the tarball creation.
    >
    > I hope this helps,
    >
    > Steve Illgen
    > UNIX Systems Administrator
    > Cracker Barrel Old Country Store, Inc.
    > "Pass the Biscuits, Please!"
    >
    >
    >
    >
    > -----Original Message-----
    > From: Patel Pankaj [mailto:pankaj.patel@patni.com]
    > Sent: Tuesday, December 02, 2003 10:33 AM
    > To: Hpux-Admin
    > Subject: [HPADM] tar cvf , tar xvf
    >
    > Hi friends,
    >
    > I took backup using tar
    >
    > tar cvf /dev/rmt/0m /oracle
    >
    > Now I have new directory /oraclenew . And I want to restore my
    > backup into /oraclenew. I have run
    >
    > tar xvf /dev/rmt/0m /oraclenew , But it is not working. It is not
    > doing anything , not restoring.
    >
    > If I do "tar xvf /dev/rmt/0m /oracle , than it's start restoring
    > backup but in to /oracle.
    >
    > How can I restore backup into other directory ?
    >
    > Thanks,
    > Pankaj
    >

    
    

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    


  • Next message: Abramson, Stuart: "[HPADM] "Symioctl thaw" error"

    Relevant Pages

    • RE: disappearing files!
      ... Normally you will not loose some files from different locations, you have to delete them, thats the only way how this happens. ... And for your backup problem please postn the complete error message. ... no errors except for the NTbackup. ...
      (microsoft.public.windows.server.general)
    • Re: Performance Issue with DB2 on AIX 5.2ML6 p655
      ... If free pages drop to zero, then you will page out, thats a given .. ... backup .. ... vmstat 1 60 ...
      (comp.unix.aix)
    • Re: Why is my external nas drive so slow when connected to my router?
      ... Alex wrote: ... It was also very easy to setup. ... Thats very undesirable as you say. ... Depends on what you do the incremental backup with. ...
      (comp.sys.ibm.pc.hardware.storage)
    • Re: Backup sbs 2003
      ... thats what I meant by saying that you would have to recreate your ... users and permission, but your right, you would loose everything in ad, sorry ... > backup kicks in to back up to tape/whatever. ... >>> currently backing up emails, data, mmm and thats about it. ...
      (microsoft.public.windows.server.sbs)
    • [HPADM] RE: tar cvf , tar xvf
      ... > doing anything, not restoring. ... > backup but in to /oracle. ... To subscribe/unsubscribe to this list, ...
      (HP-UX-Admin)