Implement pruning for Azure blob storage

This commit is contained in:
Frederik Ring
2022-12-24 09:06:51 +01:00
parent a253fdfbec
commit fdce7ee454
3 changed files with 73 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ services:
AZURE_STORAGE_ACCOUNT_NAME: devstoreaccount1
AZURE_STORAGE_PRIMARY_ACCOUNT_KEY: Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
AZURE_STORAGE_CONTAINER_NAME: test-container
AZURE_STORAGE_ENDPOINT: http://storage:10000/%s/
AZURE_STORAGE_ENDPOINT: http://storage:10000/{{ .AccountName }}/
BACKUP_FILENAME: test.tar.gz
BACKUP_CRON_EXPRESSION: 0 0 5 31 2 ?
BACKUP_RETENTION_DAYS: ${BACKUP_RETENTION_DAYS:-7}