mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
- 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.
9 lines
No EOL
246 B
Bash
Executable file
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)" |