X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=README;h=cdae319594f4a55b2c45d9124ba9ea2f70adfa09;hb=45af8287dfd50b7190a09fbfca033f29b98a23f7;hp=7810744119c9c47778f56fa03320bb24fdeaab81;hpb=5785671f001b475ce284af651bdc0d53b9a02c1e;p=backup.sh diff --git a/README b/README index 7810744..cdae319 100644 --- a/README +++ b/README @@ -1,12 +1,14 @@ You need hardware: -x a computer running a free unix clone. -x as much disc as you can aford. +x a computer running a free UNIX clone. +x as much disk space as you can afford. -You need software: -x ssh (or perhaps openssh) +You need software on clients and server: +x ssh/openssh x GNU bash x GNU tar x GNU shellutils +x GNU moreutils +x git (backup machine only) How to prepare your computer: x mount your huge partition (we use /backup). @@ -14,9 +16,11 @@ x make it possible for ssh to log in from this computer to your other computers as root without a password. scary. x put this software in a directory (we use /home/backup/) x put the name of your computers in /home/backup/conf/computers.unix +x put the global config file in /home/backup/conf/backup.config, + adjust to taste x the fifth field (of the partitions you want to back up) in /etc/fstab on your clients should be >0 Crontab entry: We use cron to start the script every night. Here is the entry we use: -2 2 * * * /home/backup/backup.sh < /dev/null >> `/home/backup/logfilename.sh` 2>&1 +02 4 * * * /home/backup/backup-cron.sh