1 |
On Thursday 23 March 2006 22:52, Bo Andresen wrote: |
2 |
> On Thursday 23 March 2006 21:24, Michael Kintzios wrote: |
3 |
> > What should I run to untar the rest of /usr (excluding /usr/portage) into |
4 |
> > /dev/hda3 and at the same time delete it from within the gentoo_usr.tgz |
5 |
> > archive, so that I get some space in /dev/hda2 to untar /usr/portage? |
6 |
> > Really, what I think is needed here is untarring of the archive, while |
7 |
> > untarred data is dynamically deleted immediately after untarred to make |
8 |
> > space for more data to be untarred . . . do I make sense? |
9 |
> |
10 |
> You don't have to scp the archieve to the machine before unpacking it. |
11 |
> |
12 |
> http://gentoo-wiki.com/HOWTO_Backup#Securely_backing_up_a_filesystem_on_a_r |
13 |
>emote_machine |
14 |
> |
15 |
|
16 |
Perhaps that link wasn't as useful to you as I thought when I transmitted it. |
17 |
Here are a couple of other examples. I think it requires GNU tar. |
18 |
|
19 |
This compacts data recursively from /from/path and using gzip, pipes it |
20 |
through ssh and extracts it into /to/path: |
21 |
# tar -zcf - /from/path | ssh desktop.homelinux.com "tar -C /to/path -xzf -" |
22 |
|
23 |
And this just pipes through ssh and extracts using bunzip2 to /to/path on |
24 |
remote machine |
25 |
# cat file.tar.bz2 | ssh desktop.homelinux.com "tar -C /to/path -xjf -" |
26 |
|
27 |
-- |
28 |
Bo Andresen |
29 |
-- |
30 |
gentoo-user@g.o mailing list |