Marius Bergmann
2016-Nov-06 09:49 UTC
[Gluster-users] How to backup GlusterFS metadata in /etc, /var etc.?
Hi! I'm running a very tiny setup of just two servers, which each host several gluster bricks in a n=2 replica configuration. Now I want to reinstall the operating system on one of the hosts without having to resync all of the volumes afterwards. I found that there's some metadata outside of the volume bricks, e.g. in /etc/glusterfs, /var/lib/glusterd etc. Can I/do I have to take a (cold) backup of that metadata before reinstalling the host OS, so that there's only a small delta to be synced once the node is up again? If yes, which directories should be backed up? Kind regards, Marius
Kaushal M
2016-Nov-07 06:12 UTC
[Gluster-users] How to backup GlusterFS metadata in /etc, /var etc.?
On Sun, Nov 6, 2016 at 3:19 PM, Marius Bergmann <marius at yeai.de> wrote:> Hi! > > I'm running a very tiny setup of just two servers, which each host > several gluster bricks in a n=2 replica configuration. Now I want to > reinstall the operating system on one of the hosts without having to > resync all of the volumes afterwards. I found that there's some metadata > outside of the volume bricks, e.g. in /etc/glusterfs, /var/lib/glusterd etc. > > Can I/do I have to take a (cold) backup of that metadata before > reinstalling the host OS, so that there's only a small delta to be > synced once the node is up again? If yes, which directories should be > backed up? >/var/lib/glusterd holds everything you need, you'll be okay backing up and restoring it. /etc/glusterfs is installed by the glusterfs packages and doesn't have anything that changes.> Kind regards, > Marius > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users