Skip to content
Snippets Groups Projects
user avatar
Hahn Axel (hahn) authored
4e5503ff
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.