{"id":15910524,"url":"https://github.com/voxpupuli/puppet-dbbackup","last_synced_at":"2025-03-27T20:30:43.891Z","repository":{"id":41989036,"uuid":"305363062","full_name":"voxpupuli/puppet-dbbackup","owner":"voxpupuli","description":"configure dump scripts for mysql, postgres and ldap","archived":false,"fork":false,"pushed_at":"2025-02-05T10:10:40.000Z","size":167,"stargazers_count":0,"open_issues_count":2,"forks_count":4,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-03-15T07:38:56.180Z","etag":null,"topics":["archlinux-puppet-module","centos-puppet-module","hacktoberfest","ldap","linux-puppet-module","mysql","postgresql","puppet","puppet-module"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voxpupuli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"vox-pupuli","github":"voxpupuli"}},"created_at":"2020-10-19T11:35:48.000Z","updated_at":"2025-02-05T10:10:41.000Z","dependencies_parsed_at":"2023-12-19T08:34:46.638Z","dependency_job_id":"6561c4ad-9372-4171-836e-1b0b26faf77d","html_url":"https://github.com/voxpupuli/puppet-dbbackup","commit_stats":{"total_commits":85,"total_committers":9,"mean_commits":9.444444444444445,"dds":"0.16470588235294115","last_synced_commit":"74b0900b5220bbd55d4d531b75eec70ca4a0db90"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-dbbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-dbbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-dbbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-dbbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voxpupuli","download_url":"https://codeload.github.com/voxpupuli/puppet-dbbackup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245919697,"owners_count":20693930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archlinux-puppet-module","centos-puppet-module","hacktoberfest","ldap","linux-puppet-module","mysql","postgresql","puppet","puppet-module"],"created_at":"2024-10-06T15:07:53.038Z","updated_at":"2025-03-27T20:30:43.605Z","avatar_url":"https://github.com/voxpupuli.png","language":"Ruby","funding_links":["https://opencollective.com/vox-pupuli","https://github.com/sponsors/voxpupuli"],"categories":[],"sub_categories":[],"readme":"# puppet-dbbackup\n\n[![Build Status](https://github.com/voxpupuli/puppet-dbbackup/workflows/CI/badge.svg)](https://github.com/voxpupuli/puppet-dbbackup/actions?query=workflow%3ACI)\n[![Release](https://github.com/voxpupuli/puppet-dbbackup/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/puppet-dbbackup/actions/workflows/release.yml)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/puppet/dbbackup.svg)](https://forge.puppetlabs.com/puppet/dbbackup)\n[![Puppet Forge - downloads](https://img.shields.io/puppetforge/dt/puppet/dbbackup.svg)](https://forge.puppetlabs.com/puppet/dbbackup)\n[![Puppet Forge - endorsement](https://img.shields.io/puppetforge/e/puppet/dbbackup.svg)](https://forge.puppetlabs.com/puppet/dbbackup)\n[![Puppet Forge - scores](https://img.shields.io/puppetforge/f/puppet/dbbackup.svg)](https://forge.puppetlabs.com/puppet/dbbackup)\n[![puppetmodule.info docs](http://www.puppetmodule.info/images/badge.png)](http://www.puppetmodule.info/m/puppet-dbbackup)\n[![AGPL v3 License](https://img.shields.io/github/license/voxpupuli/puppet-dbbackup.svg)](LICENSE)\n\n## Table of Contents\n\n* [Overview](#overview)\n* [Example configuration](#example-configuration)\n* [Tests](#tests)\n* [Contributions](#contributions)\n* [License and Author](#license-and-author)\n\n## Overview\n\nThis is a module for deploying a backup solution for mysql,postgresql and LDAP databases.\n\nIt configures two things, the `dump_databases` script in `/usr/local/bin/`, and\na sytemd timer+service to start it. multiple parameters are exposed to\nconfigure the history you want to keep and also the backup interval. All\nparameters have [puppet-strings](https://puppet.com/docs/puppet/latest/puppet_strings.html)\ndocumentation in the [REFERENCE.md](REFERENCE.md). Dependingon the database you\nbackup, multiple CLI tools are required:\n\n* psql\n* pg_dumpall\n* mysql\n* mysqldump\n* slapcat\n* pigz\n\nThe script always assumes that it's executed on the same machine that runs the\ndatabase. The dependencies aren't managed by this module.\n\n## Example configuration\n\nYou can simply include the class and it will do dumps every 1 hour and never\ndelete them:\n\n```puppet\ninclude dbbackup\n```\n\nyou can also configure parameter via Hiera or Puppet DSL. An example:\n\n```yaml\ndbbackup::backuphistory: 730\ndbbackup::destination: '/var/dumps'\ndbbackup::interval: '2h'\n```\n\n## Tests\n\nThis module has several unit tests and linters configured. You can execute them\nby running:\n\n```sh\nbundle exec rake test\n```\n\nDetailed instructions are in the [CONTRIBUTING.md](.github/CONTRIBUTING.md)\nfile.\n\n## Contributions\n\nContribution is fairly easy:\n\n* Fork the module into your namespace\n* Create a new branch\n* Commit your bugfix or enhancement\n* Write a test for it (maybe start with the test first)\n* Create a pull request\n\nDetailed instructions are in the [CONTRIBUTING.md](.github/CONTRIBUTING.md)\nfile.\n\n## License and Author\n\nThis module was originally written by [Tim Meusel](https://github.com/bastelfreak).\nIt's licensed with [AGPL version 3](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpupuli%2Fpuppet-dbbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxpupuli%2Fpuppet-dbbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpupuli%2Fpuppet-dbbackup/lists"}