19 lines
781 B
Markdown
19 lines
781 B
Markdown
# simple-backup
|
|
This creates a backup on the local filesystem, but does not persist it anywhere else. Right now
|
|
the best solution i have to to manually upload this to proton drive.
|
|
|
|
## configure
|
|
Can add new backups to this by adding another conf file. See services.json for examples and exclude patterns for more details.
|
|
|
|
## running
|
|
Can run with ./backup.py, or create a cron job.
|
|
current crontab entry is. (every sat at 0105.)
|
|
```
|
|
sudo crontab -e
|
|
5 1 * * 6 /home/craig/services/simple-backup/backup.py >> /var/log/simple-backup.log 2>&1
|
|
```
|
|
want to change this to once a week or something, just like on sunday
|
|
## exlude patterns
|
|
Uses simple "filter" in "path", so no globbing/regexing.
|
|
|
|
For directories, having a trailing slash means it includes the dir but none of its contents. |