This project consists of Python scripts designed to automate backup processes for MariaDB and MongoDB databases, as well as query scripts for monitoring purposes. The backup scripts ensure data integrity and disaster recovery capabilities, while the monitoring scripts provide insights into the database login and unaunthorised access
- Automated backup processes for MariaDB and MongoDB databases.
- Query scripts for database login and unaunthorised access.
- Python
- MariaDB
- MongoDB
- Clone the repository.
- Install the required Python packages using
pip install -r requirements.txt. - Ensure access to the MariaDB and MongoDB databases is configured correctly.
Configure the backup settings in backup-config.cnf.
Run mariadb_backup.py to backup MariaDB databases.
Run mongodb_backup.py to backup MongoDB databases.
Run Queries-login.py and Queries-unauthorized.py to execute database queries for monitoring purposes.
Analyze the output for login and unaunthorised access.
This project is licensed under the MIT License.
For any questions or feedback, please contact me at devprecious@gmail.com.