MongoDB Docker Backup Manager Usage Scenarios
# Run the script
./mongo_backup_manager.sh
# Select language (1: Turkish, 2: English)
# Select container
# Select database
1) Select Take Backup option
1) Select Full Backup option
# Enter backup description
1.3 Taking Collection-Based Backup
1) Select Take Backup option
2) Select Collection-Based Backup option
# Select collections
# Enter backup description
2) Select Restore Backup option
# Select backup
1) Overwrite or 2) Keep Existing Data option
2. Advanced Usage Scenarios
10) Select Compare Backups option
# Select first backup
# Select second backup
# Review comparison results
2.2 Viewing Database Statistics
8) Select Database Statistics option
# Review statistics
2.3 Examining Backup Content
9) Select Backup Content option
# Select backup to examine
4) Select Delete Backup option
# Select backup to delete
# Confirm deletion
5) Select Change Container option
# Select new container
6) Select Change Database option
# Select new database
4. Monitoring and Reporting Scenarios
4.1 Reviewing Backup History
7) Select Recent Operations option
# Review operation history
4.2 Examining Backup Sizes
3) Select List Backups option
# Review backup sizes and dates
5.1 Connecting to Database Requiring Authentication
# After container selection
MongoDB username: [enter username]
MongoDB password: [enter password]
Authentication database: [enter auth db name]
5.2 Using SSL/TLS Connection
# Ensure container's SSL/TLS certificates are properly configured
# Follow normal connection steps
6. Error Handling Scenarios
6.1 Connection Error Situation
# Check error message
# Verify container is running
# Check credentials
# Retry
6.2 Insufficient Disk Space Situation
# Free up space in backup directory
# Clean old backups
# Retry backup operation
7. Performance Optimization Scenarios
7.1 Backing Up Large Databases
# Check disk space before backup
# Use collection-based backup
# Schedule backup during quiet hours
# Regularly clean old backups
# Exclude unnecessary collections
# Store backups in compressed format