Update readme files to reflect changes
This commit is contained in:
12
README.md
12
README.md
@@ -3,16 +3,22 @@ This creates a backup on the local filesystem, but does not persist it anywhere
|
||||
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.
|
||||
Can add new backups to this by adding another conf file. See configs directory for examples.
|
||||
|
||||
Each config file should include:
|
||||
- `outputDir`: Where to store the backup
|
||||
- `inputs`: List of directories/files to back up
|
||||
- `ignorePatterns`: List of patterns to exclude
|
||||
- `archiveType`: Either "tar" (default) or "zip" (faster, lower compression)
|
||||
|
||||
## running
|
||||
Can run with ./backup.py, or create a cron job.
|
||||
current crontab entry is. (every sat at 0105.)
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user