Re: [Gluster-users] How to backup GlusterFS metadata in /etc, /var etc.?

2016-11-06 Thread Kaushal M
On Sun, Nov 6, 2016 at 3:19 PM, Marius Bergmann  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@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users


[Gluster-users] How to backup GlusterFS metadata in /etc, /var etc.?

2016-11-06 Thread Marius Bergmann
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
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users