2019-04-11 00:30:53 +02:00
|
|
|
# rsync-linux-home
|
|
|
|
|
2019-04-16 13:10:41 +02:00
|
|
|
A simple script to make backups of your linux home with rsync.
|
2019-04-11 00:30:53 +02:00
|
|
|
|
|
|
|
## Usage
|
2019-04-16 13:10:41 +02:00
|
|
|
1. Enter the UUID of the destination partition into `rsync-linux-home.py`:
|
2019-04-11 00:30:53 +02:00
|
|
|
```
|
2019-04-16 13:10:41 +02:00
|
|
|
DRIVE_UUID="<set here Partition UUID>"
|
2019-04-11 00:30:53 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
2. Configure which folders to include and which to exclude, changing arrays `INCLUDES`/`EXCLUDES` into `rsync-linux-home.py`:
|
|
|
|
```
|
|
|
|
INCLUDES = [...]
|
2019-04-11 11:34:29 +02:00
|
|
|
EXCLUDES = [...]
|
2019-04-11 00:30:53 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
3. Make the script executable
|
|
|
|
```
|
|
|
|
chmod +x rsync-linux-home.py
|
|
|
|
```
|
|
|
|
|
|
|
|
4. Launch the script to perform the backup
|
|
|
|
```
|
|
|
|
./rsync-linux-home.py
|
2019-04-11 00:38:24 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
GPLv3
|