Server operations tools including backup scripts, encrypted mail functionality, logging management, and utility tools.
For installation, ask your LLM.
Send encrypted emails using GPG encryption. Supports both JSON and YAML configuration formats:
./dist/encrypted_mail \
--email-settings /path/to/email_settings.yaml \
--subject "Server Alert" \
--message "Backup completed successfully" \
--attachment /path/to/logfile.logBackup databases from Docker containers with automatic cleanup and email notifications:
./dist/db_backup \
--config /path/to/config.yamlThe configuration file should specify:
container_name: Name of the Docker containerbackup_dir: Directory where backups will be storedenv_file: Path to the container's .env file with DB credentialsretention_days: Number of days to retain backupscompression_level: Gzip compression level (1-9)email_settings: Path to email settings file (JSON or YAML) for notifications
Run Restic backup operations:
./dist/restic_backup \
--config /path/to/config.yaml \
--restic-path /snap/bin/restic \
--log-level INFOCheck for expected emails in IMAP mailbox:
./dist/check_mails \
--config /path/to/config.yaml \
--log-level INFO