Re: geo replication as backup

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

 



Is it possible to set the checkpoint on the master node from the slave node where the snapshot will actually be done?

Because I can see the problem that you have a "backup" script on the slave node which actually does the snapshot but somehow it has to run/set the checkpoint on the master node. Somehow these two tasks need to be coordinated. First set the checkpoint, check if checkpoint is successfully and then and only then create the snapshot. How do you coordinate these?

Best,
M






-------- Original Message --------
Subject: Re: [Gluster-users] geo replication as backup
Local Time: November 21, 2016 3:48 PM
UTC Time: November 21, 2016 2:48 PM
From: avishwan@xxxxxxxxxx
To: Gandalf Corvotempesta <gandalf.corvotempesta@xxxxxxxxx>, gluster-users <Gluster-users@xxxxxxxxxxx>

Use checkpoint feature along with Snapshots at slave side to make sure each days snapshot contains all the changes from that day.

When you set checkpoint, you can watch the status of checkpoint completion using geo-rep status. Once checkpoint complete, it is guaranteed that everything created before Checkpoint Time is synced to slave.(Note: It only ensures that all the creates/updates done before checkpoint time but Geo-rep may sync the files which are created/modified after Checkpoint time)

Read more about Checkpoint here
http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Geo%20Replication/#checkpoint

regards
Aravinda
On Monday 21 November 2016 01:36 PM, Gandalf Corvotempesta wrote:

anyone?


Il 19 nov 2016 10:36, "Gandalf Corvotempesta" <gandalf.corvotempesta@xxxxxxxxx> ha scritto:

Would be possible to setup a geo-replicated cluster to be used as backup?
Obviously deleted files on master would be also deleted on the
replicated, so this won't be feasable to be used as backup, BUT if I
schedule a snapshot every night (on the replicated node), I can use
the snapshot as backup.

I case of restore, I have to mount the snapshot e restore from there.

Something like this, on the geo-replicated node:

# gluster snapshot create backup_$(date +%Y%m%d_%H%M) gv0

in a cronjob

Any drawbacks ?
Backing up a multi-terabyte or multi-petabyte would be impossible with
standard rsnyc or any other backup tools.


_______________________________________________
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