README.md 1.08 KB
Newer Older
Sophie Herold's avatar
Sophie Herold committed
1 2
# backup

Sophie Herold's avatar
Sophie Herold committed
3 4 5 6 7 8 9 10 11 12 13 14
    +----------------+
    |                |
    |   machine 1    |
    |                | +--------------> +----------------+     borg/ssh     +----------------+
    +----------------+                  |                |                  |                |
                            sshfs       |   backup.py    | +--------------> |  borg backup   |
    +----------------+                  |                |                  |                |
    |                | +--------------> +----------------+       sftp       +----------------+
    |   machine 2    |                                       (space stats)
    |                |
    +----------------+

Sophie Herold's avatar
Sophie Herold committed
15 16 17 18
It is recommended to use a server or virtual machine dedicated to running
backup.py exclusively, since connection problems can hang up sshfs so badly, 
that you need to reboot the system running backup.py.

Sophie Herold's avatar
Sophie Herold committed
19 20
#### CLI

Sophie Herold's avatar
Sophie Herold committed
21 22 23
```sh
./backup.py -h
```
Sophie Herold's avatar
Sophie Herold committed
24

Mika Pflüger's avatar
Init  
Mika Pflüger committed
25 26 27 28
#### Configuration

    /etc/backup.conf
    /etc/backup.d/
Sophie Herold's avatar
Sophie Herold committed
29 30
	        machine_1.files
	        machine_2.files
Mika Pflüger's avatar
Init  
Mika Pflüger committed
31 32 33 34 35 36 37 38

##### machine\_1.files

    + /etc/
    + /home/
    + /root/
    + /usr/local/