v0.2: Added dockerignore; Added SCHEDULE setting (#1); Updated libs;

This commit is contained in:
2022-11-26 22:13:32 +02:00
committed by Eugene Morozov
parent aab3850258
commit a139065611
7 changed files with 69 additions and 47 deletions

View File

@@ -4,12 +4,12 @@ This docker image provides functionality:
1. Compress directory using ZSTD
2. Upload compressed file to S3 storage
3. Scheduled to run every day
3. Backup running schedule (monthly, weekly, daily, hourly)
# SETTINGS
You can set some envs vars:
- DEBUG - run every 1 minute if 1, default is 0
- SCHEDULE - can be monthly, weekly, daily (by default), hourly
- FOLDER_TO_BACKUP - folder which script will compress, default is `/backup`
- TIME_ZONE - timezone for datetime using in filenames, default is Europe/Tallinn
- COMPRESSION_LEVEL - level of LZMA compression, default is 10