Procházet zdrojové kódy

Documentation changes for remote backups

Bob Mottram před 9 roky
rodič
revize
7f1a795ece
1 změnil soubory, kde provedl 18 přidání a 37 odebrání
  1. 18
    37
      doc/EN/backups.org

+ 18
- 37
doc/EN/backups.org Zobrazit soubor

10
 
10
 
11
 #+BEGIN_CENTER
11
 #+BEGIN_CENTER
12
 #+ATTR_HTML: :border -1
12
 #+ATTR_HTML: :border -1
13
-| [[file:index.html][Home]]                  |
14
-| [[Backup keys]]           |
15
-| [[Backup to USB]]         |
16
-| [[Restore from USB]]      |
17
-| [[Distributed backups]]   |
18
-| [[Restore from a friend]] |
13
+| [[file:index.html][Home]]                       |
14
+| [[Backup keys]]                |
15
+| [[Backup to USB]]              |
16
+| [[Restore from USB]]           |
17
+| [[Distributed/remote backups]] |
18
+| [[Restore from a friend]]      |
19
 #+END_CENTER
19
 #+END_CENTER
20
 
20
 
21
 * Backup keys
21
 * Backup keys
64
 Select /Backup and Restore/ then /Restore data from USB drive/.
64
 Select /Backup and Restore/ then /Restore data from USB drive/.
65
 
65
 
66
 Enter the LUKS password for the USB drive. When the restore is complete you can remove the USB drive.
66
 Enter the LUKS password for the USB drive. When the restore is complete you can remove the USB drive.
67
-* Distributed backups
67
+* Distributed/remote backups
68
 Distributed backups are a better way of ensuring the persistence of your data, such that even if your system gets stolen or destroyed then the data will still be recoverable from your friends. Since the backups are encrypted your friends (or anyone else with access to their systems) won't be able to read your backed up content even if their systems are subsequently compromised.
68
 Distributed backups are a better way of ensuring the persistence of your data, such that even if your system gets stolen or destroyed then the data will still be recoverable from your friends. Since the backups are encrypted your friends (or anyone else with access to their systems) won't be able to read your backed up content even if their systems are subsequently compromised.
69
 
69
 
70
-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 not be easy. Also for maximum resilience put your password manager file onto a USB thumb drive and carry it with you.
70
+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 control panel on a Freedombone system or with the *adduser <username>* command on any other system when logged in as root and then give you the username and password via a secure method, such as on paper, via an encrypted email, Tox 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 not be easy. Also for maximum resilience put your password manager file onto a USB thumb drive and carry it with you.
71
 
71
 
72
 #+BEGIN_SRC bash
72
 #+BEGIN_SRC bash
73
 ssh username@domainname -p 2222
73
 ssh username@domainname -p 2222
74
-freedombone-remote
74
+su
75
+control
75
 #+END_SRC
76
 #+END_SRC
76
 
77
 
78
+Select /Backup and Restore/ then /Configure remote backups/.
79
+
77
 You can then enter the usernames, domains and ssh logins for one or more remote servers. The system will try to backup to these remote locations once per day.
80
 You can then enter the usernames, domains and ssh logins for one or more remote servers. The system will try to backup to these remote locations once per day.
78
 * Restore from a friend
81
 * Restore from a friend
79
 ** With a completely new Freedombone installation
82
 ** With a completely new Freedombone installation
83
 
86
 
84
 #+BEGIN_SRC bash
87
 #+BEGIN_SRC bash
85
 ssh username@domainname -p 2222
88
 ssh username@domainname -p 2222
86
-freedombone-remote
87
-#+END_SRC
88
-
89
-Configure the remote server login details.
90
-
91
-Now become the root user:
92
-
93
-#+BEGIN_SRC bash
94
 su
89
 su
90
+control
95
 #+END_SRC
91
 #+END_SRC
96
 
92
 
97
-Plug in the USB drive containing the backup key and restore it.
98
-
99
-#+BEGIN_SRC bash
100
-freedombone-recoverkey -u [username]
101
-#+END_SRC
102
-
103
-Or on a Beablebone Black:
104
-
105
-#+BEGIN_SRC bash
106
-freedombone-recoverkey -u [username] -d sda
107
-#+END_SRC
93
+Select /Backup and Restore/ then /Restore GPG key from USB (master keydrive)/. Select the username then plug in your keydrive and restore the key.
108
 
94
 
109
-Then use the command:
95
+Now select /Configure remote backups/ and configure the locations and logins for the remote server.
110
 
96
 
111
-#+BEGIN_SRC bash
112
-restorefromfriend <friends server domain name>
113
-#+END_SRC
97
+Finally select /Restore from remote backup/ and enter the domain name of the remote server that you wish to restore from.
114
 ** On an existing Freedombone installation
98
 ** On an existing Freedombone installation
115
 This is for more common situations in which maybe some data became corrupted and you want to restore it.
99
 This is for more common situations in which maybe some data became corrupted and you want to restore it.
116
 
100
 
119
 #+BEGIN_SRC bash
103
 #+BEGIN_SRC bash
120
 ssh username@domainname -p 2222
104
 ssh username@domainname -p 2222
121
 su
105
 su
106
+control
122
 #+END_SRC
107
 #+END_SRC
123
 
108
 
124
-Then use the command:
125
-
126
-#+BEGIN_SRC bash
127
-restorefromfriend <friends server domain name>
128
-#+END_SRC
109
+Select /Backup and Restore/ then /Restore from remote backup/ and enter the domain name of the remote server that you wish to restore from.