<div>Is it possible to set the checkpoint on the master node from the slave node where  the snapshot will actually be done?<br></div><div><br>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?</div><div><br></div><div>Best,<br></div><div>M<br></div><div class="protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><div><br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div class="protonmail_signature_block-empty"><br></div><div><br></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div>-------- Original Message --------<br></div><div>Subject: Re: [Gluster-users] geo replication as backup<br></div><div>Local Time: November 21, 2016 3:48 PM<br></div><div>UTC Time: November 21, 2016 2:48 PM<br></div><div>From: avishwan@redhat.com<br></div><div>To: Gandalf Corvotempesta &lt;gandalf.corvotempesta@gmail.com&gt;, gluster-users &lt;Gluster-users@gluster.org&gt;<br></div><div><br></div><div> <span class="font" style="font-family:menlo,consolas,&quot;courier new&quot;,monospace">Use checkpoint feature along with Snapshots at slave side to
      make sure each days snapshot contains all the changes from that
      day.<br> <br> 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)<br> <br> Read more about Checkpoint here<br> <a href="http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Geo%20Replication/#checkpoint" class="moz-txt-link-freetext">http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Geo%20Replication/#checkpoint</a><br> <br> </span> </div><pre cols="72" class="moz-signature">regards
Aravinda<br></pre><div class="moz-cite-prefix">On Monday 21 November 2016 01:36 PM,
      Gandalf Corvotempesta wrote:<br></div><blockquote type="cite"><p dir="ltr">anyone?<br></p><div class="gmail_extra"><div><br></div><div class="gmail_quote"><div>Il 19 nov 2016 10:36, "Gandalf
          Corvotempesta" &lt;<a href="mailto:gandalf.corvotempesta@gmail.com">gandalf.corvotempesta@gmail.com</a>&gt;
          ha scritto:<br></div><div> <br></div><blockquote style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex" class="gmail_quote"><div>Would be
            possible to setup a geo-replicated cluster to be used as
            backup?<br></div><div> Obviously deleted files on master would be also deleted on
            the<br></div><div> replicated, so this won't be feasable to be used as backup,
            BUT if I<br></div><div> schedule a snapshot every night (on the replicated node), I
            can use<br></div><div> the snapshot as backup.<br></div><div> <br></div><div> I case of restore, I have to mount the snapshot e restore
            from there.<br></div><div> <br></div><div> Something like this, on the geo-replicated node:<br></div><div> <br></div><div> # gluster snapshot create backup_$(date +%Y%m%d_%H%M) gv0<br></div><div> <br></div><div> in a cronjob<br></div><div> <br></div><div> Any drawbacks ?<br></div><div> Backing up a multi-terabyte or multi-petabyte would be
            impossible with<br></div><div> standard rsnyc or any other backup tools.<br></div></blockquote></div></div><div><br></div><div><br></div><pre wrap="">_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" class="moz-txt-link-abbreviated">Gluster-users@gluster.org</a>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" class="moz-txt-link-freetext">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></pre></blockquote></blockquote><div><br></div>