Hi, For the data backup with tar command # tar -zcvf filename.tar.gz filename
For untar the tar file # tar -xvzf filename.tar.gz * Regards, Tarun Kumar Singhal 9899478894* On Fri, Apr 12, 2013 at 6:43 PM, Cool G <hkco...@gmail.com> wrote: > Hi, > I 'm using below command to backup a directory and its sub-directories - > tar -C /u01/app/oracle/product/fmw -zcvf /home/oracle/test/fmw.tar.gz > > but when extracting to specific directory i see u01 created > tar -zxvf /home/oracle/test/fmw.tar.gz -C /u01/app/oracle/product/fmw > > cd /u01/app/oracle/product/fmw > ls -l > u01 > fmw > > Question is to backup /u01/app/oracle/product/fmw direcotry and its > file/subdirectories and while restoring it should overwrite the fmw > directory. > > Any help ? > > Thanks, > hk > _______________________________________________ > Ilugd mailing list > Ilugd@lists.linux-delhi.org > http://frodo.hserus.net/mailman/listinfo/ilugd > _______________________________________________ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd