Преглед на файлове

Update remote backups instructions

Bob Mottram преди 10 години
родител
ревизия
b525fcd393
променени са 3 файла, в които са добавени 8 реда и са изтрити 39 реда
  1. 2
    14
      doc/EN/backups.org
  2. 1
    1
      src/freedombone-remote
  3. 5
    24
      website/EN/backups.html

+ 2
- 14
doc/EN/backups.org Целия файл

@@ -48,24 +48,12 @@ Distributed backups are a better way of ensuring the persistence of your data, s
48 48
 
49 49
 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.
50 50
 
51
-To add friends servers create a file called /backup.list/ in the following way.
52
-
53 51
 #+BEGIN_SRC bash
54 52
 ssh username@domainname -p 2222
55
-emacs ~/backup.list
53
+freedombone-remote
56 54
 #+END_SRC
57 55
 
58
-Add entries like this. The numbers are the ssh port number to log in on.
59
-
60
-#+BEGIN_SRC bash
61
-username1@frienddomain1:2222//home/username1 ssh_password1
62
-username2@frienddomain2:2222//home/username2 ssh_password2
63
-...
64
-#+END_SRC
65
-
66
-Save and exit with *CTRL-x CTRL-s* then *CTRL-x CTRL-c*, then type *exit*.
67
-
68
-The system will try to backup to these remote locations once per day.
56
+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.
69 57
 * Restore from a friend
70 58
 ** With a completely new Freedombone installation
71 59
 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.

+ 1
- 1
src/freedombone-remote Целия файл

@@ -31,7 +31,7 @@
31 31
 NO_OF_ARGS=$#
32 32
 
33 33
 # User to create the list for
34
-MY_USERNAME=
34
+MY_USERNAME=$USER
35 35
 
36 36
 # Filename of the remote backups list
37 37
 FRIENDS_SERVERS_LIST=

+ 5
- 24
website/EN/backups.html Целия файл

@@ -4,7 +4,7 @@
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6 6
 <title></title>
7
-<!-- 2015-03-02 Mon 13:47 -->
7
+<!-- 2015-04-10 Fri 12:56 -->
8 8
 <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
9 9
 <meta  name="generator" content="Org-mode" />
10 10
 <meta  name="author" content="Bob Mottram" />
@@ -15,7 +15,8 @@
15 15
  <!--/*--><![CDATA[/*><!--*/
16 16
   .title  { text-align: center; }
17 17
   .todo   { font-family: monospace; color: red; }
18
-  .done   { color: green; }
18
+  .done   { font-family: monospace; color: green; }
19
+  .priority { font-family: monospace; color: orange; }
19 20
   .tag    { background-color: #eee; font-family: monospace;
20 21
             padding: 2px; font-size: 80%; font-weight: normal; }
21 22
   .timestamp { color: #bebebe; }
@@ -250,35 +251,15 @@ Distributed backups are a better way of ensuring the persistence of your data, s
250 251
 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.
251 252
 </p>
252 253
 
253
-<p>
254
-To add friends servers create a file called <i>backup.list</i> in the following way.
255
-</p>
256
-
257 254
 <div class="org-src-container">
258 255
 
259 256
 <pre class="src src-bash">ssh username@domainname -p 2222
260
-emacs ~/backup.list
257
+freedombone-remote
261 258
 </pre>
262 259
 </div>
263 260
 
264 261
 <p>
265
-Add entries like this. The numbers are the ssh port number to log in on.
266
-</p>
267
-
268
-<div class="org-src-container">
269
-
270
-<pre class="src src-bash">username1@frienddomain1:2222//home/username1 ssh_password1
271
-username2@frienddomain2:2222//home/username2 ssh_password2
272
-...
273
-</pre>
274
-</div>
275
-
276
-<p>
277
-Save and exit with <b>CTRL-x CTRL-s</b> then <b>CTRL-x CTRL-c</b>, then type <b>exit</b>.
278
-</p>
279
-
280
-<p>
281
-The system will try to backup to these remote locations once per day.
262
+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.
282 263
 </p>
283 264
 </div>
284 265
 </div>