<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://cogito.no-ip.info/cogito/OSWiki_V1/index.php?action=history&amp;feed=atom&amp;title=Backup_bdd_grille.sh</id>
	<title>Backup bdd grille.sh - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://cogito.no-ip.info/cogito/OSWiki_V1/index.php?action=history&amp;feed=atom&amp;title=Backup_bdd_grille.sh"/>
	<link rel="alternate" type="text/html" href="https://cogito.no-ip.info/cogito/OSWiki_V1/index.php?title=Backup_bdd_grille.sh&amp;action=history"/>
	<updated>2026-04-30T03:45:03Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://cogito.no-ip.info/cogito/OSWiki_V1/index.php?title=Backup_bdd_grille.sh&amp;diff=1106&amp;oldid=prev</id>
		<title>Acryline : /* backup_bdd_grille.sh */</title>
		<link rel="alternate" type="text/html" href="https://cogito.no-ip.info/cogito/OSWiki_V1/index.php?title=Backup_bdd_grille.sh&amp;diff=1106&amp;oldid=prev"/>
		<updated>2017-12-15T23:11:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;backup_bdd_grille.sh&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 16 décembre 2017 à 01:11&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Ligne 8 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 8 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;##&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;##&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Droits sur ce fichier : chmod 751&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Droits sur ce fichier : chmod 751&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Remplacer &amp;lt;chemin vers le repertoire de la grille&amp;gt; et &amp;lt;chemin vers le repertoire de sauvegarde&amp;gt; comme nécessaire.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Remplacer &amp;lt;chemin vers le repertoire de la grille&amp;gt; et &amp;lt;chemin vers le repertoire de sauvegarde&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;## &amp;lt;Base de données de la grille&lt;/ins&gt;&amp;gt; comme nécessaire.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;MYSQLDUMP=`which mysqldump`  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;MYSQLDUMP=`which mysqldump`  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Acryline</name></author>
	</entry>
	<entry>
		<id>https://cogito.no-ip.info/cogito/OSWiki_V1/index.php?title=Backup_bdd_grille.sh&amp;diff=1105&amp;oldid=prev</id>
		<title>Acryline : Page créée avec « =backup_bdd_grille.sh =  &lt;source lang=&quot;Bash&quot;&gt; #!/bin/bash ## Acryline erin Lincence GNU GPL ## Sauvegarde de la base de données de la grille ## backup_bdd_grille.sh ## ##... »</title>
		<link rel="alternate" type="text/html" href="https://cogito.no-ip.info/cogito/OSWiki_V1/index.php?title=Backup_bdd_grille.sh&amp;diff=1105&amp;oldid=prev"/>
		<updated>2017-12-15T23:10:36Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « =backup_bdd_grille.sh =  &amp;lt;source lang=&amp;quot;Bash&amp;quot;&amp;gt; #!/bin/bash ## Acryline erin Lincence GNU GPL ## Sauvegarde de la base de données de la grille ## backup_bdd_grille.sh ## ##... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=backup_bdd_grille.sh =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
## Acryline erin Lincence GNU GPL&lt;br /&gt;
## Sauvegarde de la base de données de la grille&lt;br /&gt;
## backup_bdd_grille.sh&lt;br /&gt;
##&lt;br /&gt;
## Droits sur ce fichier : chmod 751&lt;br /&gt;
## Remplacer &amp;lt;chemin vers le repertoire de la grille&amp;gt; et &amp;lt;chemin vers le repertoire de sauvegarde&amp;gt; comme nécessaire.&lt;br /&gt;
&lt;br /&gt;
MYSQLDUMP=`which mysqldump` &lt;br /&gt;
DB_NAME=&amp;lt;Base de données de la grille&amp;gt;&lt;br /&gt;
log=&amp;quot;&amp;lt;chemin vers le repertoire de la grille&amp;gt;/scripts/log/backup_bdd_grille.log&amp;quot;;&lt;br /&gt;
adresse=&amp;quot;&amp;lt;chemin vers le repertoire de sauvegarde&amp;gt;/backup&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
cd $adresse/bdd/bdd_grille&lt;br /&gt;
## Sauvegarde des bases de donnees dans un fichier .sql&lt;br /&gt;
nom=${DB_NAME}_`date +&amp;quot;%Y-%m-%d-%H&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
echo $nom &amp;gt;&amp;gt; $log&lt;br /&gt;
$MYSQLDUMP --skip-comments ${DB_NAME} &amp;gt; $nom.sql  2&amp;gt;&amp;gt; $log&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Catégorie:Scripts Bash]]&lt;/div&gt;</summary>
		<author><name>Acryline</name></author>
	</entry>
</feed>