frappe_docker/run-s3-backup.sh
Tushar 56cef5fe68 feat: add backup and email configuration scripts and environment files
- Introduced backup scripts for S3 and Google Drive, including cron job setup for automated backups.
- Added email configuration script to set up SMTP settings for ERPNext.
- Created environment files for backup configurations (backup.env, gdrive-backup.env, email.env).
- Updated docker-compose files to support new backup services and configurations.
2025-03-20 10:44:25 +00:00

9 lines
No EOL
246 B
Bash
Executable file

#!/bin/bash
# Path to your S3 backup configuration
S3_BACKUP_FILE="s3-backup.yaml"
# Run the backup with appropriate environment variables
docker compose -f $S3_BACKUP_FILE --env-file backup.env up backup
echo "S3 backup completed at $(date)"