This repository contains two scripts for the Backup System homework assignment:
createbackup.sh: A backup script for backing up specified files to a specified destination directory and calculating the MD5 checksum of the archive file.disk-space-alert.sh: A script for monitoring disk space usage and sending email alerts if disk space usage exceeds a specified threshold.
- Bash shell (version 4 or later)
dfandawkcommands fordisk-space-alert.sh- Configuration file
/config/createbackup.confforcreatebackup.sh
- Copy
createbackup.shand/config/createbackup.conffiles to the same directory. - Edit the configuration file
/config/createbackup.confto specify the files to be backed up and the destination directory. - Run the script with the command
./createbackup.sh.
- Copy
disk-space-alert.shto the desired directory. - Make the script executable with the command
chmod +x disk-space-alert.sh. - Run the script with the command
./disk-space-alert.sh.
- [Eyup Fidan]
This project is licensed under the MIT License.