<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for su-root.eu</title>
	<atom:link href="http://www.su-root.eu/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.su-root.eu</link>
	<description>A blog about Linux, Android and a few other things</description>
	<lastBuildDate>Fri, 29 Jul 2011 01:48:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by Related Article</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3340</link>
		<dc:creator>Related Article</dc:creator>
		<pubDate>Fri, 29 Jul 2011 01:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3340</guid>
		<description>&lt;strong&gt;Related Article...&lt;/strong&gt;

Here is a related article....</description>
		<content:encoded><![CDATA[<p><strong>Related Article&#8230;</strong></p>
<p>Here is a related article&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by Data Recovery, Digital Media Recovery</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3338</link>
		<dc:creator>Data Recovery, Digital Media Recovery</dc:creator>
		<pubDate>Wed, 27 Jul 2011 07:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3338</guid>
		<description>&lt;strong&gt;Data Recovery, Harddrive Recovery, Digital Media Recovery...&lt;/strong&gt;

Data Recovery and/or Hard Drive Recovery is not always possible in all scenarios but in the majority of cases significant recovery......</description>
		<content:encoded><![CDATA[<p><strong>Data Recovery, Harddrive Recovery, Digital Media Recovery&#8230;</strong></p>
<p>Data Recovery and/or Hard Drive Recovery is not always possible in all scenarios but in the majority of cases significant recovery&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by Website</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3336</link>
		<dc:creator>Website</dc:creator>
		<pubDate>Wed, 27 Jul 2011 03:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3336</guid>
		<description>&lt;strong&gt;Website...&lt;/strong&gt;

Making an encrypted and compressed backup of your files onto DVDs &#171; su-root.eu...</description>
		<content:encoded><![CDATA[<p><strong>Website&#8230;</strong></p>
<p>Making an encrypted and compressed backup of your files onto DVDs &laquo; su-root.eu&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by garment business daily</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3335</link>
		<dc:creator>garment business daily</dc:creator>
		<pubDate>Tue, 26 Jul 2011 14:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3335</guid>
		<description>&lt;strong&gt;Blogs ou should be reading...&lt;/strong&gt;

[...]Here is a Great Blog You Might Find Interesting that we Encourage You[...]…...</description>
		<content:encoded><![CDATA[<p><strong>Blogs ou should be reading&#8230;</strong></p>
<p>[...]Here is a Great Blog You Might Find Interesting that we Encourage You[...]…&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by Latest Softwares Review and Download</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3325</link>
		<dc:creator>Latest Softwares Review and Download</dc:creator>
		<pubDate>Fri, 22 Jul 2011 00:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3325</guid>
		<description>&lt;strong&gt;Softwares Reviews and Downloads...&lt;/strong&gt;

I saw this really good post today.Thank you!...</description>
		<content:encoded><![CDATA[<p><strong>Softwares Reviews and Downloads&#8230;</strong></p>
<p>I saw this really good post today.Thank you!&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by Duncan</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3319</link>
		<dc:creator>Duncan</dc:creator>
		<pubDate>Wed, 20 Jul 2011 11:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3319</guid>
		<description>I&#039;m glad I marked this to come back later and check for replies to mine. =:^)  FWIW, I&#039;ve been thru recoveries, so some of this is the wisdom of experience speaking.  I&#039;m not just being critical.  If it saves you trouble when push comes to shove and you find yourself in a recovery situation, you&#039;ll be glad you didn&#039;t have to learn some of this the hard way.

Compression:  The thing that got me on that point was that it seemed for naught, as you probably didn&#039;t save a disk.  ~14 gig down to ~12 isn&#039;t that good a compression ratio in any case.  I&#039;m wondering if much of the data is already compressed, as are many media formats (image/audio/movie) and most tarballs, or is pre-encrypted individual files, as you won&#039;t get much savings off of that.  If that&#039;s 90% of your data, no wonder the compression ratio was so poor, even for gzip.

Sort-by-size:  du helps here and is command-line so may be useful in your scripts. =:^) 

You don&#039;t mention your DE, but I find the kde-based filelight (radial view) and konqueror&#039;s filesize view (nested rectangular) very helpful.  Solutions I haven&#039;t used personally but that I found with a quick package manager based search plus more listed on those homesites include xdu and xdiskusage (generic X-based), gt5 (console, produces a text table in the form of an html file browsable in links/lynx), disk-usage-analyzer/baobab (part of the gnome-utils package, radial similar to filelight, baobab is a type of tree!), treesize (gtk, table view, helfully listed several of the others as alternatives), and pysize (ascii, ncurses, gtk, rectangular).

Using one/several of these tools should help quite a bit in dividing up your data domain into dvd-sized chunks.  I used them here when designing my partition layout and continue to use them for admin tasks where getting a quick picture of what ate the several gigs of space I THOUGHT I had available in a particular partition (see below) can be incredibly helpful.

Encryption chunksize:  Individual encryption of large numbers of files will, as you suggest, have quite the overhead.  A compromise might be to encrypt whole directory trees, at the level you include them in the image, or perhaps a level or two below that, but certainly not all the way out at the leaf/file level.

Memory-based block device (rd)?  Something that /might/ be useful, depending on the amount of memory you have (I have six gigs here, so an entire 4.7 gig dvd image in RAM isn&#039;t out of the question), would be various methods of creating an image out of ram and encrypting it, then burning that.   I&#039;m not an encryption or block device guru by a long shot, but it seems to me that creating a 4.7 gig rd/ramdisk and layering LUKS or etc on that has potential.  After filling up whatever filesystem on top of  LUKS, a direct dd from the underlying rd to dvd would then, in theory at least, allow you to mount the dvd as a LUKS encrypted whatever filesystem.  

Cryptoloop?  Another interesting solution would be a cryptoloop mounted ISO, both for pre-burn creation and for recovery, direct off the DVD.

One more note: LVM:  Definitely YMMV on this one, but I did run LVM on top of one big system-level RAID (except for /boot and /, since I wanted to avoid an initr*) for awhile.  However, I eventually removed it, in favor of multiple RAID-1s on partitioned physical media, with some of the RAID-1s themselves partitioned.  There were several reasons for this.  This isn&#039;t the time or the place to have a debate about that, but take it from someone who has had to do real recovery (thus some of the hard-earned recovery wisdom, above), if LVM, or RAID, or for that matter LUKS, was unable to find its config info and load properly, are you confident in your ability to restore the damaged config in-place (by telling LVM to use one of its backup info caches, for instance, or by using a GPT based partitioner to recover the backup partition table that unlike MBR, it keeps, checksummed) as well as to recover from backup, if necessary?  Especially under the increased stress and limited resources available in a recovery situation, could you do it?

 When I asked myself that question, I was able to answer in the affirmative for the RAID level and the device and partition layers, but was uncomfortable with my own answer about LVM.  If you know how to recover LVM&#039;s backup management data, without referring to documentation that won&#039;t be available under that scenario, good for you!  If you don&#039;t, I urge you to really think about whether LVM is making you job as admin over your system simpler, or more complex.  The answer for me was that I was better off without it, so I made it so.  I sleep better, now. =:^)   (FWIW, there&#039;s also recovery and re-sync benefits at the RAID level, of having multiple RAIDs on physical device partitions, with selected bits of the system or backup on each RAID,  as opposed to one big RAID.  That&#039;s why I did it that way when I reorganized my layout during the LVM removal.)</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad I marked this to come back later and check for replies to mine. =:^)  FWIW, I&#8217;ve been thru recoveries, so some of this is the wisdom of experience speaking.  I&#8217;m not just being critical.  If it saves you trouble when push comes to shove and you find yourself in a recovery situation, you&#8217;ll be glad you didn&#8217;t have to learn some of this the hard way.</p>
<p>Compression:  The thing that got me on that point was that it seemed for naught, as you probably didn&#8217;t save a disk.  ~14 gig down to ~12 isn&#8217;t that good a compression ratio in any case.  I&#8217;m wondering if much of the data is already compressed, as are many media formats (image/audio/movie) and most tarballs, or is pre-encrypted individual files, as you won&#8217;t get much savings off of that.  If that&#8217;s 90% of your data, no wonder the compression ratio was so poor, even for gzip.</p>
<p>Sort-by-size:  du helps here and is command-line so may be useful in your scripts. =:^) </p>
<p>You don&#8217;t mention your DE, but I find the kde-based filelight (radial view) and konqueror&#8217;s filesize view (nested rectangular) very helpful.  Solutions I haven&#8217;t used personally but that I found with a quick package manager based search plus more listed on those homesites include xdu and xdiskusage (generic X-based), gt5 (console, produces a text table in the form of an html file browsable in links/lynx), disk-usage-analyzer/baobab (part of the gnome-utils package, radial similar to filelight, baobab is a type of tree!), treesize (gtk, table view, helfully listed several of the others as alternatives), and pysize (ascii, ncurses, gtk, rectangular).</p>
<p>Using one/several of these tools should help quite a bit in dividing up your data domain into dvd-sized chunks.  I used them here when designing my partition layout and continue to use them for admin tasks where getting a quick picture of what ate the several gigs of space I THOUGHT I had available in a particular partition (see below) can be incredibly helpful.</p>
<p>Encryption chunksize:  Individual encryption of large numbers of files will, as you suggest, have quite the overhead.  A compromise might be to encrypt whole directory trees, at the level you include them in the image, or perhaps a level or two below that, but certainly not all the way out at the leaf/file level.</p>
<p>Memory-based block device (rd)?  Something that /might/ be useful, depending on the amount of memory you have (I have six gigs here, so an entire 4.7 gig dvd image in RAM isn&#8217;t out of the question), would be various methods of creating an image out of ram and encrypting it, then burning that.   I&#8217;m not an encryption or block device guru by a long shot, but it seems to me that creating a 4.7 gig rd/ramdisk and layering LUKS or etc on that has potential.  After filling up whatever filesystem on top of  LUKS, a direct dd from the underlying rd to dvd would then, in theory at least, allow you to mount the dvd as a LUKS encrypted whatever filesystem.  </p>
<p>Cryptoloop?  Another interesting solution would be a cryptoloop mounted ISO, both for pre-burn creation and for recovery, direct off the DVD.</p>
<p>One more note: LVM:  Definitely YMMV on this one, but I did run LVM on top of one big system-level RAID (except for /boot and /, since I wanted to avoid an initr*) for awhile.  However, I eventually removed it, in favor of multiple RAID-1s on partitioned physical media, with some of the RAID-1s themselves partitioned.  There were several reasons for this.  This isn&#8217;t the time or the place to have a debate about that, but take it from someone who has had to do real recovery (thus some of the hard-earned recovery wisdom, above), if LVM, or RAID, or for that matter LUKS, was unable to find its config info and load properly, are you confident in your ability to restore the damaged config in-place (by telling LVM to use one of its backup info caches, for instance, or by using a GPT based partitioner to recover the backup partition table that unlike MBR, it keeps, checksummed) as well as to recover from backup, if necessary?  Especially under the increased stress and limited resources available in a recovery situation, could you do it?</p>
<p> When I asked myself that question, I was able to answer in the affirmative for the RAID level and the device and partition layers, but was uncomfortable with my own answer about LVM.  If you know how to recover LVM&#8217;s backup management data, without referring to documentation that won&#8217;t be available under that scenario, good for you!  If you don&#8217;t, I urge you to really think about whether LVM is making you job as admin over your system simpler, or more complex.  The answer for me was that I was better off without it, so I made it so.  I sleep better, now. =:^)   (FWIW, there&#8217;s also recovery and re-sync benefits at the RAID level, of having multiple RAIDs on physical device partitions, with selected bits of the system or backup on each RAID,  as opposed to one big RAID.  That&#8217;s why I did it that way when I reorganized my layout during the LVM removal.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by Links 19/7/2011: Ubuntu 12.04 Event Planned, GParted 0.9.0 Out &#124; Techrights</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3316</link>
		<dc:creator>Links 19/7/2011: Ubuntu 12.04 Event Planned, GParted 0.9.0 Out &#124; Techrights</dc:creator>
		<pubDate>Wed, 20 Jul 2011 00:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3316</guid>
		<description>[...] Making an encrypted and compressed backup of your files onto DVDs [...]</description>
		<content:encoded><![CDATA[<p>[...] Making an encrypted and compressed backup of your files onto DVDs [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by Compressed and encrypted backups to DVD &#171; 0ddn1x: tricks with *nix</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3315</link>
		<dc:creator>Compressed and encrypted backups to DVD &#171; 0ddn1x: tricks with *nix</dc:creator>
		<pubDate>Tue, 19 Jul 2011 15:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3315</guid>
		<description>[...] http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvd...   Leave a Comment    TrackBack URI [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvd.." rel="nofollow">http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvd..</a>.   Leave a Comment    TrackBack URI [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by Making an encrypted and compressed backup of... &#124; Linux &#124; Syngu</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3310</link>
		<dc:creator>Making an encrypted and compressed backup of... &#124; Linux &#124; Syngu</dc:creator>
		<pubDate>Mon, 18 Jul 2011 11:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3310</guid>
		<description>[...] on to blank DVD discs just in case my backup hard drive fails. I had the following requirements.. Read more...   Categories: Linux&#160;&#160;    &#160;   Share &#124;              Related [...]</description>
		<content:encoded><![CDATA[<p>[...] on to blank DVD discs just in case my backup hard drive fails. I had the following requirements.. Read more&#8230;   Categories: Linux&nbsp;&nbsp;    &nbsp;   Share |              Related [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an encrypted and compressed backup of your files onto DVDs by admin</title>
		<link>http://www.su-root.eu/uncategorized/making-an-encrypted-and-compressed-backup-of-your-files-onto-dvds/comment-page-1#comment-3309</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 18 Jul 2011 09:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.su-root.eu/?p=151#comment-3309</guid>
		<description>@cxgl - I didn&#039;t know pigz existed to be honest. Thanks for mentioning it. I&#039;ll have a play with it.

@Gerard Lally - Although I could write a script to do that I think my back up method (as mentioned by Duncan) could do with improving.

@Duncan - You raise several good points

1) You&#039;re right that by compressing my data I&#039;m increasing the chance of failure. I probably should of thought of that before I started. I also should of played with xz, I forgot that tar had built in support for it.

2) There&#039;s no way to easily recover a single file. Yeah that&#039;s not great either. I have quite a lot of free space on my drives so scratch space currently isn&#039;t a problem but others may not.

3) Loosing a single disc means all data is lost. Yeah that is probably the worst point of my method. I did it the way I have done it to preserve the directory structure that I have because it took me quite some time to organise my files in this way. Sorting my data by size into new directories manually is a major hassle. I am however quite up to the challenge of writing a shell script to do the work for me. I&#039;ll look at it when I get time.

You&#039;re right that doing a separate tar ball for each disc would be better. It is also tempting to encrypt each file individually to make it even easier to access to individual files. I imagine though that encrypting/decrypting each file would add considerable overhead in my case as gpg would be invoked many times instead of once for every tar ball.

I have a fairly complicated hard drive setup at the moment. I have md/kernel RAID-1 on two drives and those make up an encrypted LUKS partition. On top of that is a LVM physical volume which makes a single volume group. That volume group is then used to make my logical volumes ( /, /home, /boot).

I then have a similar set up using another two drives for backup. The DVD backups I was making was for backing up my most important files rather than everything backed up on my backup drives.

Thank-you for the valuable comments.</description>
		<content:encoded><![CDATA[<p>@cxgl &#8211; I didn&#8217;t know pigz existed to be honest. Thanks for mentioning it. I&#8217;ll have a play with it.</p>
<p>@Gerard Lally &#8211; Although I could write a script to do that I think my back up method (as mentioned by Duncan) could do with improving.</p>
<p>@Duncan &#8211; You raise several good points</p>
<p>1) You&#8217;re right that by compressing my data I&#8217;m increasing the chance of failure. I probably should of thought of that before I started. I also should of played with xz, I forgot that tar had built in support for it.</p>
<p>2) There&#8217;s no way to easily recover a single file. Yeah that&#8217;s not great either. I have quite a lot of free space on my drives so scratch space currently isn&#8217;t a problem but others may not.</p>
<p>3) Loosing a single disc means all data is lost. Yeah that is probably the worst point of my method. I did it the way I have done it to preserve the directory structure that I have because it took me quite some time to organise my files in this way. Sorting my data by size into new directories manually is a major hassle. I am however quite up to the challenge of writing a shell script to do the work for me. I&#8217;ll look at it when I get time.</p>
<p>You&#8217;re right that doing a separate tar ball for each disc would be better. It is also tempting to encrypt each file individually to make it even easier to access to individual files. I imagine though that encrypting/decrypting each file would add considerable overhead in my case as gpg would be invoked many times instead of once for every tar ball.</p>
<p>I have a fairly complicated hard drive setup at the moment. I have md/kernel RAID-1 on two drives and those make up an encrypted LUKS partition. On top of that is a LVM physical volume which makes a single volume group. That volume group is then used to make my logical volumes ( /, /home, /boot).</p>
<p>I then have a similar set up using another two drives for backup. The DVD backups I was making was for backing up my most important files rather than everything backed up on my backup drives.</p>
<p>Thank-you for the valuable comments.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

