[HPADM] tar cvf , tar xvf

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

  • Next message: Patel Pankaj: "[HPADM] RE: tar cvf , tar xvf"
    To: "Hpux-Admin" <hpux-admin@DutchWorks.nl>
    Date: Tue, 2 Dec 2003 22:02:42 +0530
    
    
    

    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: Patel Pankaj: "[HPADM] RE: tar cvf , tar xvf"

    Relevant Pages

    • tar vs dpkg --get-selections for backup scheme
      ... past with various backup programs like mondo to name one, ... Not sure how you can fit several tar to one cd but maybe one can use ... To restore, you would have to boot with a rescue cd like Knoppix, ... Install a base system, set the package selections with dpkg ...
      (Debian-User)
    • RE: problem with restore
      ... If you take backup and try restore using tar, ... Note:- Make sure that you have rewinded the tape before trying to ...
      (RedHat)
    • Re: this is not a specific linux question but more of just UNIX - tar, dump, restore command questio
      ... G>>>> how to do a restore from a tar file assuming they are using tar. ... G>>>> rrestore if dump was used? ... G>>> tar is pretty simple to do a backup and restore. ...
      (comp.os.linux.misc)
    • Backup and Restore Files
      ... What is the best way to backup and restore a runtime database file? ... pszDisplayName As String ...
      (microsoft.public.access.gettingstarted)
    • Re: Linux Backup Administration
      ... Gnutar and star provide extensions to the original tar (which did ... > relative pros and cons of cpio style vs. tar style backup? ... goal is to be able to restore an exactly identical system as fast ... The most likely reason to need the backup is that someone accidentally ...
      (Fedora)