{"id":20990522,"url":"https://github.com/brejoc/lxc-duply-backup","last_synced_at":"2025-05-14T20:31:35.189Z","repository":{"id":25247570,"uuid":"28672383","full_name":"brejoc/lxc-duply-backup","owner":"brejoc","description":"Example config and scripts to perform a clean backup of Linux Containers. Therefore the containers are stopped right before the backup and started right after the backup.","archived":false,"fork":false,"pushed_at":"2016-10-13T09:08:57.000Z","size":15,"stargazers_count":10,"open_issues_count":2,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-06-28T12:53:12.949Z","etag":null,"topics":["backup","duplicity","duply","linux-containers","lxc","lxc-containers","python"],"latest_commit_sha":null,"homepage":"http://brejoc.com/lxc_backup_with_duply/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brejoc.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":"2014-12-31T18:31:05.000Z","updated_at":"2021-12-02T21:30:30.000Z","dependencies_parsed_at":"2022-08-25T17:23:54.738Z","dependency_job_id":null,"html_url":"https://github.com/brejoc/lxc-duply-backup","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brejoc%2Flxc-duply-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brejoc%2Flxc-duply-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brejoc%2Flxc-duply-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brejoc%2Flxc-duply-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brejoc","download_url":"https://codeload.github.com/brejoc/lxc-duply-backup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225308164,"owners_count":17453944,"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":["backup","duplicity","duply","linux-containers","lxc","lxc-containers","python"],"created_at":"2024-11-19T06:33:40.768Z","updated_at":"2024-11-19T06:33:41.425Z","avatar_url":"https://github.com/brejoc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lxc-duply-backup\n\nWith lxc-duply-backup you can generate Deb or RPM packages that automatically backup Linux Containers. It makes use of [duply](http://www.duply.net/) and cron jobs.\n\nThe origins of lxc-duply-backup can be found in my [blog post](http://brejoc.com/lxc_backup_with_duply/).\n\n**Attention**:   \nContainers are stopped before the backup and started right after the backup to make sure the backups are clean. Otherwise data might still be in memory and not on disk.\n\n\n# Dependencies (for building packages)\n* [invoke](https://github.com/pyinvoke/invoke)\n* [fpm](https://github.com/jordansissel/fpm/wiki)\n* [PyYAML](http://pyyaml.org/)\n* [sh](https://github.com/amoffat/sh)\n* [Jinja2](http://jinja.pocoo.org/)\n\nOr take a look at [basalt](https://github.com/basalt/basalt).\n\n# Dependencies (for the package itself)\n* [duply](http://duply.net/)\n* [LXC](https://linuxcontainers.org/)\n\nDebian/Ubuntu: `apt-get install lxc duply`\n\n# Usage\n\n1. Create your own [config](https://github.com/brejoc/lxc-duply-backup/blob/master/configs/invoices_example.yaml). Most likely you want to change the [package name](https://github.com/brejoc/lxc-duply-backup/blob/master/configs/invoices_example.yaml#L1), the paths to the [config files](https://github.com/brejoc/lxc-duply-backup/blob/master/configs/invoices_example.yaml#L7) (with the container name), the [config path](https://github.com/brejoc/lxc-duply-backup/blob/master/configs/invoices_example.yaml#L25) and [container name](https://github.com/brejoc/lxc-duply-backup/blob/master/configs/invoices_example.yaml#L26).\n2. And build the package: `invoke build_deb --config configs/my_new_config.yaml`\n\n# License\n\n[Public Domain](https://github.com/brejoc/lxc-duply-backup/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrejoc%2Flxc-duply-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrejoc%2Flxc-duply-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrejoc%2Flxc-duply-backup/lists"}