- To: slug@xxxxxxxxxxx
- Subject: [SLUG] Re: How do I relocate /home ?
- From: Mary Gardiner <mary@xxxxxxxxxxxx>
- Date: Sat, 9 Feb 2008 22:38:42 +0000 (UTC)
- User-agent: slrn/0.9.8.1pl1 (Debian)
On 2008-02-09, Alex Samad <alex@xxxxxxxxxxxx> wrote:
> [rsync] -av /home.orig/* /home/ (this will save symlink and
> permissions and other stuff )
Some good practices with rsync:
- if you've got doubt about the command line, run rsync -nv (+ other
options) in order to get it to do a dry run (print out what it is
going to do, but take no action)
- pass the -x flag (rsync -avnx for the dry-run, rsync -avx or rsync
-ax for the real deal) for moving data between partitions and the
like: -x limits it to one filesyste
-Mary