{"id":21027355,"url":"https://github.com/bebehei/backup-with-borg","last_synced_at":"2025-06-15T05:32:44.313Z","repository":{"id":150870860,"uuid":"89281983","full_name":"bebehei/backup-with-borg","owner":"bebehei","description":"Simple script to backup with borg","archived":false,"fork":false,"pushed_at":"2024-07-19T16:16:31.000Z","size":8,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-12T07:07:17.830Z","etag":null,"topics":["backup","backup-script","borg","borg-backup","borgbackup"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bebehei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-04-24T20:01:56.000Z","updated_at":"2024-11-22T21:06:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3971f93-04d3-49b7-adf7-c0170a2ec742","html_url":"https://github.com/bebehei/backup-with-borg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bebehei/backup-with-borg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bebehei%2Fbackup-with-borg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bebehei%2Fbackup-with-borg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bebehei%2Fbackup-with-borg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bebehei%2Fbackup-with-borg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bebehei","download_url":"https://codeload.github.com/bebehei/backup-with-borg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bebehei%2Fbackup-with-borg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259926928,"owners_count":22933131,"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","backup-script","borg","borg-backup","borgbackup"],"created_at":"2024-11-19T11:49:57.479Z","updated_at":"2025-06-15T05:32:44.305Z","avatar_url":"https://github.com/bebehei.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# backup-with-borg\n\nBackup tool to create easily archives with borgbackup.\n\n## Usage\n\n```\nbackup do-create\n```\n\nCreate a new archive with your current configuration.\n\n```\nbackup do-prune\n```\n\nPrune your archives according to `KEEP_*` variables in the configuration file.\n\n```\nbackup (do)\nbackup\n```\n\nCreate a new archive and then prune the repository archives. (Wraps `do-create` and `do-prune`)\n\n### Wrapper\n\nYou also can use native `borg` commands like `list` or mount. These will respect the exported `BORG_*` variables. So a plain `backup list` will list all of your current archives in the configured repository.\n\n## Installation\n\nYou need to have [borgbackup](https://github.com/borgbackup/borg/) prior to your first run. See [borg's installations instructions](https://borgbackup.readthedocs.io/en/stable/installation.html) for details.\n\n    # install scripts\n    git clone https://github.com/bebehei/backup-with-borg\n    cd backup-with-borg\n    make install\n    cp /etc/backup/{example,default}.env\n\n    # edit default.env to match backup data\n    $EDITOR /etc/backup/default.env\n\n    # initialize everything\n    backup init -e \u003cpreferred_encryption_technique\u003e\n\n    # add cronjob (for hourly backup)\n    { crontab -l ; echo \"0 * * * * backup\"; } | crontab -\n\n**Hint: Depending on your configuration, you may need sudo for some commands.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbebehei%2Fbackup-with-borg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbebehei%2Fbackup-with-borg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbebehei%2Fbackup-with-borg/lists"}