Hey everyone! I hope my English is okay. I'm working on a mini backup script for Linux (currently using Ubuntu, but I plan to make it compatible with other distros like Kali, Fedora, CentOS, etc.). While I've got the backup part down, I'm struggling with how to send a log email of the backup process. I've seen mentions of postfix and mailutils, but I'm not sure how they work after trying to install them. Is it possible to set up a temporary email that can send me the log reports, regardless of the domain?
2 Answers
You might want to check out using rsync for your backups. It's a powerful tool that works well and can be set up to send logs via email.
It sounds like you're looking to get email notifications for your backups. Are you asking if you can receive a summary of your backup operations via email?
Yes, I've got the backup script working fine, but I really want a log report detailing what was backed up, and I'm not sure how to implement that.
What exactly is rsync? I'm pretty new to this—I'm doing this project for school and want to make sure it's done right.