Re: Backup bricks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thibault,

Instead of backing up, individual bricks or the entire thin logical volume, you can take a gluster volume snapshot, and you will have a point in time backup of the volume.

gluster snapshots internally use thin lv snapshots, so you can't move the backup out of the system. Also having the backup on the same filesystem as the data doesn't protect you from device failure scenarios. However in events of any other data loss or corruption, you can restore the volume from the snapshot, mount the read-only snapshot and copy the necessary files.

In order to take backup at a remore site, using geo-rep is recommended.

Regards,
Avra

On 08/17/2015 02:27 PM, Thibault Godouet wrote:

I have a 1 x 2 = 2 volume geo-replicated to a single-brick volume in another physical site, where I would like to set up a backup.

I could setup a backup on a mount of the volume, but a quick test shows it is slow in this setup (presumably because there are loads of small files on there).

Instead I thought I could maybe backup the filesystem where the brick is (or rather a snapshot of the thin logical volume).  My understanding is that all the files will be in there, and readable, so it seems to me it would be fine to back things up from there.

Is that right, or am I missing something here?

Note the .glusterfs directory would also be backed up too, although I'm not sure whether that would be of any use in a backup.

More generally is there a recommended way to setup backups?

Thanks,
Thibault.



_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux