Skip to content

Commit e467ec6

Browse files
authored
Merge pull request #610 from Adediwura-dev/feat/database-backup
feat(backup): automated database backup with disaster recovery
2 parents e5a9dce + 7a63cf3 commit e467ec6

13 files changed

Lines changed: 2491 additions & 2 deletions

apps/backend/.env.example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,18 @@ APP_MIN_SUPPORTED_VERSION=1.0.0
5858
APP_LATEST_VERSION=1.0.0
5959
APP_UPDATE_URL=https://apps.apple.com/app/vaultix/id0000000000
6060

61+
# Database Backup Configuration
62+
BACKUP_LOCAL_DIR=./data/backups
63+
BACKUP_ENCRYPTION_KEY=your-encryption-key-min-32-chars
64+
BACKUP_S3_BUCKET=your-s3-bucket-name
65+
BACKUP_S3_PREFIX=vaultix/backups
66+
BACKUP_S3_REGION=us-east-1
67+
BACKUP_S3_ACCESS_KEY=your-s3-access-key
68+
BACKUP_S3_SECRET_KEY=your-s3-secret-key
69+
BACKUP_S3_ENDPOINT=
70+
BACKUP_STORAGE_QUOTA_BYTES=10737418240
71+
BACKUP_ALERT_THRESHOLD_PERCENT=80
72+
6173
# IPFS Configuration
6274
IPFS_PROVIDER=pinata
6375
PINATA_API_KEY=your-pinata-api-key

0 commit comments

Comments
 (0)