Bash Cloud Backup Script with Rotation and Email Notifications
0
Create a bash script that backs up [directories] to [cloud_provider] storage, compresses backups using [compression_method], rotates old backups keeping only the last [retention_count] versions, and sends email notifications via [email_method] to [recipient_email] on completion or failure. Include logging to [log_path], dry-run mode, exclude patterns for [exclude_patterns], and error handling for network failures, insufficient space, and missing dependencies. The script should verify backup integrity and provide a restore function.
Created by
alekx