BackupWatch is a web-based application designed to monitor the status of backups through emails. The application checks incoming emails for specific keywords that indicate the success or failure of a backup operation. Based on the keywords found, BackupWatch updates the status of each backup, helping administrators easily identify which backups have succeeded or failed.
BackupWatch is an open-source project licensed under the Apache-2.0 license. You are free to use, modify, and distribute the software under the terms of this license.
- Transparency: Open-source nature ensures transparency and security.
- Collaboration: Encourages community contributions and collaboration.
- Customizability: Fully customizable according to your needs.
BackupWatch offers a comprehensive set of features to monitor and manage backups effectively:
- Backup Monitoring: Automatically checks emails for backup success or failure based on user-defined keywords.
- Real-time Status Updates: Displays current backup status with color-coded indicators.
- Automatic Refresh: Periodically refreshes backup status based on a configurable interval.
- Account Management: Allows administrators to manage user accounts.
- Customizable Configuration: Adjust settings such as email server details, port number, and refresh intervals.
- Version Updates: Check for and install new application versions easily.
- Dark and Light Mode: Toggle between dark and light themes.
BackupWatch categorizes users into three roles: Admin, Moderator, and Guest. Each role has different permissions and access levels.
Admins have full access to all features, including:
- Manage Backups: Add, edit, and delete backups.
- Manage Accounts: Add, edit, and delete user accounts.
- Configure Email Server: Update email server settings and port numbers.
- Install Updates: Access and manage software updates and licenses.
Moderators have slightly restricted permissions:
- Manage Backups: Similar to Admins, but without user account management.
- Move Backup Status Squares: Adjust the position of backup status indicators.
- View Account Configuration: Can update their own account details.
Guests have the most limited access:
- View Backup Status: Only view current backup statuses.
- Account Configuration: Update their own account details but no access to manage backups.
To start using BackupWatch:
- Log In: Use your credentials.
- Admin Access: Admins can manage user accounts, mail configuration, and version updates.
- Add Backups: Go to "Add New" to create a new backup entry.
BackupWatch uses color-coded squares to indicate the status of each backup:
- 🟢 Green: Backup completed successfully.
- 🟡 Yellow: Backup is delayed by one interval.
- 🟣 Purple: Backup is delayed by two intervals.
- 🔴 Red: Backup failed or encountered an error.
Admins can:
- Configure Email Server Settings
- Change Port Number
- Manage User Accounts
- Check for Updates: Ensure the application is up-to-date with the latest features and security patches.
Minumum requirements= 1core-CPU, 2GB-RAM, 10GB-HDD
sudo apt-get update
sudo apt-get upgrade -y
curl -s https://raw.githubusercontent.com/stefanzeljkic/BackupWatch/main/install_backupwatch.sh | bash
After the installation, the application will be available at http://<your-ip-address>:5000.
- Username:
admin - Password:
admin
Make sure to change these credentials after the first login to ensure the security of your BackupWatch instance.
If needed, you can restart the BackupWatch service and check its status with the following commands:
sudo systemctl restart backupwatch.service
sudo systemctl status backupwatch.service
If you need to run application manualy:
python3 /opt/BackupWatch/app.py
Application time is tied to the server's time zone To check time zone:
timedatectl
Setup time zone 'Example for Belgrade':
sudo timedatectl set-timezone Europe/Belgrade
List of all time zones:
timedatectl list-timezones
Find your time zone and apply to sudo timedatectl set-timezone "time zone" and restart service:
sudo systemctl restart backupwatch.service
To install SSL certificate + Apache reverse proxy:
sudo curl -o ssl_install.sh https://raw.githubusercontent.com/stefanzeljkic/BackupWatch/main/ssl_install.sh
sudo bash ssl_install.sh
After the installation, the application will be available at https://<your-ip-address>/
Note: If you activate the certificate using the DNS-01 challenge, the cron job will not be able to automatically renew the certificate. Instead, you will need to manually update the DNS TXT record each time the certificate is renewed.