<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.srevilak.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Backups</id>
	<title>Backups - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.srevilak.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Backups"/>
	<link rel="alternate" type="text/html" href="https://www.srevilak.net/wiki/index.php?title=Backups&amp;action=history"/>
	<updated>2026-04-03T17:47:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://www.srevilak.net/wiki/index.php?title=Backups&amp;diff=150&amp;oldid=prev</id>
		<title>SteveR: removed extra vertical space</title>
		<link rel="alternate" type="text/html" href="https://www.srevilak.net/wiki/index.php?title=Backups&amp;diff=150&amp;oldid=prev"/>
		<updated>2014-12-31T14:08:47Z</updated>

		<summary type="html">&lt;p&gt;removed extra vertical space&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:08, 31 December 2014&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-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&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;* Suppose you mirror your computers hard drives -- what does (and doesn&amp;#039;t) this protect you against?  If one drive fails, you can rebuild a mirror; mirroring is protection against hardware failure. Mirroring offers no protection against accidental deletion.&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;* Suppose you mirror your computers hard drives -- what does (and doesn&amp;#039;t) this protect you against?  If one drive fails, you can rebuild a mirror; mirroring is protection against hardware failure. Mirroring offers no protection against accidental deletion.&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;Suppose you are taking regular backups.  There are still things that&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;Suppose you are taking regular backups.  There are still things that&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SteveR</name></author>
	</entry>
	<entry>
		<id>https://www.srevilak.net/wiki/index.php?title=Backups&amp;diff=149&amp;oldid=prev</id>
		<title>SteveR: Created page with &quot;&#039;&#039;(12/16/2014)&#039;&#039;  == General Stuff ==  Sometimes, you&#039;ll hear the phrase &quot;backup strategy&quot;, referring to how you (or an organization) performs computer backups.  How well do b...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.srevilak.net/wiki/index.php?title=Backups&amp;diff=149&amp;oldid=prev"/>
		<updated>2014-12-31T14:08:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;(12/16/2014)&amp;#039;&amp;#039;  == General Stuff ==  Sometimes, you&amp;#039;ll hear the phrase &amp;quot;backup strategy&amp;quot;, referring to how you (or an organization) performs computer backups.  How well do b...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;(12/16/2014)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== General Stuff ==&lt;br /&gt;
&lt;br /&gt;
Sometimes, you&amp;#039;ll hear the phrase &amp;quot;backup strategy&amp;quot;, referring to how&lt;br /&gt;
you (or an organization) performs computer backups.  How well do&lt;br /&gt;
backups protect you against situations like&lt;br /&gt;
&lt;br /&gt;
* Hard drive failure?  You still have your files (up to the most recent backup)&lt;br /&gt;
&lt;br /&gt;
* Accidental file deletion?  You can recover the last backed-up version of the file.&lt;br /&gt;
&lt;br /&gt;
* The sprinkler system going off, and soaking your computer?  It depends.  If your perform backups to a spare hard drive in your computer, then you&amp;#039;re probably out of luck.  If you perform backups to an external drive, and the external drive also got soaked, then you may be out of luck.  If your backups are off-site, you&amp;#039;re probably okay.&lt;br /&gt;
&lt;br /&gt;
* Suppose you mirror your computers hard drives -- what does (and doesn&amp;#039;t) this protect you against?  If one drive fails, you can rebuild a mirror; mirroring is protection against hardware failure. Mirroring offers no protection against accidental deletion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Suppose you are taking regular backups.  There are still things that&lt;br /&gt;
can go wrong:&lt;br /&gt;
&lt;br /&gt;
* Your backups might not include the files you expected them to include.&lt;br /&gt;
&lt;br /&gt;
* Your backups might not be readable.&lt;br /&gt;
&lt;br /&gt;
Moral of the story: it&amp;#039;s a good idea to test the integrity of your&lt;br /&gt;
backups every once in a while.&lt;br /&gt;
&lt;br /&gt;
Suppose someone gets hold of one of your backups, and puts it on&lt;br /&gt;
bittorrent.  What then?  This is a very good argument for encrypting&lt;br /&gt;
backups, particularly off-site backups.&lt;br /&gt;
&lt;br /&gt;
Suppose you&amp;#039;re diligently backing up your files to a cloud service,&lt;br /&gt;
you&amp;#039;re encrypting your backups, and you&amp;#039;re doing periodic tests of&lt;br /&gt;
backup integrity.  What happens when your backup provider goes belly&lt;br /&gt;
up, and sells your assets during liquidation?  Depends on what&amp;#039;s in&lt;br /&gt;
the service provider&amp;#039;s EULA.  Sigh ...&lt;br /&gt;
&lt;br /&gt;
There are two broad categories of backups:&lt;br /&gt;
&lt;br /&gt;
* Full backups.  You back up all of your files, regardless of whether they&amp;#039;ve changed.  Advantage: it&amp;#039;s a very nice, neat, snapshot of your stuff.  Disadvantage: full backups can be time-consuming (depending on the amount of data you have).&lt;br /&gt;
&lt;br /&gt;
* Incremental backups.  You backup files that have changed since the previous backup.  Some software is smart enough to isolate only the sections where a file has changed.  Advantage: incremental backups take up less space, and take less time to do.&lt;br /&gt;
&lt;br /&gt;
The two approaches are often mixed.  For example, you might do&lt;br /&gt;
incremental backups each night, full backups 1x/month, and store a&lt;br /&gt;
copy of the full backup off-site.&lt;br /&gt;
&lt;br /&gt;
== Deja-dup ==&lt;br /&gt;
&lt;br /&gt;
Normally, I&amp;#039;d start with the simplest solution first, identify&lt;br /&gt;
shortcomings with the simple solution, and then move on to better&lt;br /&gt;
solutions.  This time, I&amp;#039;d like to start with a piece of backup&lt;br /&gt;
software that&amp;#039;s pretty good, and work backwards to simpler approaches&lt;br /&gt;
(for illustration).&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;d like to show a piece of software called&lt;br /&gt;
[https://wiki.gnome.org/Apps/DejaDup Deja Dup].  Deja Dup is a nice&lt;br /&gt;
graphical program that uses&lt;br /&gt;
[https://en.wikipedia.org/wiki/Duplicity_%28software%29 duplicity] as&lt;br /&gt;
the underlying back-end.&lt;br /&gt;
&lt;br /&gt;
Duplicity is pretty nice, and it has several of the features mentioned&lt;br /&gt;
earlier:&lt;br /&gt;
&lt;br /&gt;
* Supports full and incremental backups&lt;br /&gt;
&lt;br /&gt;
* Supports different `backends&amp;#039;.  You can backup to an external disk, dropbox, S3, ftp, webdav, or an ssh account on a remote server.&lt;br /&gt;
&lt;br /&gt;
* Supports encryption (via GnuPG)&lt;br /&gt;
&lt;br /&gt;
Exercise: try to backup your Desktop folder to /tmp/backups.  (Note:&lt;br /&gt;
you&amp;#039;d never want to put real backups in /tmp/ -- by definition, /tmp&lt;br /&gt;
is for temporary files.  But for our first test, /tmp will do just&lt;br /&gt;
fine).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Class]]&lt;/div&gt;</summary>
		<author><name>SteveR</name></author>
	</entry>
</feed>