Re: Restoring from a tarball

2011-10-18 Thread Larry Brower
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/18/2011 03:33 PM, Joe Zeff wrote: > On 10/18/2011 01:18 PM, Ian Malone wrote: >> Yes by default it will have stripped them on archiving. Since they >> were archived with the full path otherwise you can using -C / will get >> the original full p

Re: Restoring from a tarball

2011-10-18 Thread Joe Zeff
On 10/18/2011 01:18 PM, Ian Malone wrote: > Yes by default it will have stripped them on archiving. Since they > were archived with the full path otherwise you can using -C / will get > the original full path back: > tar xf marcia.tar.bz2 -C / > Do this as user 'marcia' and you should be okay for U

Re: Restoring from a tarball

2011-10-18 Thread Ian Malone
On 18 October 2011 19:59, Todd Zullinger wrote: > Frank Cox wrote: >> The problem you're going to run into is the initial / that you used >> before home/marcia when you created the tarball.  Tar won't restore >> the initial / so when you extract the files they will end up in >> home/marcia under w

RE: Restoring from a tarball

2011-10-18 Thread Miner, Jonathan W (US SSA)
> From: users-boun...@lists.fedoraproject.org > [users-boun...@lists.fedoraproject.org] On Behalf Of Frank Cox > [thea...@sasktel.net] > > The easiest solution is to extract the tarball and move (with the mv command) > the marcia directory into /home on completion. First... you can always just

Re: Restoring from a tarball

2011-10-18 Thread Todd Zullinger
Frank Cox wrote: > The problem you're going to run into is the initial / that you used > before home/marcia when you created the tarball. Tar won't restore > the initial / so when you extract the files they will end up in > home/marcia under whatever directory you're currently in at that > time. >

Re: Restoring from a tarball

2011-10-18 Thread Frank Cox
On Tue, 18 Oct 2011 11:24:34 -0700 Joe Zeff wrote: > sudo tar -cjf marcia.tar.bz2 /home/marcia > Assuming that > the username hasn't changed and that I've put the backup in the same > place that I made it, what arguments to I give tar to make it put > everything back exactly where it was? I a