{"id":21027356,"url":"https://github.com/bebehei/backup-with-restic","last_synced_at":"2025-03-13T18:45:50.343Z","repository":{"id":150870863,"uuid":"196031777","full_name":"bebehei/backup-with-restic","owner":"bebehei","description":"A fork of backup-with-borg adapted for restic usage","archived":false,"fork":false,"pushed_at":"2020-01-15T08:57:31.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T11:03:27.271Z","etag":null,"topics":["restic","restic-backups"],"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":"2019-07-09T15:03:45.000Z","updated_at":"2020-12-13T23:12:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb81749b-f600-4f06-b61e-3daa094d69c6","html_url":"https://github.com/bebehei/backup-with-restic","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/bebehei%2Fbackup-with-restic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bebehei%2Fbackup-with-restic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bebehei%2Fbackup-with-restic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bebehei%2Fbackup-with-restic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bebehei","download_url":"https://codeload.github.com/bebehei/backup-with-restic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243464721,"owners_count":20295290,"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":["restic","restic-backups"],"created_at":"2024-11-19T11:49:58.217Z","updated_at":"2025-03-13T18:45:50.313Z","avatar_url":"https://github.com/bebehei.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# backup-with-restic\n\nBackup tool to create easily repositories with [restic](https://restic.net/).\n\n## Usage\n\n```\nbackup do-backup\n```\n\nCreate a new snapshot with your current configuration.\n\n```\nbackup do-forget\n```\n\nForget your snapshots according to `KEEP_*` variables in the configuration file.\n\n```\nbackup (run)\nbackup\n```\n\nCreate a new snapshot and then delete the repository snapshots. (Wraps `do-backup` and `do-forget`)\n\n### Wrapper\n\nYou also can use native `restic` commands like `snapshots` or `mount`. These will respect the exported `RESTIC_*` variables. So a plain `backup snapshots` will list all of your current snapshots in the configured repository.\n\n## Installation\n\nYou need to have [restic](https://restic.net) prior to your first run. See [restic's installations instructions](https://restic.readthedocs.io/en/stable/020_installation.html) for details.\n\n    # install scripts\n    git clone https://github.com/bebehei/backup-with-restic\n    cd backup-with-restic\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\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-restic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbebehei%2Fbackup-with-restic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbebehei%2Fbackup-with-restic/lists"}