<h2id="Migrazione_da_un_server">Migrazione da un server</h2>
<spanclass="anchor"id="line-2"></span><spanclass="anchor"id="line-3"></span><pclass="line867"><strong>backup della propria home</strong><spanclass="anchor"id="line-4"></span><spanclass="anchor"id="line-5"></span><pclass="line874">da zaphoda: <spanclass="anchor"id="line-6"></span><spanclass="anchor"id="line-7"></span><pclass="line867"><spanclass="anchor"id="line-8"></span><spanclass="anchor"id="line-9"></span><pre><spanclass="anchor"id="line-1"></span>tar -zcpf /tmp/backup-NAME.tar.gz /home/NAME</pre><spanclass="anchor"id="line-10"></span><spanclass="anchor"id="line-11"></span><pclass="line874">da locale: <spanclass="anchor"id="line-12"></span><spanclass="anchor"id="line-13"></span><pclass="line867"><spanclass="anchor"id="line-14"></span><spanclass="anchor"id="line-15"></span><pre><spanclass="anchor"id="line-1-1"></span>scp zaphoda:/tmp/backup-NAME.tar.gz .</pre><spanclass="anchor"id="line-16"></span><spanclass="anchor"id="line-17"></span><pclass="line874">in un passaggio solo dalla propria macchina di casa: <spanclass="anchor"id="line-18"></span><spanclass="anchor"id="line-19"></span><pclass="line867"><spanclass="anchor"id="line-20"></span><spanclass="anchor"id="line-21"></span><pre><spanclass="anchor"id="line-1-2"></span>ssh NAME@unit.abbiamoundominio.org tar czf - /home/NAME/ > zaphoda_home.tgz</pre><spanclass="anchor"id="line-22"></span><spanclass="anchor"id="line-23"></span><spanclass="anchor"id="line-24"></span><pclass="line867"><strong>salvare la lista del software installato con apt</strong><spanclass="anchor"id="line-25"></span><spanclass="anchor"id="line-26"></span><pclass="line867"><spanclass="anchor"id="line-27"></span><spanclass="anchor"id="line-28"></span><pre><spanclass="anchor"id="line-1-3"></span>dpkg --get-selections | grep -vi kernel > sw-list-dpkg.conf</pre><spanclass="anchor"id="line-29"></span><spanclass="anchor"id="bottom"></span></div>