Repository navigation
Website Backup Script v1.0 Release
Overview:
Automate your website backups effortlessly with this script! Version 1.0 brings a reliable solution to backup Apache virtual host configurations, website files, and MySQL databases. Say goodbye to manual backups and hello to peace of mind.
Key Features:
Date-Stamped Backups: Each backup is tagged with the current date for easy identification.
Customizable Destination: Choose your backup destination folder (backup by default).
MySQL Database Export: Effortlessly export MySQL databases with a simple configuration.
Tar Archive Creation: A compressed tar archive consolidates virtual host configs, website files, and the database dump.
Usage:
Clone the repository.
Customize the script with your website-specific configurations (see config_sample.sh).
Run the script with ./backup_script.sh config.sh where config.sh is your configuration file.
Notes:
Ensure proper variable usage in the tar command (e.g., $backup_file, $vhost, $website_files).
Update the mysqldump command to use the correct password syntax (-p$db_pwd).
Feedback:
We welcome your feedback and contributions to enhance this script. Feel free to open issues or pull requests on GitHub!
Happy coding and secure backups! 🚀
Full Changelog: https://github.com/Ismail-Mouyahada/Script-backup-bash-windows/commits/backup