<p dir="ltr"></p>
<p dir="ltr">MS<br>
On 5 Sep 2015 12:57 am, &quot;Mathieu Chateau&quot; &lt;<a href="mailto:mathieu.chateau@lotp.fr">mathieu.chateau@lotp.fr</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; so far I use rsnapshot. This script do rsync with rotation, and most important same files are stored only once through hard link (inode). I save space, but still rsync need to parse all folders to know for new files.<br>
&gt;<br>
&gt; I am also interested in solution 1), but need to be stored on distinct drives/servers. We can&#39;t afford to loose data and snapshot in case of human error or disaster.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Cordialement,<br>
&gt; Mathieu CHATEAU<br>
&gt; <a href="http://www.lotp.fr">http://www.lotp.fr</a><br>
&gt;<br>
&gt; 2015-09-03 13:05 GMT+02:00 Merlin Morgenstern &lt;<a href="mailto:merlin.morgenstern@gmail.com">merlin.morgenstern@gmail.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; I have about 1M files in a GlusterFS with rep 2 on 3 nodes runnnig gluster 3.7.3.<br>
&gt;&gt;<br>
&gt;&gt; What would be a recommended automated backup strategy for this setup?<br>
&gt;&gt;<br>
&gt;&gt; I already considered the following:</p>
<p dir="ltr">Have you considered glusterfs geo-rep? It&#39;s actually for disaster recovery. But might suit your backup use case as well.</p>
<p dir="ltr">My two cents</p>
<p dir="ltr">//MS</p>
<p dir="ltr">&gt;&gt;<br>
&gt;&gt; 1) glusterfs snapshots in combination with dd. This unfortunatelly was not possible so far as I could not find any info on how to make a image file out of the snapshots and how to automate the snapshot procedure.<br>
&gt;&gt;<br>
&gt;&gt; 2) rsync the mounted file share to a second directory and do a tar on the entire directory after rsync completed<br>
&gt;&gt;<br>
&gt;&gt; 3) combination of 1 and 2. Doing a snapshot that gets mounted automaticaly and then rsync from there. Problem: How to automate snapshots and how to know the mount path<br>
&gt;&gt;<br>
&gt;&gt; Currently I am only able to do the second option, but the fist option seems to be the most atractive.<br>
&gt;&gt;<br>
&gt;&gt; Thank you for any help on this.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gluster-users mailing list<br>
&gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</p>