MySQL & PostgreSQL Backups on Schedule: Dump Script + Guide
Sold <10
0 000 X
There are no such quantities in stock
By clicking the button, you agree to
terms for buyers
Secure deal
Instant delivery
Product description
Many people back up website files but forget the database — yet the database is where orders, users and content live. This script makes MySQL/MariaDB and PostgreSQL dumps on schedule: each database in a separate compressed file with a date, old dumps are deleted automatically, and if an error occurs you get an alert in Telegram.
The dump does not lock tables (--single-transaction), and a dump error is not masked by compression: the script honestly fails, deletes the broken file and sends an alert. The database list can be set manually or left empty — then all server databases will be saved, except system ones.
WHAT´S INSIDE THE ARCHIVE
• db-backup.sh — MySQL/PostgreSQL dumps, rotation, Telegram alerts
• .env.example — settings: connection, database list, folder, retention
• db-backup.service + db-backup.timer — daily run via systemd
• README.md — full guide: installation, permissions, schedule, restore
• Db-backup-guide.pdf — the same guide, typeset for printing (3 pages)
GUIDE STEPS
1. Settings in .env: database type, connection, dumps folder.
2. First manual run — dumps appeared, log is clean.
3. Schedule: systemd timer at 03:30 or a cron line.
4. Test restore on a separate database — the backup is verified.
WHAT YOU NEED
A server with MySQL/MariaDB or PostgreSQL and client utilities (mysqldump / pg_dump). 15 minutes to set up.
IMPORTANT
This is a script and guide for self-setup — not turnkey setup. If you need backups of your infrastructure done for you, that is a separate service.
SIMILAR PRODUCTS
• Server backups with restic: /itm/server-backups-with-restic-scheduled-cloud-storage-telegram-alerts/6410486
• VPS Starter Kit — setup and protection of a server: /itm/vps-starter-kit-setup-and-protection-of-ubuntu-debian-server-scripts-pdf-guide/6397857
• VPS monitoring: Uptime Kuma + alerts: /itm/vps-monitoring-uptime-kuma-telegram-alerts-docker-compose-stack-guide/6410250
• Auto-deploy a website from Git via webhook: /itm/git-autodeploy-to-vps-via-webhook-receiver-deploy-scripts-guide/6423346
• Your own Git on a VPS: Gitea in Docker: /itm/your-own-git-on-a-vps-gitea-in-docker-backups-compose-stack-guide/6422908
The dump does not lock tables (--single-transaction), and a dump error is not masked by compression: the script honestly fails, deletes the broken file and sends an alert. The database list can be set manually or left empty — then all server databases will be saved, except system ones.
WHAT´S INSIDE THE ARCHIVE
• db-backup.sh — MySQL/PostgreSQL dumps, rotation, Telegram alerts
• .env.example — settings: connection, database list, folder, retention
• db-backup.service + db-backup.timer — daily run via systemd
• README.md — full guide: installation, permissions, schedule, restore
• Db-backup-guide.pdf — the same guide, typeset for printing (3 pages)
GUIDE STEPS
1. Settings in .env: database type, connection, dumps folder.
2. First manual run — dumps appeared, log is clean.
3. Schedule: systemd timer at 03:30 or a cron line.
4. Test restore on a separate database — the backup is verified.
WHAT YOU NEED
A server with MySQL/MariaDB or PostgreSQL and client utilities (mysqldump / pg_dump). 15 minutes to set up.
IMPORTANT
This is a script and guide for self-setup — not turnkey setup. If you need backups of your infrastructure done for you, that is a separate service.
SIMILAR PRODUCTS
• Server backups with restic: /itm/server-backups-with-restic-scheduled-cloud-storage-telegram-alerts/6410486
• VPS Starter Kit — setup and protection of a server: /itm/vps-starter-kit-setup-and-protection-of-ubuntu-debian-server-scripts-pdf-guide/6397857
• VPS monitoring: Uptime Kuma + alerts: /itm/vps-monitoring-uptime-kuma-telegram-alerts-docker-compose-stack-guide/6410250
• Auto-deploy a website from Git via webhook: /itm/git-autodeploy-to-vps-via-webhook-receiver-deploy-scripts-guide/6423346
• Your own Git on a VPS: Gitea in Docker: /itm/your-own-git-on-a-vps-gitea-in-docker-backups-compose-stack-guide/6422908
Main features
- Content type File
- Content description 41,71 kB
- Updated on the site 18.11.2026
Images
Reviews
No reviews yet
0 000 X
There are no such quantities in stock
By clicking the button, you agree to
terms for buyers
Secure deal
Instant delivery
You viewed
All images, logos, and names of games, programs, and other products used are taken from public sources and are for informational purposes only. All trademarks, logos, names, and other intellectual property belong to their respective owners. Use of such images on the website does not imply any affiliation or connection with the copyright holders.