<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Association Kelio &#187; Mogui</title>
	<atom:link href="http://blog.kelio.asso.fr/author/mogui/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kelio.asso.fr</link>
	<description>le blog de l&#039;asso</description>
	<lastBuildDate>Mon, 03 Jan 2011 20:38:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Bonne année 2011 !</title>
		<link>http://blog.kelio.asso.fr/2011/01/03/bonne-annee-2011/</link>
		<comments>http://blog.kelio.asso.fr/2011/01/03/bonne-annee-2011/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 20:35:27 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Asso]]></category>
		<category><![CDATA[Kelio.org hébergement]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=127</guid>
		<description><![CDATA[Salut à tous ! J&#8217;ai le plaisir de vous souhaiter une bonne et heureuse année 2011 avec Kelio Merci à tous pour votre confiance ! Et pour fêter cela, j&#8217;ai l&#8217;immense plaisir de vous informer que nous avons activement travaillé sur la plateforme d&#8217;hébergement depuis novembre 2010 pour la stabiliser un maximum. Cela résulte d&#8217;un [...]]]></description>
			<content:encoded><![CDATA[<p>Salut à tous !</p>
<p>J&#8217;ai le plaisir de vous souhaiter une bonne et heureuse année 2011 avec Kelio <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Merci à tous pour votre confiance !</p>
<p>Et pour fêter cela, j&#8217;ai l&#8217;immense plaisir de vous informer que nous avons activement travaillé sur la plateforme d&#8217;hébergement depuis novembre 2010 pour la stabiliser un maximum.<br />
Cela résulte d&#8217;un <strong>uptime de 100%*</strong> pour le mois de décembre ! C&#8217;est-à-dire que le serveur était accessible <strong>tout le temps</strong> !</p>
<p>Certains le savent, ces six derniers mois, nous avions de nombreux problèmes de crashs due à un manque de mémoire virtuelle (lors des pointes de visites) et cela occasionnait ces coupures pouvant atteindre plusieurs heures.</p>
<p>Que la santé soit avec vous ! <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><em>* contrôle de l&#8217;accessibilité effectué toutes les 5 minutes.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2011/01/03/bonne-annee-2011/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sauvegarder des VMs VMware ESX(i) à chaud</title>
		<link>http://blog.kelio.asso.fr/2010/10/18/sauvegarder-des-vms-vmware-esxi-a-chaud/</link>
		<comments>http://blog.kelio.asso.fr/2010/10/18/sauvegarder-des-vms-vmware-esxi-a-chaud/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 19:47:03 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Administration système]]></category>
		<category><![CDATA[backbone]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[netvault]]></category>
		<category><![CDATA[openvz]]></category>
		<category><![CDATA[virtualisation]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=118</guid>
		<description><![CDATA[Bonjour à tous Ce sujet n&#8217;a rien à voir avec Kelio à proprement parlé. Toutefois certains le savent, nous souhaitons migrer de la solution de virtualisation &#171;&#160;OpenVZ&#160;&#187; à &#171;&#160;VMware ESXi&#160;&#187;. Pour l&#8217;entreprise où Vinux et moi mêmes sommes employés, j&#8217;ai eu à écrire un script de sauvegarde de VM à chaud pour économiser le cout [...]]]></description>
			<content:encoded><![CDATA[<p>Bonjour à tous <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ce sujet n&#8217;a rien à voir avec Kelio à proprement parlé.<br />
Toutefois certains le savent, nous souhaitons migrer de la solution de virtualisation &laquo;&nbsp;OpenVZ&nbsp;&raquo; à &laquo;&nbsp;VMware ESXi&nbsp;&raquo;.</p>
<p>Pour l&#8217;entreprise où Vinux et moi mêmes sommes employés, j&#8217;ai eu à écrire un script de sauvegarde de VM à chaud pour économiser le cout d&#8217;une licence &laquo;&nbsp;Sauvegarde VCB&nbsp;&raquo; du logiciel Bakbone NetVault.<br />
Aussi, j&#8217;ai écris un script en BASH permettant de sauvegarder et compresser les VM avant de les envoyer dans un dossier, le tout sans interruption de service !</p>
<p>L&#8217;idée de base étant d&#8217;installer un agent NetVault sur le &laquo;&nbsp;service console&nbsp;&raquo; de ESX qui se chargera de sauvegarder le tout.<br />
Toutefois, il est tout à fait possible de faire un montage NFS, CIFS dans un dossier ; Et donc de sauvegarder les données sur un autre serveur.</p>
<p>Commencez par créer /opt/backup-vm.sh</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#Copyright (C) 2010 Mercier Benjamin</span>
<span style="color: #666666; font-style: italic;">#This program is free software; you can redistribute it and/or modify</span>
<span style="color: #666666; font-style: italic;">#it under the terms of the GNU General Public License as published by</span>
<span style="color: #666666; font-style: italic;">#the Free Software Foundation; either version 2 of the License, or</span>
<span style="color: #666666; font-style: italic;">#(at your option) any later version.</span>
<span style="color: #666666; font-style: italic;">#This program is distributed in the hope that it will be useful,</span>
<span style="color: #666666; font-style: italic;">#but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<span style="color: #666666; font-style: italic;">#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
<span style="color: #666666; font-style: italic;">#GNU General Public License for more details.</span>
<span style="color: #666666; font-style: italic;">#You should have received a copy of the GNU General Public License along</span>
<span style="color: #666666; font-style: italic;">#with this program; if not, write to the Free Software Foundation, Inc.,</span>
<span style="color: #666666; font-style: italic;">#51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span>
<span style="color: #007800;">SOURCE</span>=<span style="color: #000000; font-weight: bold;">/</span>vmfs<span style="color: #000000; font-weight: bold;">/</span>volumes<span style="color: #000000; font-weight: bold;">/</span>ISCSI-datastore
<span style="color: #007800;">DESTINATION</span>=<span style="color: #000000; font-weight: bold;">/</span>vmfs<span style="color: #000000; font-weight: bold;">/</span>volumes<span style="color: #000000; font-weight: bold;">/</span>ISCSI-datastore<span style="color: #000000; font-weight: bold;">/</span>backups
<span style="color: #007800;">DATE</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">&quot;+%F&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">SERVEUR</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">hostname</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Script de backup des VM a chaud&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Par Benjamin Mercier &lt;bmercier@teclib.com&gt;&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Celui-ci fait une copie à chaud dans un dossier des VMs&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Serveur : <span style="color: #007800;">$SERVEUR</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Datastore : <span style="color: #007800;">$SOURCE</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Datastore de backup : <span style="color: #007800;">$DESTINATION</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Serveur ESX primaire. Suppression des VMs du répertoire de déstination&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup-vm.log
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-Rfv</span> <span style="color: #007800;">$DESTINATION</span><span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup-vm.log
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Suppression terminée&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup-vm.log
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup-vm.log
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> MACHINE <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #007800;">$SOURCE</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$MACHINE</span>&quot;</span> =~ <span style="color: #ff0000;">'srv-'</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #7a0874; font-weight: bold;">echo</span>  <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;Backup de la machine <span style="color: #007800;">$MACHINE</span> &quot;</span>
                <span style="color: #007800;">TEST_REGISTERED</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span>vmware-cmd <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #007800;">$MACHINE</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">wc</span> -l<span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #007800;">$SOURCE</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$MACHINE</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$MACHINE</span>.vmx <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$TEST_REGISTERED</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup-vm.log
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Machine virtuelle : <span style="color: #007800;">$MACHINE</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup-vm.log
&nbsp;
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">'. '</span>
                        vmware-cmd <span style="color: #007800;">$SOURCE</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$MACHINE</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$MACHINE</span>.vmx createsnapshot <span style="color: #ff0000;">&quot;BackupScript&quot;</span> <span style="color: #ff0000;">&quot;Snapshot de backup.&quot;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">1</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup-vm.log
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">'. '</span>
&nbsp;
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">'. '</span>
                        <span style="color: #c20cb9; font-weight: bold;">tar</span> czvf <span style="color: #007800;">$DESTINATION</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$MACHINE</span>.tar.gz <span style="color: #007800;">$SOURCE</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$MACHINE</span> <span style="color: #660033;">--exclude</span> <span style="color: #ff0000;">'*.vswap*'</span> <span style="color: #660033;">--exclude</span> <span style="color: #ff0000;">'*.vmsn*'</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup-vm.log
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">'. '</span>
&nbsp;
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">'. '</span>
                        vmware-cmd <span style="color: #007800;">$SOURCE</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$MACHINE</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$MACHINE</span>.vmx removesnapshots <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup-vm.log
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">'. '</span>
&nbsp;
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'. [terminé]'</span>
                <span style="color: #000000; font-weight: bold;">else</span>
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'. [ESX non propriétaire de cette VM]'</span>
                <span style="color: #000000; font-weight: bold;">fi</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>Vous prendrez soin de renseigner changer vos chemins ; Et vous pourrez aussi ajouter un contrôle des points de montage si vous effectuez la sauvegarde sur un serveur distant.<br />
Sachez aussi que la sauvegarde ne sera effective que pour les VMs gérés par le serveur. Si vous avez trois serveurs ESX, vous devrez avoir un agent par serveur.</p>
<p>Editez le fichier /etc/crontab :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>crontab
&nbsp;
<span style="color: #666666; font-style: italic;"># Rendez executable le script :</span>
<span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>backup-vm.sh
&nbsp;
<span style="color: #666666; font-style: italic;"># Ajouter à la fin :</span>
01 <span style="color: #000000;">4</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">2</span> root <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>backup-vm.sh <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
&nbsp;
<span style="color: #666666; font-style: italic;"># Redémarrez Cron</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>cron restart</pre></div></div>

<p>Cela pourra peut être rendre service à certains.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2010/10/18/sauvegarder-des-vms-vmware-esxi-a-chaud/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Problème sur la plateforme d&#8217;hébergement</title>
		<link>http://blog.kelio.asso.fr/2010/10/16/probleme-sur-la-plateforme-dhebergement/</link>
		<comments>http://blog.kelio.asso.fr/2010/10/16/probleme-sur-la-plateforme-dhebergement/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 17:47:00 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Kelio.org hébergement]]></category>
		<category><![CDATA[Maintenance]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=107</guid>
		<description><![CDATA[Bonjour à tous. Depuis une semaine, notre hyperviseur &#171;&#160;Lisa.loopiz.net&#160;&#187; connait des soucis. Cela impacte les envois par FTP ainsi que les uploads via PHP. Nous travaillons activement pour résoudre ce soucis. D&#8217;après nos premiers diagnostics, ces erreurs pourraient provenir d&#8217;une ram défectueuse ou d&#8217;un problème Kernel. Vous serez tenu informé par ce ticket. Attention ! [...]]]></description>
			<content:encoded><![CDATA[<p>Bonjour à tous.</p>
<p>Depuis une semaine, notre hyperviseur &laquo;&nbsp;Lisa.loopiz.net&nbsp;&raquo; connait des soucis.<br />
Cela impacte les envois par FTP ainsi que les uploads via PHP.</p>
<p>Nous travaillons activement pour résoudre ce soucis.</p>
<p>D&#8217;après nos premiers diagnostics, ces erreurs pourraient provenir d&#8217;une ram défectueuse ou d&#8217;un problème Kernel.</p>
<p>Vous serez tenu informé par ce ticket.</p>
<p><strong>Attention ! Aucune validation de compte ne sera plus effectuée jusqu&#8217;à la résolution de ce bug.</strong></p>
<p>Merci de votre compréhension</p>
<p><strong>Edit  au 18 octobre</strong> : J&#8217;ai le plaisir de vous informer que vous avons résolu le problème, que vous pouvez désormais uploader vos données correctement et que les comptes en attente vont êtres validés <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2010/10/16/probleme-sur-la-plateforme-dhebergement/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Premiers emails d&#8217;avertissement envoyés</title>
		<link>http://blog.kelio.asso.fr/2010/08/26/premiers-emails-davertissement-envoyes/</link>
		<comments>http://blog.kelio.asso.fr/2010/08/26/premiers-emails-davertissement-envoyes/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 17:43:58 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=99</guid>
		<description><![CDATA[Salut à tous, Nous avons envoyé les premiers emails d&#8217;avertissement de dépassement de quota hier soir. Si vous avez reçu un email mais que vous ne pouvez pas revenir sous la barre des 200Mo d&#8217;espace utilisé, n&#8217;hésitez pas à prendre contact avec nous pour que nous vous mettions sur une offre temporaire permettant d&#8217;utiliser plus [...]]]></description>
			<content:encoded><![CDATA[<p>Salut à tous,</p>
<p>Nous avons envoyé les premiers emails d&#8217;avertissement de dépassement de quota hier soir.</p>
<p>Si vous avez reçu un email mais que vous ne pouvez pas revenir sous la barre des 200Mo d&#8217;espace utilisé, n&#8217;hésitez pas à prendre contact avec nous pour que nous vous mettions sur une offre temporaire permettant d&#8217;utiliser plus d&#8217;espace <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>En parlant d&#8217;emails.. On a aussi été touché chez Kelio <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> </p>
<p>&#8230;</p>
<blockquote><p>Ceci est un message envoyé par Kelio.org &#8211; Hébergeur indépendant et libre.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Bonjour,</p>
<p>Votre quota d&#8217;espace a été dépassé et votre site peut se voir suspendu si cette situation n&#8217;est pas corrigé rapidement.</p>
<p>Si vous avez besoin de plus d&#8217;espace, veuillez prendre contact avec nous afin d&#8217;étudier vos projets.</p>
<p>Veuillez prendre contact avec nous, si vous souhaitez avoir plus d&#8217;informations à ce sujet.<br />
* Votre compte : kelio<br />
* L&#8217;espace utilisé par votre compte : 271.97Mo<br />
* L&#8217;espace auquel vous avez droit : 200 Mo<br />
* Date d&#8217;envoi : 25-08-2010 à 21:21</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Vous pouvez répondre directement à cet email.<br />
Pensez à conserver la référence de ce message.<br />
Info facultative :  - [Réf.1282764102]<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-</p></blockquote>
<p>Mais encore&#8230;</p>
<blockquote><p>Ceci est un message envoyé par Kelio.org &#8211; Hébergeur indépendant et libre.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Bonjour,</p>
<p>Votre quota d&#8217;espace a été dépassé et votre site peut se voir suspendu si cette situation n&#8217;est pas corrigé rapidement.</p>
<p>Si vous avez besoin de plus d&#8217;espace, veuillez prendre contact avec nous afin d&#8217;étudier vos projets.</p>
<p>Veuillez prendre contact avec nous, si vous souhaitez avoir plus d&#8217;informations à ce sujet.<br />
* Votre compte : mogui<br />
* L&#8217;espace utilisé par votre compte : 2941.61Mo<br />
* L&#8217;espace auquel vous avez droit : 200 Mo<br />
* Date d&#8217;envoi : 25-08-2010 à 21:21</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Vous pouvez répondre directement à cet email.<br />
Pensez à conserver la référence de ce message.<br />
Info facultative :  - [Réf.1282764103]<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-</p></blockquote>
<p>You are not alone <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2010/08/26/premiers-emails-davertissement-envoyes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Kelio et la validation des nouveaux membres</title>
		<link>http://blog.kelio.asso.fr/2010/02/27/kelio-et-la-validation-des-nouveaux-membres/</link>
		<comments>http://blog.kelio.asso.fr/2010/02/27/kelio-et-la-validation-des-nouveaux-membres/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 19:35:23 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Asso]]></category>
		<category><![CDATA[Communuauté]]></category>
		<category><![CDATA[Kelio.org hébergement]]></category>
		<category><![CDATA[Non classé]]></category>
		<category><![CDATA[compte]]></category>
		<category><![CDATA[philosophie]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=95</guid>
		<description><![CDATA[Bonjour à tous, Aujourd&#8217;hui, j&#8217;écris un billet pour vous donner quelques informations concernant la validation des comptes. Lors de mes recherches pour voir ce qui se dit sur Kelio, je suis tombé sur divers posts de gens ne souhaitant pas s&#8217;inscrire à cause de la description du projet. Ou encore des gens &#171;&#160;pleurant&#160;&#187; car leurs [...]]]></description>
			<content:encoded><![CDATA[<p>Bonjour à tous,</p>
<p>Aujourd&#8217;hui, j&#8217;écris un billet pour vous donner quelques informations concernant la validation des comptes.</p>
<p>Lors de mes recherches pour voir ce qui se dit sur Kelio, je suis tombé sur divers posts de gens ne souhaitant pas s&#8217;inscrire à cause de la description du projet.<br />
Ou encore des gens &laquo;&nbsp;pleurant&nbsp;&raquo; car leurs sites se sont vu refusés.</p>
<p>Chez Kelio, nous ne jugeons pas les projets ! Ceux-ci peuvent avoir n&#8217;importe quel sujet, du moment que celui-ci est légal et qu&#8217;il ne nous fera pas fermer <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>J&#8217;ai validé beaucoup  de projets qui me semblaient sans avenir ; Je ne décide pas. Je ne suis pas là pour ça.<br />
Chacun à droit d&#8217;avoir son espace personnel, même si le site web est ridicule. <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Afin d&#8217;optimiser vos chances d&#8217;être accepté, donnez simplement une description complète, ou au moins une description que nous puissions comprendre et interpréter.<br />
Mauvais exemples :</p>
<ul>
<li>C mon sit de voiture</li>
<li>Je veux faire un site pour héberger un forum comme telechargementz et de films</li>
</ul>
<p>Bon exemples :</p>
<ul>
<li>Bonjour, je souhaite héberger un site sur les photos de mon voyage à Los Angeles l&#8217;été dernier. Les photos seront lourdes (environ 20mo/pièce), j&#8217;éspère que cela ne vous dérangera pas. Merci, Bien cordialement Monsieur Gerard</li>
<li>Mon site existe déja, c&#8217;est http://google.fr, j&#8217;ai besoin d&#8217;un nouvel hébergement car l&#8217;hébergeur ICG ne suffit plus, et je ne souhaite pas payer 25e par mois.</li>
<li>Hébergement d&#8217;un site sur mon équipe de jeux, Counter Strüke 1.12. Ma team se nomme &laquo;&nbsp;Les bronzés font du Counter&nbsp;&raquo;</li>
<li>Je veux créer un site personnel, il contiendra un portefolio, des photos, des scripts, des tutoriels</li>
<li>Site de tutorials comme le site du zero</li>
<li>J&#8217;veu créé un site sur la rancontrre de ma main et la main de jak chiraq</li>
</ul>
<p>J&#8217;espère que ces exemples vous aideront à réaliser une description correcte.<br />
Vous pouvez le voir, nous ne demandons pas de &laquo;&nbsp;vraies descriptions&nbsp;&raquo; complète comme certains hébergeur.</p>
<p>A présent, vous n&#8217;aurez plus de raisons pour voir votre projet refusé <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>PS : Merci aux gens qui ont mis un petit mot gentil pour l&#8217;équipe à la fin de la description du projet ! <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2010/02/27/kelio-et-la-validation-des-nouveaux-membres/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vous y croyez, vous ?</title>
		<link>http://blog.kelio.asso.fr/2010/02/05/vous-y-croyez-vous/</link>
		<comments>http://blog.kelio.asso.fr/2010/02/05/vous-y-croyez-vous/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 23:16:57 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Développement]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[Kelio.org hébergement]]></category>
		<category><![CDATA[0.9.0]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[fake]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=88</guid>
		<description><![CDATA[Se pourrait-il qu&#8217;il s&#8217;agisse du nouveau design du futur site de l&#8217;association ? Qu&#8217;en pensez-vous ? Vous plait-il ? Préférez-vous l&#8217;ancien (ou les anciens ?) Encore un grand merci à Germain qui s&#8217;occupe des designs Kelio depuis le début de l&#8217;aventure !! Notez que le visuel met en scène celui-ci sur le panel 0.9.0, mais [...]]]></description>
			<content:encoded><![CDATA[<p>Se pourrait-il qu&#8217;il s&#8217;agisse du nouveau design du futur site de l&#8217;association ? <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Qu&#8217;en pensez-vous ? Vous plait-il ? Préférez-vous l&#8217;ancien (ou les anciens ?)</p>
<p>Encore un grand merci à Germain qui s&#8217;occupe des designs Kelio depuis le début de l&#8217;aventure !!</p>
<p>Notez que le visuel met en scène celui-ci sur le panel 0.9.0, mais il sera aussi sur notre site kelio.asso.fr <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div id="attachment_89" class="wp-caption aligncenter" style="width: 556px"><a href="http://blog.kelio.asso.fr/wp-content/uploads/Capture-d’écran-2010-02-05-à-00.15.19.png"><img class="size-full wp-image-89" title="Nouveau design panel" src="http://blog.kelio.asso.fr/wp-content/uploads/Capture-d’écran-2010-02-05-à-00.15.19.png" alt="" width="546" height="298" /></a><p class="wp-caption-text">Nouveau design, sur le panel</p></div>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2010/02/05/vous-y-croyez-vous/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Première vue du panel 0.9.0</title>
		<link>http://blog.kelio.asso.fr/2010/01/09/08/</link>
		<comments>http://blog.kelio.asso.fr/2010/01/09/08/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 23:20:43 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Développement]]></category>
		<category><![CDATA[Kelio.org hébergement]]></category>
		<category><![CDATA[0.9.0]]></category>
		<category><![CDATA[hebergement]]></category>
		<category><![CDATA[panel]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=80</guid>
		<description><![CDATA[Bonjour à tous ! L&#8217;ensemble de l&#8217;équipe Kelio vous souhaite tous ses meilleurs vœux ! Pour bien commencer l&#8217;année, voici une petite capture de la prochaine version du panel Kelio. Celui-ci intègre une fonction qui manque depuis les débuts de Kelio. A vous de la trouver Notez que vous pouvez deja retrouver les tables sur [...]]]></description>
			<content:encoded><![CDATA[<p>Bonjour à tous !</p>
<p style="text-align: left;">L&#8217;ensemble de l&#8217;équipe Kelio vous souhaite tous ses meilleurs vœux ! <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: left;">Pour bien commencer l&#8217;année, voici une petite capture de la prochaine version du panel Kelio.<br />
Celui-ci intègre une fonction qui manque depuis les débuts de Kelio. A vous de la trouver <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://blog.kelio.asso.fr/wp-content/uploads/avancement.png"><img class="aligncenter" style="width: 622px; height: 282px;" src="http://blog.kelio.asso.fr/wp-content/uploads/avancement.png" alt="" /></a></p>
<p style="text-align: left;">Notez que vous pouvez deja retrouver les tables sur notre <a href="http://dev.kelio.asso.fr">site de développement</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2010/01/09/08/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Nouvelle infrastructure très bientot !</title>
		<link>http://blog.kelio.asso.fr/2009/10/12/nouvelle-infrastructure-tres-bientot/</link>
		<comments>http://blog.kelio.asso.fr/2009/10/12/nouvelle-infrastructure-tres-bientot/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 19:42:06 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Développement]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[lvs]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[redirecteur]]></category>
		<category><![CDATA[serveurs]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=74</guid>
		<description><![CDATA[Depuis quelques jours, nous étudions la possibilité de mettre en place la nouvelle infrastructure de serveurs en utilisant le panel 0.8.0. Pour rappel, la nouvelle infrastructure sera composée de : Un redirecteur, qui se charge de rediriger les requêtes HTTP, FTP, MySQL, POP, IMAP SMTP vers les serveurs appropriés. Celui-ci aura l&#8217;adresse IP de Kelio [...]]]></description>
			<content:encoded><![CDATA[<p>Depuis quelques jours, nous étudions la possibilité de mettre en place la nouvelle infrastructure de serveurs en utilisant le panel 0.8.0.<br />
Pour rappel, la nouvelle infrastructure sera composée de :</p>
<ul>
<li>Un redirecteur, qui se charge de rediriger les requêtes HTTP, FTP, MySQL, POP, IMAP SMTP vers les serveurs appropriés. Celui-ci aura l&#8217;adresse IP de Kelio actuelle,</li>
<li>Deux serveurs WEB destinés exclusivement au traitement des requêtes HTTP (Apache pour les connaisseurs).</li>
<li>Un serveur DNS, NFS (disque dur réseau), MySQL, Mail.</li>
</ul>
<p>Par la suite seront rajoutés en plus :</p>
<ul>
<li>Deux serveurs DNS, un primaire, et un second pour prendre le relai du premier en cas de panne,</li>
<li>Un serveur résersé au calcul des statistiques (et du trafic),</li>
<li>Deux serveurs MySQL, un principal, et un second en cas de panne du premier (avec réplication),</li>
<li>Deux serveurs NFS, un principal et un second en cas de panne du premier (aussi avec réplication).</li>
<li>Un à deux serveurs MAIL (POP, IMAP, SMTP) en fonction de la charge de ceux-ci.</li>
</ul>
<p>Bien sûr, cela dépendra de la santé des finances de l&#8217;association.</p>
<p>Le développement du KelioPanel V2 risque de prendre 1 a 2 ans si nous voulons le coder de manière sérieuse.<br />
Seulement, nous ne désirons pas attendre autant de temps pour la mise en place de l&#8217;infrastructure.</p>
<p>La nouvelle infrastructure nous permettrait de désactiver le safe_mode de PHP, et éventuellement d&#8217;ajouter de nouveaux langages tels Python, Perl.<br />
De plus, la charge serait répartie entre les serveurs, permettant ainsi d&#8217;assurer la pérennité des services.</p>
<p>Les adhérents de l&#8217;association auraient en plus droit à un accès SSH afin de gérer leurs fichiers.</p>
<p>Qu&#8217;en pensez-vous ? Cela vaut-il la peine d&#8217;être mis en place ? Cela vous arrangera t&#8217;il ?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2009/10/12/nouvelle-infrastructure-tres-bientot/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Instabilité du serveur Kelio</title>
		<link>http://blog.kelio.asso.fr/2009/10/02/instabilite-du-serveur-kelio/</link>
		<comments>http://blog.kelio.asso.fr/2009/10/02/instabilite-du-serveur-kelio/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 02:00:57 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[datacenter]]></category>
		<category><![CDATA[intervention]]></category>
		<category><![CDATA[kelio]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kernel panic]]></category>
		<category><![CDATA[panne]]></category>
		<category><![CDATA[plantage]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=36</guid>
		<description><![CDATA[Mise à jour : Le problème est résolu. Celui-ci provenait d&#8217;un bug du bios de la carte mère, corrigé avec le passage à la dernière version de celui-ci. Vous avez surement dû le remarquer ces derniers temps, Kelio est devenu particulièrement instable. Cela provient de la nouvelle machine que nous avons mis en production le [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em>Mise à jour</em> : Le problème est résolu. Celui-ci provenait d&#8217;un bug du bios de la carte mère, corrigé avec le passage à la dernière version de celui-ci. <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p>Vous avez surement dû le remarquer ces derniers temps, Kelio est devenu particulièrement instable.<br />
Cela provient de la nouvelle machine que nous avons mis en production le 18 septembre.</p>
<p>Depuis environ 2 semaines, la machine tombe régulièrement et il est impossible d&#8217;y accéder.<br />
Pour relancer la machine, il faut la redémarrer via une coupure de courant ou le bouton on/off de la carte mère.<br />
Celle-ci plantait une fois par jour environ, mais cela s&#8217;intensifie avec maintenant 2 plantages chaque journée.</p>
<p>Bien sûr, nous ne gardons pas les bras croisés :</p>
<ul>
<li>Multiples réglages dans le bios de la carte mère,</li>
<li>Mise à jour du bios pour le dernier en date,</li>
<li>Vérification de la mémoire via Memtest V4,</li>
<li>Changement des connexions sur la carte mère,</li>
<li>Vérification de l&#8217;alimentation,</li>
<li>quelques autres petits tests.</li>
</ul>
<p>Lors de nos interventions au datacenter, l&#8217;écran restait simplement noir, ce qui laissait présager un problème de carte mère.<br />
Seulement aujourd&#8217;hui, l&#8217;écran laissait voir un kernel panic.</p>
<p>Aussi, nous avons changé le kernel de la machine pour un autre.<br />
Il n&#8217;y a plus qu&#8217;à espérer que cela règle le problème.</p>
<div id="attachment_37" class="wp-caption aligncenter" style="width: 650px"><img class="size-full wp-image-37 " title="Kernel panic lisa" src="http://blog.kelio.asso.fr/wp-content/uploads/photo.jpg" alt="Kernel panic sur lisa (la machine hebergeant Kelio)" width="640" height="480" /><p class="wp-caption-text">Kernel panic sur lisa (la machine hebergeant Kelio)</p></div>
<p>Nous vous remercions pour votre patience et votre compréhension.</p>
<p>P.S. : Le billet sera mis à jour au fur et à mesure de nos investigations.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2009/10/02/instabilite-du-serveur-kelio/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mise en place d&#8217;un backup incrémental sur Kelio</title>
		<link>http://blog.kelio.asso.fr/2009/09/30/mise-en-place-dun-backup-incremental-sur-kelio/</link>
		<comments>http://blog.kelio.asso.fr/2009/09/30/mise-en-place-dun-backup-incremental-sur-kelio/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 01:48:19 +0000</pubDate>
		<dc:creator>Mogui</dc:creator>
				<category><![CDATA[Evolution]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[espace]]></category>
		<category><![CDATA[hebergement]]></category>
		<category><![CDATA[incremental]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[sauvegarde]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://blog.kelio.asso.fr/?p=9</guid>
		<description><![CDATA[Depuis quelques temps, nous cherchions une solution de sauvegarde incrémentale des données de nos hébergés. Après avoir testé de nombreux scripts basiques, des sauvegardes &#171;&#160;brutes&#160;&#187; directement sur ftp, nous avons conclu que cela s&#8217;avérait relativement peu fiable, et souple. Mais depuis le 28 septembre, un nouveau script est en place et répond parfaitement à la [...]]]></description>
			<content:encoded><![CDATA[<p>Depuis quelques temps, nous cherchions une solution de sauvegarde incrémentale des données de nos hébergés.<br />
Après avoir testé de nombreux scripts basiques, des sauvegardes &laquo;&nbsp;brutes&nbsp;&raquo; directement sur ftp, nous avons conclu que cela s&#8217;avérait relativement peu fiable, et souple.</p>
<p>Mais depuis le 28 septembre, un nouveau script est en place et répond parfaitement à la tâche !</p>
<p>Dans nos recherches, nous sommes tombé <a href="http://www.skreo.net/article-2906-335207-faire-un-backup-incremental-avec-un-simple-bash.html">sur ce site</a> qui proposait un petit script écrit en BASH permettant de créer une ou plusieurs sauvegardes par jour, le tout en minimisant l&#8217;espace grâce à l&#8217;utilisation des inodes, plutôt que de copier bêtement les fichiers.<br />
Pour simplifier, plutôt que de copier simplement le fichier, il fait un &laquo;&nbsp;lien&nbsp;&raquo; hard vers celui-ci. Si le fichier venait à être supprimé depuis la première sauvegarde, il ne le serait pas réellement car un autre lien l&#8217;utilise.<br />
Ainsi, on se retrouve avec plusieurs liens pour le même fichier.</p>
<p>Nous avons adapté celui-ci afin qu&#8217;il ne puisse fonctionner une seule fois simultanément par l&#8217;ajout d&#8217;un .lock.<br />
Ce .lock est créé au début de l&#8217;exécution du script et supprimé à la fin.<br />
Si une autre instance tombe dessus, cela veut dire que le premier script n&#8217;a pas terminé son exécution.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #666666; font-style: italic;"># Source du backup</span>
<span style="color: #666666; font-style: italic;"># Notez ici, qu'il est possible de faire un backup distant, il suffit simplement de faire de la manière suivante :</span>
<span style="color: #666666; font-style: italic;"># SRV=utilisateur@serveur:/dossier/a/copier</span>
<span style="color: #007800;">SRC</span>=<span style="color: #000000; font-weight: bold;">/</span>vz<span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">103</span><span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>web
<span style="color: #666666; font-style: italic;"># Destination du backup</span>
<span style="color: #007800;">DST</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>backups<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">103</span><span style="color: #000000; font-weight: bold;">/</span>web
<span style="color: #666666; font-style: italic;"># Date de la forme année-mois-jour-timestamp</span>
<span style="color: #666666; font-style: italic;"># (le timestamp %s sert si on veut faire plusieurs sauvegardes dans la même journée)</span>
<span style="color: #007800;">DATE</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>Y-<span style="color: #000000; font-weight: bold;">%</span>m-<span style="color: #000000; font-weight: bold;">%</span>d_<span style="color: #000000; font-weight: bold;">%</span>H-<span style="color: #000000; font-weight: bold;">%</span>M-<span style="color: #000000; font-weight: bold;">%</span>S_<span style="color: #000000; font-weight: bold;">%</span>s<span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>web.lock <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Sauvegarde deja lancée&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>;
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>web.lock
&nbsp;
<span style="color: #666666; font-style: italic;"># Création du répertoire temporaire</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>tmp
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Backup commencé le &quot;</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">&quot;+%d/%m/%Y à %T&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Starting : &quot;</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">&quot;+%Y-%m-%d %T&quot;</span><span style="color: #000000; font-weight: bold;">`</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>log
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Copie de la dernière sauvegarde...&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Si une sauvegarde a déjà été faite précédemment</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>today ; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #666666; font-style: italic;"># Et si le fichier contenant la date de la dernière sauvegarde existe</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-f</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>last_date ; <span style="color: #000000; font-weight: bold;">then</span>
&nbsp;
        <span style="color: #007800;">LASTDATE</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>last_date<span style="color: #000000; font-weight: bold;">`</span>
        <span style="color: #666666; font-style: italic;"># Alors on fait un copie en hardlinks de la sauvegarde d'hier</span>
        <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-al</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>today <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>
        <span style="color: #666666; font-style: italic;"># Puis on renomme la copie pour qu'elle devienne la sauvegarde d'hier</span>
        <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>today <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$LASTDATE</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Sinon, on crée le premier dossier</span>
<span style="color: #000000; font-weight: bold;">else</span>
    <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>today
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>tmp
<span style="color: #666666; font-style: italic;"># On sauvegarde la date actuelle pour le prochain backup</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$DATE</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>last_date
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Synchronisation de la sauvegarde du jour...&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Synchronisation de la source avec le dossier du jour</span>
rsync <span style="color: #660033;">-az</span> <span style="color: #660033;">--delete</span> <span style="color: #660033;">--size-only</span> <span style="color: #007800;">$SRC</span><span style="color: #000000; font-weight: bold;">/</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>today<span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>web.lock
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Backup terminé le &quot;</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">&quot;+%d/%m/%Y à %T&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Done : &quot;</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">&quot;+%Y-%m-%d %T&quot;</span><span style="color: #000000; font-weight: bold;">`</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$DST</span><span style="color: #000000; font-weight: bold;">/</span>log</pre></td></tr></table></div>

<p>Le script ci-dessus génère le résultat suivant :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">lisa:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>backups<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">103</span><span style="color: #000000; font-weight: bold;">/</span>web<span style="color: #666666; font-style: italic;"># l</span>
total <span style="color: #000000;">752</span>
drwxr-xr-x <span style="color: #000000;">2794</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">94208</span> sep <span style="color: #000000;">17</span> <span style="color: #000000;">12</span>:05 <span style="color: #000000;">2009</span>-09-<span style="color: #000000;">28</span>_20-<span style="color: #000000;">52</span>-<span style="color: #000000;">59</span>_1254163979
drwxr-xr-x <span style="color: #000000;">2794</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">94208</span> sep <span style="color: #000000;">17</span> <span style="color: #000000;">12</span>:05 <span style="color: #000000;">2009</span>-09-<span style="color: #000000;">28</span>_22-<span style="color: #000000;">12</span>-<span style="color: #000000;">40</span>_1254168760
drwxr-xr-x <span style="color: #000000;">2794</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">94208</span> sep <span style="color: #000000;">17</span> <span style="color: #000000;">12</span>:05 <span style="color: #000000;">2009</span>-09-<span style="color: #000000;">28</span>_23-<span style="color: #000000;">30</span>-02_1254173402
drwxr-xr-x <span style="color: #000000;">2794</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">94208</span> sep <span style="color: #000000;">17</span> <span style="color: #000000;">12</span>:05 <span style="color: #000000;">2009</span>-09-<span style="color: #000000;">29</span>_00-01-01_1254175261
drwxr-xr-x <span style="color: #000000;">2794</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">94208</span> sep <span style="color: #000000;">17</span> <span style="color: #000000;">12</span>:05 <span style="color: #000000;">2009</span>-09-<span style="color: #000000;">29</span>_06-01-01_1254196861
drwxr-xr-x <span style="color: #000000;">2794</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">94208</span> sep <span style="color: #000000;">17</span> <span style="color: #000000;">12</span>:05 <span style="color: #000000;">2009</span>-09-<span style="color: #000000;">29</span>_12-01-01_1254218461
drwxr-xr-x <span style="color: #000000;">2794</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">94208</span> sep <span style="color: #000000;">17</span> <span style="color: #000000;">12</span>:05 <span style="color: #000000;">2009</span>-09-<span style="color: #000000;">29</span>_18-01-01_1254240061
-rw-r--r--    <span style="color: #000000;">1</span> root root    <span style="color: #000000;">31</span> sep <span style="color: #000000;">30</span> 00:<span style="color: #000000;">17</span> last_date
-rw-r--r--    <span style="color: #000000;">1</span> root root   <span style="color: #000000;">464</span> sep <span style="color: #000000;">30</span> 00:<span style="color: #000000;">24</span> log
drwxr-xr-x <span style="color: #000000;">2794</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">9500</span> <span style="color: #000000;">69632</span> sep <span style="color: #000000;">17</span> <span style="color: #000000;">12</span>:05 today</pre></div></div>

<p>Vous pouvez voir le dossier &laquo;&nbsp;today&nbsp;&raquo;, qui contient la dernière sauvegarde ainsi que la date exacte et le timestamp pour les sauvegardes précédentes.</p>
<p>Attention, toutefois ce script ne supprime pas les anciennes sauvegardes, il faut le faire à la main (ou coder la fonction, ce que je ferai prochainement <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )<br />
Cependant, le fait de faire des liens hard vous économisera au final une place non négligeable.<br />
Exemple : Actuellement, nos données web pèsent 70Go, et pour 8 sauvegardes nous utilisons 75Go d&#8217;espace.</p>
<p>Au niveau du temps de copie, la première sauvegarde est longue, mais les suivantes sont plus rapide. Nous avons besoin de 14 minutes (pour les 70Go), le temps de créer l&#8217;ensemble des liens hard, et de rapatrier les nouvelles données.</p>
<p>En espérant que ce script puisse vous servir à vous aussi <img src='http://blog.kelio.asso.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Merci à Skreo pour le script original.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kelio.asso.fr/2009/09/30/mise-en-place-dun-backup-incremental-sur-kelio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

