diff --git a/doc/EN/backups.org b/doc/EN/backups.org index d7b90ffd..00a97630 100644 --- a/doc/EN/backups.org +++ b/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 * 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. diff --git a/src/freedombone-remote b/src/freedombone-remote index 6f3b7ea2..307a2181 100755 --- a/src/freedombone-remote +++ b/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= diff --git a/website/EN/backups.html b/website/EN/backups.html index 66df4810..b6e5914f 100644 --- a/website/EN/backups.html +++ b/website/EN/backups.html @@ -4,7 +4,7 @@ - + @@ -15,7 +15,8 @@