File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
project-fortis-backup/docker Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ services:
7575 environment :
7676 - FORTIS_CASSANDRA_HOST=cassandra
7777 - FORTIS_CASSANDRA_PORT=9042
78+ - BACKUP_INTERVAL=10m
79+ - BACKUP_DELETE_LOOKBACK=30 minutes ago
7880 env_file :
7981 - .env-secrets
8082
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ ENV USER_FILES_BLOB_ACCOUNT_NAME=""
3232ENV USER_FILES_BLOB_ACCOUNT_KEY=""
3333ENV BACKUP_CONTAINER_NAME="backups"
3434ENV BACKUP_DELETE_LOOKBACK="2 weeks ago"
35+ ENV BACKUP_INTERVAL="2h"
3536
3637# a one-node local cassandra is set up via docker-compose, if you wish to use a
3738# larger cluster (e.g. hosted in Azure), just override this variable with the
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
33while : ; do
4- sleep 60m
4+ sleep " $BACKUP_INTERVAL "
55 /app/backup-cassandra-keyspace.sh settings
66done
You can’t perform that action at this time.
0 commit comments