From: "Daniel Pielmeier" <daniel.pielmeier@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Transferring an existing install to new disk
Date: Wed, 12 Nov 2008 11:22:05 +0100 [thread overview]
Message-ID: <6142e6140811120222h42f56b1akead6f3814bc6a52e@mail.gmail.com> (raw)
In-Reply-To: <491AA747.5090108@computer.org>
2008/11/12 Garry Smith <garry.smith@computer.org>:
>
> tar -cvzpf - ./bin ./boot ./dev ./etc ./lib ./lost+found ./media ./mnt ./opt
> ./proc ./root ./sbin ./sys ./usr ./var | ssh -p8889 root@192.168.1.69 "cd
> /mnt/gentoo; tar -xzpf -"
>
> Unfortunately the symbolic links all came out as 0 byte files (not sym
> links), so in the end I fell back on rsync (over SSH) which did the job.
>
> How do you normally preserve symlinks using tar piped over SSH?
I think the symlinks shouldn't get affected by the tar+ssh transfer.
There is some tar option that preserves stuff. Take a look at man tar.
I use tar to do regular backups of my complete system and restored it
at least one time without problems. When I am back home I can look up
the command I use.
--
Regards,
Daniel
next prev parent reply other threads:[~2008-11-12 10:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-12 7:35 [gentoo-user] Transferring an existing install to new disk Harry Putnam
2008-11-12 7:59 ` Dirk Uys
2008-11-12 9:52 ` Garry Smith
2008-11-12 10:22 ` Daniel Pielmeier [this message]
2008-11-12 14:54 ` Alan Mackenzie
2008-11-12 17:50 ` Dale
2008-11-12 17:58 ` Paul Hartman
2008-11-12 18:20 ` Dale
2008-11-13 8:18 ` Dirk Uys
2008-11-12 10:35 ` Neil Bothwick
2008-11-12 14:03 ` [gentoo-user] " Harry Putnam
2008-11-12 14:53 ` Neil Bothwick
2008-11-12 15:51 ` Harry Putnam
2008-11-12 16:20 ` Neil Bothwick
2008-11-12 17:56 ` Harry Putnam
2008-11-12 17:58 ` Dale
2008-11-13 10:54 ` Peter Humphrey
2008-11-12 19:55 ` [gentoo-user] " Michele Schiavo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6142e6140811120222h42f56b1akead6f3814bc6a52e@mail.gmail.com \
--to=daniel.pielmeier@googlemail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox