Vikas Nale c77eccf8c6 Modify script to support both windows and ubuntu system
Modify script to upload backups on s3
Add documentation
2025-06-05 15:55:06 +05:30

23 lines
687 B
Bash

# Database Configuration
DB_HOST=1xxxx
DB_USER=devuser
DB_PASSWORD=xxxxx
DB_NAME_PROD=MarcoBMSProd
DB_NAME_STAGE=MarcoBMSStage
DB_NAME_GITA=gitea
DB_NAME_MEDIAWIKI=mediawiki
DB_NAME_REDMINE=redmine
# AWS S3 Configuration
S3_BUCKET_NAME=your-s3-bucket-name
S3_REGION=us-east-1
# Windows Specific Paths (if applicable, uncomment and adjust)
# WIN_BACKUP_DIR=C:/gita/database/backup
# WIN_MYSQLDUMP_PATH=C:/Program Files/MySQL/MySQL Server 8.0/bin/mysqldump.exe
# WIN_LOG_FILE=C:/gita/backup_log.txt
# Linux Specific Paths (if applicable, uncomment and adjust)
# LINUX_BACKUP_DIR=/var/lib/mysql-backups
# LINUX_MYSQLDUMP_PATH=/usr/bin/mysqldump
# LINUX_LOG_FILE=/var/log/mysql_backup.log