Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2015 08:37:04 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Chris Maness <chris@chrismaness.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Dump/Restore for system migration
Message-ID:  <20150121073704.GA79993@slackbox.erewhon.home>
In-Reply-To: <CANnsUMEEm-qNRx7v5OZwjigvV4zP0GsO+m_ONx_56jrRSyVPkQ@mail.gmail.com>
References:  <CANnsUMESEWsEXyyKwqyrnTMiEEYuExTgD0Z4NBuJF0cYSWDChQ@mail.gmail.com> <20150120190321.GB57651@slackbox.erewhon.home> <CANnsUMEEm-qNRx7v5OZwjigvV4zP0GsO+m_ONx_56jrRSyVPkQ@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 20, 2015 at 06:41:40PM -0800, Chris Maness wrote:
> On Tue, Jan 20, 2015 at 11:03 AM, Roland Smith <rsmith@xs4all.nl> wrote:
>=20
> > > Is there a way to
> > > check the deltas between systems manually after migration to see if a=
ny
> > > files need to be merged or copied.  I would imagine the files that ar=
e in
> > > jeopardy are ones that are being written to while the dump is taking
> > > place.  I had a file the keeps track of rss feeds end up missing on t=
he
> > > target system.
> >
> > For copying files between running systems, I tend to use rsync(1).
> > If anything was being modified during the first run, a second run will
> > usually
> > fix it.
>=20
> Awesome, Roland.  That is perfect.  That would definitely get all of the
> missed files.  However, I have never been able to setup a direct login wi=
th
> root.  I think I would need that to use rsync as root.

You can do two things;

1) Set =E2=80=9Crsyncd_enable=3D"Yes"=E2=80=9D in /etc/rc.conf, to make rsy=
ncd start
   automatically.
2) Log in as a normal user. (This user should be in the =E2=80=9Cwheel=E2=
=80=9D group.),
   use =E2=80=9Csu=E2=80=9D to become root and then run =E2=80=9Cservice rs=
yncd onestart=E2=80=9D.

Since I don't want rsyncd running when I don't need it, I prefer to use the
second method.

Direct root logins are generally disabled and frowned upon for security
reasons.

Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)

--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABAgAGBQJUv1cgAAoJEED21dyjijPgXFkP/1aNtKGk2O2XRzOxrkFZ6rH0
Wul5jfU6erjY1o8FkifNqE/94re/FtBT9HD/6owSFJLr2AB4uPYSr7o1gw4ogMXm
GGlSKA8TlkC6mRxV0LMJJorH50RWSGjxTGo6gw4mxMGpPqPGoXhcmsNZZ0kjQIHR
ITEue4J9GonaYvpULuyxT2PSbGJlp4yHhTTEksDgo4+RkOI0TLwAboX+p39I0w3W
UYMLUzdr4GI2mUKlu+WFZYB3Vpv+ihHN6HC1SS5JKrWuG7ddxK/yv77nvoaK7BKr
TEctuGsKy3t39PvFO2lTW8BKlUMfiMky+nkSshOvXjOsbEaHPdb99dEHveY1X1HC
baHVjd9rUKXaH+JeBWilxtIk9EyPohgn/h/lwS0xBfz7IOYAtllsF80s2KDKmeC0
O/Gj2uI+5qe9YQAnSlFB3dCA0ba3DDUL6e0nzC/A/ixc9wtNRs6fOKtQ3jnu3si6
ZOTKA/ELnuP3NPq6c6ogBhJJZQaqX96YQLk/ITNNxA39GJU1fV3oYVuN6ScqRvax
cLbtS5zse7lJxkHuevwIB4MpnBfbNSGD0ytNnSd9qH2mz86HEkF8VSFdPuG0zr2o
FwI80W1wBludzuUGdSMP2YkpwbjHkJCCiQZRq2c1ZxWCe8N/zW5WeaLjx+qDnbLt
AyAGixBKHeX97BzkFk1+
=dLlf
-----END PGP SIGNATURE-----

--zhXaljGHf11kAtnf--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20150121073704.GA79993>