No description
Backup_OpenStack_Vms_And_Volumes.sh | ||
mysql_backup.sh | ||
pg_backup.sh | ||
pg_backup.sh.old | ||
README.md |
Backup utilities for databases
Summary
Linux backup utilities for the following databases.
- MariaDB / MySQL
- PostgreSQL
How to install
Install online
Install Utility to '/tmp/backup' direcotry with curl
curl https://git.gresse.net/Ops/Backup/raw/branch/main/mysql_backup.sh | sh -s installonline
Or install Utility to '/tmp/backup' direcotry with wget
wget -O - https://raw.githubusercontent.com/PierNola/BackupPg/main/backup.sh | sh -s installonline
Install online in a specific directory
curl https://raw.githubusercontent.com/PierNola/BackupPg/main/backup.sh | sh -s installonline <customdir>
Or:
wget -O - https://raw.githubusercontent.com/PierNola/BackupPg/main/backup.sh | sh -s installonline <customdir>
Install description
The installer will perform 3 actions:
- Create and copy
backup.sh
to/opt/backup
or to a specific directory - Create 3 subdirectory :
archive
which contains archived dumpsdata
which contains the dumps of the daylog
which contains the logs
- Create daily cron job to for daily backup.
Cron entry example:
30 22 * * * /opt/backup/backup.sh --run > /dev/null