<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5141&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Migration plan (Debian > Devuan)]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5141</link>
		<description><![CDATA[The most recent posts in Migration plan (Debian > Devuan).]]></description>
		<lastBuildDate>Tue, 26 Jul 2022 21:04:40 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Migration plan (Debian > Devuan)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36826#p36826</link>
			<description><![CDATA[<p>* I also typically back up my `/etc` in an archive, separately from my off-line backup media of the whole system (which I don&#039;t always make actually). I often find I need to restore settings of some service or app from files I had there.<br />* Ditto for `/root`. While I try to not put much in the root home directory, the few things I put there useful for root on the new system as well (e.g. `.vimrc`...)</p><p>Finally, while using a distribution and over the months/years I use it, I try to log - in words - significant changes to it in an &quot;administrator&#039;s journal&quot; (like a Captain&#039;s log in Star Trek if you will :-P ). I put it in /var/log/admin-journal . I always back that up, especially since, on the new system, I often follow steps I had logged there (e.g. &quot;2019-01-05\nSet up a wheel group to be able to su without password, via /etc/passed and /etc/pam.d/su ; placed alice and bob in the wheel group&quot;)</p>]]></description>
			<author><![CDATA[dummy@example.com (einpoklum)]]></author>
			<pubDate>Tue, 26 Jul 2022 21:04:40 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36826#p36826</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migration plan (Debian > Devuan)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36775#p36775</link>
			<description><![CDATA[<div class="quotebox"><cite>Gregors wrote:</cite><blockquote><div><div class="quotebox"><cite>Dutch_Master wrote:</cite><blockquote><div><p>Investigate the use of the apt options --get-selections and --set-selections in the apt man page<br />Btw, do <strong><em>NOT</em></strong> use dd to backup your disk to an existing backup drive. Unless you don&#039;t care about the data that&#039;s already on it :-\</p></div></blockquote></div><p>What I meant is something like</p><div class="codebox"><pre><code>dd if=/dev/sda of=/media/backup/sda-backup.dd</code></pre></div><p>with the USB disk mounted at /media/backup. So my dd backup would just be a ~30 GB file on that disk (among other back-uped things).</p><p>Thanks for the get/set selection examples!</p><p>Gregor</p></div></blockquote></div><p>Just backup what you need... separately. Because you may end up in a loop when dd gets up to /media and starts backing itself up.</p><p>dd is a good copy-disk, but rsync can do directories and to make it a bit easier (faster/smaller) use rsync instead of dd.</p><div class="codebox"><pre><code>rsync -avh /usr/local /media/backup/sda-backup/usr/
rsync -avh /home /media/backup/sda-backup/</code></pre></div><p>my two cents worth. :-) All the best!</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Mon, 25 Jul 2022 02:48:15 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36775#p36775</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migration plan (Debian > Devuan)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36767#p36767</link>
			<description><![CDATA[<p>Have you seen <span class="bbu"><a href="https://www.devuan.org/os/documentation/install-guides/chimaera/bullseye-to-chimaera" rel="nofollow">this script</a></span>? Might give you some ideas.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Sun, 24 Jul 2022 18:10:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36767#p36767</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migration plan (Debian > Devuan)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36766#p36766</link>
			<description><![CDATA[<p>Yes, I&#039;m aware of the problems that can arise from backing up a disk in use. I usually use grml for this kind of tasks.</p><p>Gregor</p>]]></description>
			<author><![CDATA[dummy@example.com (Gregors)]]></author>
			<pubDate>Sun, 24 Jul 2022 17:55:30 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36766#p36766</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migration plan (Debian > Devuan)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36753#p36753</link>
			<description><![CDATA[<p>Mind, you cannot create a copy of a running system, you need to run from a live-CD when you create the image.</p><p>I&#039;m not sure it&#039;ll work as you want, so proceed at own risk!</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Sun, 24 Jul 2022 05:26:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36753#p36753</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migration plan (Debian > Devuan)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36749#p36749</link>
			<description><![CDATA[<div class="quotebox"><cite>Dutch_Master wrote:</cite><blockquote><div><p>Investigate the use of the apt options --get-selections and --set-selections in the apt man page<br />Btw, do <strong><em>NOT</em></strong> use dd to backup your disk to an existing backup drive. Unless you don&#039;t care about the data that&#039;s already on it :-\</p></div></blockquote></div><p>What I meant is something like</p><div class="codebox"><pre><code>dd if=/dev/sda of=/media/backup/sda-backup.dd</code></pre></div><p>with the USB disk mounted at /media/backup. So my dd backup would just be a ~30 GB file on that disk (among other back-uped things).</p><p>Thanks for the get/set selection examples!</p><p>Gregor</p>]]></description>
			<author><![CDATA[dummy@example.com (Gregors)]]></author>
			<pubDate>Sat, 23 Jul 2022 23:51:57 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36749#p36749</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migration plan (Debian > Devuan)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36748#p36748</link>
			<description><![CDATA[<p>Investigate the use of the apt options --get-selections and --set-selections in the apt man page</p><div class="codebox"><pre><code>man apt
apt --get-selections &gt; selection.txt
apt --set-selections &lt; selection.txt</code></pre></div><p>Btw, do <strong><em>NOT</em></strong> use dd to backup your disk to an existing backup drive. Unless you don&#039;t care about the data that&#039;s already on it :-\</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Sat, 23 Jul 2022 23:02:48 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36748#p36748</guid>
		</item>
		<item>
			<title><![CDATA[Migration plan (Debian > Devuan)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36747#p36747</link>
			<description><![CDATA[<p>Hi there!</p><p>Since Devuan looks very promising to me, I want to give it some kind of &quot;harder try&quot;. Which means: I want to keep my home and some minor /usr/local things. Everything else I want to be fresh like morning dew. So what I&#039;m thinking of is ...</p><p>- dd-Backup of my system disk (just about 30 GB SSD) to an external backup-disk (a 4 TB USB disk which I use for my weekly backups.<br />- export a list of currently installed programs<br />- make a fresh base installation of Devuan<br />- do some apt magic to install the programs (use the list created in step 2)</p><p>So, what do you think? Am I missing something? What would be the fitting commands for the steps 2 and 4?</p><p>At least, if anything goes terribly wrong, I could dd the backup back ...</p><p>TIA</p><p>Gregor</p>]]></description>
			<author><![CDATA[dummy@example.com (Gregors)]]></author>
			<pubDate>Sat, 23 Jul 2022 22:54:37 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36747#p36747</guid>
		</item>
	</channel>
</rss>
