]> git.sesse.net Git - backup.sh/blob - README
Take backup at lowest possible (non-idle) CPU priority, and idle I/O priority.
[backup.sh] / README
1 You need hardware:
2 x a computer running a free unix clone.
3 x as much discspace as you can aford.
4   
5 You need software on clients and server:
6 x ssh/openssh
7 x GNU bash
8 x GNU tar 
9 x GNU shellutils
10
11 How to prepare your computer:
12 x mount your huge partition (we use /backup).
13 x make it possible for ssh to log in from this computer
14   to your other computers as root without a password. scary.
15 x put this software in a directory (we use /home/backup/)
16 x put the name of your computers in /home/backup/conf/computers.unix
17 x the fifth field (of the partitions you want to back up) in
18   /etc/fstab on your clients should be >0 
19
20 Crontab entry:
21 We use cron to start the script every night. Here is the entry we use:
22 2 2 * * * /home/backup/backup.sh < /dev/null >> `/home/backup/logfilename.sh` 2>&1