Skip to content
Snippets Groups Projects
Select Git revision
  • 312fbe371aa43aedf0756867e28447265e640202
  • master default protected
  • 7771-harden-postgres-backup
  • pgsql-dump-with-snapshots
  • update-colors
  • update-docs-css
  • usb-repair-stick
  • desktop-notification
  • 7000-corrections
  • db-detector
10 results

localdump

user avatar
Hahn Axel (hahn) authored
312fbe37
History

Help plugins/localdump/

Here are database plugins that can dump and restore types of databases. They will be sourced by [APPDIR]/localdump.sh and cannot started directly.

  • couchdb2.sh - couchdb 2+3 - using cloudant
  • couchdb.sh - couchdb1 - using a bash script
  • ldap.sh (*) - openLdap - experimantal
  • mysql.sh (*) - Mysql/ Mariadb
  • pgsql.sh (*) - PostgreSql - using pg_dump
  • sqlite.sh - Sqlite sqlite3

(*) If ever possible we use a zero config method. This plugin detects locally installed binaries and running processes of a given name to run a database backup or not.

See settings in [APPDIR]/jobs/backup.job:

dir-localdumps = /var/iml-backup
keep-days = 7

dir-localdumps configures the target base directory for dumps. Below are subdirectories for the database type. In those are the dumps containing name of database scheme and a timestamp. All dumps are gzip compressed.

keep-days contains an integer for the days to keep database dumps locally. Older dumps will be removed.