Browse Source

Update remote backups instructions

pull/55/head
Bob Mottram 7 years ago
parent
commit
b525fcd393
  1. 16
      doc/EN/backups.org
  2. 2
      src/freedombone-remote
  3. 29
      website/EN/backups.html

16
doc/EN/backups.org

@ -48,24 +48,12 @@ Distributed backups are a better way of ensuring the persistence of your data, s
Firstly you will need to have a user account on one or more of your friends servers. They don't necessarily need to be using Freedombone, just some version of GNU/Linux with ssh access. They can create a user account for you with the *adduser <username>* command when logged in as root and then give you the username and password via a secure method, such as on paper or via an encrypted email or via an XMPP chat using OTR. Make sure that the password used is a strong one - preferably a long random string stored in a password manager - so that dictionary attacks will fail. Also for maximum resilience put your password manager file onto a USB thumb drive and carry it with you.
To add friends servers create a file called /backup.list/ in the following way.
#+BEGIN_SRC bash
ssh username@domainname -p 2222
emacs ~/backup.list
freedombone-remote
#+END_SRC
Add entries like this. The numbers are the ssh port number to log in on.
#+BEGIN_SRC bash
username1@frienddomain1:2222//home/username1 ssh_password1
username2@frienddomain2:2222//home/username2 ssh_password2
...
#+END_SRC
Save and exit with *CTRL-x CTRL-s* then *CTRL-x CTRL-c*, then type *exit*.
The system will try to backup to these remote locations once per day.
You can then enter the domains and ssh logins for one or more remote servers. The system will try to backup to these remote locations once per day.
* Restore from a friend
** With a completely new Freedombone installation
This is the ultimate disaster recovery scenario in which you are beginning completely from scratch with new hardware and a new Freedombone installation. It is assumed that the old hardware was destroyed, but that you have the passwords stored within a password manager on a USB thumb drive.

2
src/freedombone-remote

@ -31,7 +31,7 @@
NO_OF_ARGS=$#
# User to create the list for
MY_USERNAME=
MY_USERNAME=$USER
# Filename of the remote backups list
FRIENDS_SERVERS_LIST=

29
website/EN/backups.html

@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<!-- 2015-03-02 Mon 13:47 -->
<!-- 2015-04-10 Fri 12:56 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="generator" content="Org-mode" />
<meta name="author" content="Bob Mottram" />
@ -15,7 +15,8 @@
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center; }
.todo { font-family: monospace; color: red; }
.done { color: green; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
@ -250,35 +251,15 @@ Distributed backups are a better way of ensuring the persistence of your data, s
Firstly you will need to have a user account on one or more of your friends servers. They don't necessarily need to be using Freedombone, just some version of GNU/Linux with ssh access. They can create a user account for you with the <b>adduser &lt;username&gt;</b> command when logged in as root and then give you the username and password via a secure method, such as on paper or via an encrypted email or via an XMPP chat using OTR. Make sure that the password used is a strong one - preferably a long random string stored in a password manager - so that dictionary attacks will fail. Also for maximum resilience put your password manager file onto a USB thumb drive and carry it with you.
</p>
<p>
To add friends servers create a file called <i>backup.list</i> in the following way.
</p>
<div class="org-src-container">
<pre class="src src-bash">ssh username@domainname -p 2222
emacs ~/backup.list
freedombone-remote
</pre>
</div>
<p>
Add entries like this. The numbers are the ssh port number to log in on.
</p>
<div class="org-src-container">
<pre class="src src-bash">username1@frienddomain1:2222//home/username1 ssh_password1
username2@frienddomain2:2222//home/username2 ssh_password2
...
</pre>
</div>
<p>
Save and exit with <b>CTRL-x CTRL-s</b> then <b>CTRL-x CTRL-c</b>, then type <b>exit</b>.
</p>
<p>
The system will try to backup to these remote locations once per day.
You can then enter the domains and ssh logins for one or more remote servers. The system will try to backup to these remote locations once per day.
</p>
</div>
</div>

Loading…
Cancel
Save