frappe_docker/run-gdrive-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
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)"