{"id":17018546,"url":"https://github.com/mattmcmanus/puppet-duplicity","last_synced_at":"2025-04-12T09:32:22.114Z","repository":{"id":1716515,"uuid":"2446552","full_name":"mattmcmanus/puppet-duplicity","owner":"mattmcmanus","description":"Puppet module for configuring duplicity and automatically configuring systemwide s3 backup","archived":false,"fork":false,"pushed_at":"2017-01-08T02:59:39.000Z","size":78,"stargazers_count":11,"open_issues_count":0,"forks_count":20,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T04:51:07.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattmcmanus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-23T20:32:26.000Z","updated_at":"2019-03-23T22:44:27.000Z","dependencies_parsed_at":"2022-08-22T22:41:01.891Z","dependency_job_id":null,"html_url":"https://github.com/mattmcmanus/puppet-duplicity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmcmanus%2Fpuppet-duplicity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmcmanus%2Fpuppet-duplicity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmcmanus%2Fpuppet-duplicity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmcmanus%2Fpuppet-duplicity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattmcmanus","download_url":"https://codeload.github.com/mattmcmanus/puppet-duplicity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248546179,"owners_count":21122271,"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":[],"created_at":"2024-10-14T06:46:20.958Z","updated_at":"2025-04-12T09:32:21.861Z","avatar_url":"https://github.com/mattmcmanus.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Puppet Duplicity\n================\n\n[![Build Status](https://travis-ci.org/Jimdo/puppet-duplicity.png)](https://travis-ci.org/Jimdo/puppet-duplicity)\n\nInstall duplicity and quickly setup backup to amazon s3, cloud files or local (file).\n\nBasic Usage\n-----------\n    node 'kellerautomat' {\n\n      duplicity { 'a_backup':\n        directory =\u003e '/home/soenke/',\n        bucket =\u003e 'test-backup-soenke',\n        dest_id =\u003e 'someid',\n        dest_key =\u003e 'somekey'\n      }\n    }\n\nPreparing Backup\n----------------\n\nTo prepare files for backup, you can use the ```pre_command``` parameter.\nFor example: do a mysqldump before running duplicity.\n\n    duplicity { 'my_database':\n      pre_command =\u003e 'mysqldump my_database \u003e /my_backupdir/my_database.sql',\n      directory =\u003e '/my_backupdir',\n      bucket =\u003e 'test-backup',\n      dest_id =\u003e 'someid',\n      dest_key =\u003e 'somekey',\n    }\n\nRemoving Old Backups\n--------------------\n\nTo remove old backups after a successful backup, you can use the ```remove_older_than``` parameter.\nFor example: Remove backups older than 6 months:\n\n    duplicity { 'my_backup':\n      directory =\u003e '/root/db-backup',\n      bucket =\u003e 'test-backup',\n      dest_id =\u003e 'someid',\n      dest_key =\u003e 'somekey',\n      remove_older_than =\u003e '6M',\n    }\n\nGlobal Parameters\n-----------------\n\nAccess ID and Key, Crypt-Pubkey and bucket name will be global in most cases. To avoid copy-and-paste\nyou can pass the global defaults once to duplicity::params before you include the duplicity class somewhere.\n\nExample:\n\n    class defaults {\n      class { 'duplicity::params' :\n        bucket =\u003e 'test-backup-soenke',\n        dest_id =\u003e 'someid',\n        dest_key =\u003e 'somekey',\n        remove_older_than =\u003e '6M',\n      }\n    }\n\n    node 'kellerautomat' {\n\n      include defaults\n\n      duplicity { 'blubbi' :\n        directory =\u003e '/home/soenke/projects/test-puppet',\n      }\n    }\n\nCrypted Backups\n---------------\n\nIn order to save crypted backups this module is able to make use of pubkey encryption.\nThis means you specify a pubkey and restores are only possible with the correspondending\nprivate key. This ensures no secret credentials fly around on the machines. Incremental backups\nwork as long as the metadata cache on the node is up to date. Duplicity will force a full backup\notherwise because it cannot decrypt anything it downloads from the bucket.\n\nIt's possible to add multiple encryption keys with the pubkey_id parameter as\nan array. Despite the parameter name keys can be specified in all ways recognized\nby gpg, not only as keyids.\n\nCheck https://answers.launchpad.net/duplicity/+question/107216 for more information.\n\nBackup over SSH\n---------------\n\nTo backup to an SSH server, specify an SSH URL as the target and configure SSH public key\nauthentication. The ssh_id parameter takes the path to the SSH private key. The key must be\ngenerated separately without a password and the public part has to be added to the\nauthorized_keys file on the backup server.\n\nBackup multiple directories\n---------------------------\n\nMultiple directories with otherwise the same settings can be backed up in a single job.\nJust give the \"diretory\" parameter an array of paths.\n\nInstall duplicity without a backup job\n--------------------------------------\n\nIf you want to only install the packages, include duplicity:packages\n\nRestore\n-------\n\nNobody wants backup, everybode wants restore.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattmcmanus%2Fpuppet-duplicity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattmcmanus%2Fpuppet-duplicity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattmcmanus%2Fpuppet-duplicity/lists"}