-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
41 lines (19 loc) · 823 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
INSTALL INSTRUCTIONS
# On the client
add the following line to your /etc/crontab
23 * * * * root /path/to/delorean.sh
This will run delorean every hour at HH:23
Now create an ssh-key whithout a passphrase for your root-user:
ssh-keygen
Optionally put delorean.default.example to /etc/default/delorean and fill it
with your settings in case your server is not called "backupserver".
# On the server
Optional, but very strongly recommended:
create a dedicated user e.g. "delorean"
# useradd -d /srv/delorean delorean
You shall not give this user a password! Create
/srv/delorean/.ssh/authorized_keys and put the public-ssh key of the
root-user into it.
# And now?
That's all. Now run delorean.sh the first-time manually, so you can accept
the host-key of your server and do the initial full-backup.