The easiest way would be to rsync over the /usr/local/autotest server
installation and then use mysql dump for the DB portion.

Using autotest_web as the main database (unless you explicitly changed this
it will be called autotest_web)

mysqldump  -u user -p  autotest_web > autotest_db_backup.sql

This will create a textual db backup that you can then restore on your new
server using:

mysql -u user -p < autotest_db_backup.sql

Other than that make sure your global_config.ini references only your new
server.

Let us know if you run into any problems but it shouldn't be any different
than that if the server packages are exactly they same :)

-Scott


On Sat, Feb 13, 2010 at 11:57, K.D. Lucas <[email protected]> wrote:

> I have an existing AutoTest server setup and working, and I want to migrate
> the current install onto a new machine, which will be a replacement machine.
>
> It should be identical, as the new machine will use the current hostname,
> etc. Is there an easy way to do this?
>
> Kelly
>
> --
> K.D. Lucas
> [email protected]
>
> _______________________________________________
> Autotest mailing list
> [email protected]
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>
>
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to