<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://smeserver.pialasse.com/index.php?action=history&amp;feed=atom&amp;title=Sauvegarde_crypt%C3%83%C2%A9e</id>
		<title>Sauvegarde cryptÃ©e - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="https://smeserver.pialasse.com/index.php?action=history&amp;feed=atom&amp;title=Sauvegarde_crypt%C3%83%C2%A9e"/>
		<link rel="alternate" type="text/html" href="https://smeserver.pialasse.com/index.php?title=Sauvegarde_crypt%C3%83%C2%A9e&amp;action=history"/>
		<updated>2026-04-14T10:11:47Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://smeserver.pialasse.com/index.php?title=Sauvegarde_crypt%C3%83%C2%A9e&amp;diff=6337&amp;oldid=prev</id>
		<title>WikiSysop : /* ajout du point de montage */</title>
		<link rel="alternate" type="text/html" href="https://smeserver.pialasse.com/index.php?title=Sauvegarde_crypt%C3%83%C2%A9e&amp;diff=6337&amp;oldid=prev"/>
				<updated>2014-07-28T17:05:44Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;ajout du point de montage&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='fr'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version du 28 juillet 2014 à 17:05&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-l7&quot; &gt;Ligne 7 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 7 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== ajout du point de montage ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== ajout du point de montage ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;pour activer nfs en mode client :&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; cd /etc/rc.d/rc7.d&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt; ln -s /etc/init.d/portmap S92portmap&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt; ln -s /etc/init.d/nfs S93nfs&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt; chkconfig portmap on&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; /etc/init.d/portmap start&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; /etc/init.d/portmap start&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	<entry>
		<id>https://smeserver.pialasse.com/index.php?title=Sauvegarde_crypt%C3%83%C2%A9e&amp;diff=6336&amp;oldid=prev</id>
		<title>WikiSysop : /* ajout du point de montage */</title>
		<link rel="alternate" type="text/html" href="https://smeserver.pialasse.com/index.php?title=Sauvegarde_crypt%C3%83%C2%A9e&amp;diff=6336&amp;oldid=prev"/>
				<updated>2014-07-28T16:48:10Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;ajout du point de montage&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='fr'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version du 28 juillet 2014 à 16:48&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-l7&quot; &gt;Ligne 7 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 7 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== ajout du point de montage ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== ajout du point de montage ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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; /etc/init.d/portmap start&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; #&amp;#160; showmount -e ftpback.net&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; #&amp;#160; showmount -e ftpback.net&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; Export list for ftpback.net:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; Export list for ftpback.net:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	<entry>
		<id>https://smeserver.pialasse.com/index.php?title=Sauvegarde_crypt%C3%83%C2%A9e&amp;diff=6334&amp;oldid=prev</id>
		<title>WikiSysop : Page créée avec « faisons une sauvegarde sur un partage nfs, encrypté et avec conservation des droits.   ==ajouts des librairies nfs et montage en client ==    yum  --enablerepo=base install ... »</title>
		<link rel="alternate" type="text/html" href="https://smeserver.pialasse.com/index.php?title=Sauvegarde_crypt%C3%83%C2%A9e&amp;diff=6334&amp;oldid=prev"/>
				<updated>2014-07-24T22:33:45Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « faisons une sauvegarde sur un partage nfs, encrypté et avec conservation des droits.   ==ajouts des librairies nfs et montage en client ==    yum  --enablerepo=base install ... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;faisons une sauvegarde sur un partage nfs, encrypté et avec conservation des droits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ajouts des librairies nfs et montage en client ==&lt;br /&gt;
&lt;br /&gt;
  yum  --enablerepo=base install  nfs-utils -y&lt;br /&gt;
&lt;br /&gt;
== ajout du point de montage ==&lt;br /&gt;
 #  showmount -e ftpback.net&lt;br /&gt;
 Export list for ftpback.net:&lt;br /&gt;
 /export/ftpbackup/ns0.ip-.net   192.95.42.248/29&lt;br /&gt;
 /export/ftpbackup/ns1.ip-.net 198.245.62.87/32&lt;br /&gt;
 /export/ftpbackup/ns2.ip-.net  198.27.75.228/32&lt;br /&gt;
 /export/ftpbackup/ns3.ip-.net   198.50.191.68/30&lt;br /&gt;
&lt;br /&gt;
 mkdir /mnt/nfsBackup&lt;br /&gt;
 vi /etc/fstab&lt;br /&gt;
&lt;br /&gt;
puis ajoutez une ligne&lt;br /&gt;
 ftpback.net:/export/ftpbackup/ns1..net        /mnt/nfsBackup  nfs  defaults 0 0 &lt;br /&gt;
&lt;br /&gt;
puis faites&lt;br /&gt;
mount -a &lt;br /&gt;
&lt;br /&gt;
alternativement &lt;br /&gt;
 mount -t nfs ftpback.net:/export/ftpbackup/ns1,ip-.net /mnt/nfsBackup/&lt;br /&gt;
devrait monter mais pour moi cela ne rend pas la main.&lt;br /&gt;
&lt;br /&gt;
==creation d'un conteneur avec encryptage luks==&lt;br /&gt;
&lt;br /&gt;
installation des packages necessaires&lt;br /&gt;
 yum install cryptsetup-luks luks-tools -y&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
load necessary modules&lt;br /&gt;
 modprobe dm-crypt&lt;br /&gt;
 modprobe aes&lt;br /&gt;
 modprobe sha256&lt;br /&gt;
&lt;br /&gt;
création d'un conteneur de 250GB&lt;br /&gt;
  dd if=/dev/zero of=/mnt/nfsBackup/cryptdisk.dat seek=250G bs=1 count=1&lt;br /&gt;
&lt;br /&gt;
création d'une clef ( ne pas la perdre, faites des copies en lieu sure !!!!!)&lt;br /&gt;
 dd if=/dev/urandom of=/root/crypt.key bs=1 count=2048&lt;br /&gt;
&lt;br /&gt;
création d'une loop device&lt;br /&gt;
 losetup /dev/loop0 /mnt/nfsBackup/cryptdisk.dat&lt;br /&gt;
&lt;br /&gt;
vérification des loop existantes&lt;br /&gt;
 losetup -a&lt;br /&gt;
&lt;br /&gt;
crypter le conteneur&lt;br /&gt;
 # cryptsetup luksFormat /dev/loop0 /root/crypt.key&lt;br /&gt;
 &lt;br /&gt;
 WARNING!&lt;br /&gt;
 ========&lt;br /&gt;
 This will overwrite data on /dev/loop0 irrevocably.&lt;br /&gt;
 &lt;br /&gt;
 Are you sure? (Type uppercase yes): YES&lt;br /&gt;
Command successful.&lt;br /&gt;
&lt;br /&gt;
(écrire YES en majuscule!! )&lt;br /&gt;
creer la device decryptée a monter :&lt;br /&gt;
 # cryptsetup luksOpen /dev/loop0 cryptdev -d /root/crypt.key&lt;br /&gt;
 key slot 0 unlocked.&lt;br /&gt;
 Command successful.&lt;br /&gt;
&lt;br /&gt;
mettre LVM si vous prevoyez agrandire le conteneur un jour par exemple&lt;br /&gt;
 voir http://jootamam.net/howto-basic-cryptsetup.htm&lt;br /&gt;
faire un filesystem&lt;br /&gt;
  mkfs.ext3 /dev/mapper/cryptdev&lt;br /&gt;
monter le device decrypté&lt;br /&gt;
&lt;br /&gt;
 mkdir /mnt/decrypted&lt;br /&gt;
 mount /dev/mapper/cryptdev&lt;br /&gt;
&lt;br /&gt;
==SOURCES==&lt;br /&gt;
&lt;br /&gt;
===nfs===&lt;br /&gt;
&lt;br /&gt;
===encryptage===&lt;br /&gt;
http://unix.stackexchange.com/questions/45693/best-way-to-make-encrypted-backups-while-preserving-permissions-to-a-windows-fil&lt;br /&gt;
&lt;br /&gt;
http://jootamam.net/howto-basic-cryptsetup.htm&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	</feed>