> On Dec 5, 2017, at 6:26 AM, Jussi Sallinen <[email protected]> wrote: > > On 05/12/2017 13.00, Artem Penner wrote: > >> It’s better to implement migration through configuration management, >> describe your instance as a code. It’s the worsted way to migrate your >> instances using rsync/dump/cp/dd/other instruments. >> so if you have database, it’s better to implement software installation in >> ansible for example and then export/import database schemas. > > Ansible, Puppet etc. is definitely the most sane way to accomplish this now > and in the future when upgrading to newer LX image etc. > It takes some time to get it all written but it the payback will be enormous > in the future in amount of time saved compared to manually installing and > configuring everything in place. >
I’ll echo what others have said. Salt/Chef/Ansible/Puppet are the way to go. If you have a ton of static data that you need to migrate (think $HOME or a static web root), you might need to rsync that bit of data. But even things like databases, or if you, for example, run an IMAP server, can let the application replication take care of bringing the new instance up and in sync. -- Coy Hile [email protected] ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
