Hi Junaid, I just wanted to make a clarification. You don't really *need* to backup /var/lib/maas/* for most cases. The Region Controller will automatically re-generate everything (all config files, re-import images, etc). So:
1. If you have both MAAS Region and Rack on the same machine, there's definitely no need to backup /var/lib/maas/* 2. If you have additional stand alone rack controllers, you need to make sure the secret is updated to the one re-generated in (1) in order for the rack controller to re-connect to the new region controller. Hope this helps! On Wed, Feb 1, 2017 at 3:14 PM, Junaid Ali <[email protected]> wrote: > > However, you can omit /var/lib/maas/boot-resources. This directory > contains the boot-images, on restore MAAS will automatically reimport them. > +1. Thanks Lee for pointing it out. > > On Feb 2, 2017 01:10, "Lee Trager" <[email protected]> wrote: > > Hi Junaid, > > You are correct that /var/lib/maas should also be backed up as well. > However, you can omit /var/lib/maas/boot-resources. This directory contains > the boot-images, on restore MAAS will automatically reimport them. > > Lee > > On Wed, Feb 1, 2017 at 11:23 AM, Junaid Ali <[email protected]> wrote: > >> We should also consider /var/lib/maas/. I was able to completely restore >> maas (both region and rack controller) with >> 1. MAAS DB >> 2. /etc/maas >> 3. /var/lib/maas >> >> Thanks, >> Junaid >> >> On Feb 2, 2017 00:18, "Mark Shuttleworth" <[email protected]> wrote: >> >>> >>> I think everything you care about is in the postgres database and >>> /etc/maas/ >>> >>> Mark >>> >>> On 01/02/17 17:48, Sandor Zeestraten wrote: >>> >>> Hi, >>> >>> Where can I find procedures for backing up and restoring a region >>> controller? >>> If there isn't any, what would be the current best approach to do so? >>> >>> -- >>> Sandor Zeestraten >>> >>> >>> >>> >>> >>> -- >>> Maas-devel mailing list >>> [email protected] >>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >>> an/listinfo/maas-devel >>> >>> >> -- >> Maas-devel mailing list >> [email protected] >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >> an/listinfo/maas-devel >> >> > > > -- > Maas-devel mailing list > [email protected] > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/maas-devel > > -- Andres Rodriguez Engineering Manager, MAAS Canonical USA, Inc.
-- Maas-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/maas-devel
