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
286 B
Bash
Executable file
9 lines
No EOL
286 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Path to your Google Drive backup configuration
|
|
GDRIVE_BACKUP_FILE="gdrive-backup.yaml"
|
|
|
|
# Run the backup with Google Drive environment variables
|
|
docker compose -f $GDRIVE_BACKUP_FILE --env-file gdrive-backup.env up backup
|
|
|
|
echo "Google Drive backup completed at $(date)" |