Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] Backing up /home...?
  • From: Dave Smith <Dave.Smith@xxxxxx>
  • Date: Fri, 21 May 2004 15:05:34 +0100
  • Message-id: <20040521140534.GP18777@xxxxxxxxxxxxxx>
On Fri, May 21, 2004 at 09:01:53AM -0500, C Hamel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have a command sequence...
> # cd /home
> # tar cSpf - . | (cd /home2 ; tar xvSpf - )
> ...that puts all of /home in another place & simultaneously unTARs it. What I
> really need is a TAR command that stays tarred, but I have had real problems
> debugging my command line! I would like to couple that (in a script) with
> the command offered by Ken Schneider, I believe, to delete the older file
> before creating the new one. HEEELLLP!! <G>

tar cjSpf <target_filename.tar.bz2> .

HTH...

--
David Smith Work Email: Dave.Smith@xxxxxx
STMicroelectronics Home Email: David.Smith@xxxxxxxxxxxxxxxxxxxx
Bristol, England GPG Key: 0xF13192F2

< Previous Next >
Follow Ups
References