Go to file
2024-02-28 07:40:50 +00:00
Backup_OpenStack_Vms_And_Volumes.sh Gestion de l'authentification rclone à travers des variables 2024-02-28 07:40:50 +00:00
mysql_backup.sh update mysql_backup and pg_backup scripts 2023-03-19 10:13:22 +01:00
pg_backup.sh update mysql_backup and pg_backup scripts 2023-03-19 10:13:22 +01:00
pg_backup.sh.old cretae readme content 2023-03-19 10:21:49 +01:00
README.md cretae readme content 2023-03-19 10:21:49 +01:00

Backup utilities for databases

Summary

Linux backup utilities for the following databases.

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:

  1. Create and copy backup.sh to /opt/backup or to a specific directory
  2. Create 3 subdirectory :
    • archive which contains archived dumps
    • data which contains the dumps of the day
    • log which contains the logs
  3. Create daily cron job to for daily backup.

Cron entry example:

30 22 * * * /opt/backup/backup.sh --run > /dev/null