[PLUG] Possible reasons why tarball creation would fail

Tom tomas.kuchta.lists at gmail.com
Mon Sep 26 05:10:50 UTC 2016


Try it without the last '/' like this:
tar czvf caddis-home-2016-09-24.tgz /home/rshepard

Although, if you run it like that, you can only restore /home/rshepard
Thus, I find following equivalent more flexible:
cd /home
tar czvf /mnt/hd/caddis/caddis-home-2016-09-24.tgz rshepard

This way you can restore the rshepard dir anywhere you like.

Hope it helps, T

On Sun, 2016-09-25 at 17:08 -0700, Rich Shepard wrote:
>    Prior to upgrading the OS version on my Dell E5410 laptop I tried
> to
> backup everything in ~/ to a 2.7T external hard drive with 22M of
> data on
> it. After deleting cruft from ~/ du -sh told me my home directory
> contained
> 40G of data.
> 
>    With /mnt/hd/caddis/ (the laptop's host name) as the pwd I entered
> the
> command:
>    tar czvf caddis-home-2016-09-24.tgz /home/rshepard/
> 
> The system churned away for a long time (I didn't time it, but it
> would have
> been more than a coffee break in length) and finally exited with an
> error
> message about exiting after prior errors occurred. Tried this again
> with the
> same results.
> 
>    What might cause such a response?
> 
> Rich
> 
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug



More information about the PLUG mailing list