{"id":15750362,"url":"https://github.com/nwtgck/ibk","last_synced_at":"2026-02-09T17:01:20.449Z","repository":{"id":59452281,"uuid":"173245672","full_name":"nwtgck/ibk","owner":"nwtgck","description":"💾  Incremental Backup CLI using well-matured technology: tar","archived":false,"fork":false,"pushed_at":"2021-04-29T19:29:23.000Z","size":33,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-07-24T15:12:32.469Z","etag":null,"topics":["backup","cli","command-line","incremental-backups"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nwtgck.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-03-01T06:13:59.000Z","updated_at":"2023-01-14T02:51:54.000Z","dependencies_parsed_at":"2022-09-17T14:41:16.214Z","dependency_job_id":null,"html_url":"https://github.com/nwtgck/ibk","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nwtgck/ibk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fibk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fibk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fibk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fibk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/ibk/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fibk/sbom","scorecard":{"id":699553,"data":{"date":"2025-08-11","repo":{"name":"github.com/nwtgck/ibk","commit":"51944eb26c6cee5d5f77512ef42c474716eb7956"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.1 not signed: https://api.github.com/repos/nwtgck/ibk/releases/17584356","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/nwtgck/ibk/releases/16054102","Warn: release artifact v0.1.1 does not have provenance: https://api.github.com/repos/nwtgck/ibk/releases/17584356","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/nwtgck/ibk/releases/16054102"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T04:52:09.667Z","repository_id":59452281,"created_at":"2025-08-22T04:52:09.667Z","updated_at":"2025-08-22T04:52:09.667Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29273139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","cli","command-line","incremental-backups"],"created_at":"2024-10-04T06:40:27.800Z","updated_at":"2026-02-09T17:01:20.426Z","avatar_url":"https://github.com/nwtgck.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ibk\n[![CircleCI](https://circleci.com/gh/nwtgck/ibk.svg?style=shield)](https://circleci.com/gh/nwtgck/ibk)\n\nIncremental Backup CLI with `tar`\n\n## Motivation\n\nWe don't want to lose data. That is the biggest motivation to **backup**. In addition, we don't want to waste our storage by backups. That is the main reason to use an **incremental** backup.\n\nAlthough an amazing file system such as ZFS supports snapshot functionality, every OS doesn't support it. Thus, `ibk` uses snapshot functionality of `tar` since `tar` is widely installed, used and matured. `ibk` assist you to backup incrementally using `tar` inside. This means **you can backup/restore with the natural `tar` command**.\n\n## Requirements\n\n### Linux\n* `tar`\n\n### macOS\n* `brew install gnu-tar`\n\n## Installation\n\nGet binaries from [GitHub Releases](https://github.com/nwtgck/ibk/releases)\n\n## Usage\n\n### Backup\n\n```bash\nibk backup ./mydir\n```\nThen, you have `mydir.ibk` directory which contains .tar and .snar files as follows.\n\n- `./mydir.ibk/mydir_20190302_0757_21_407103_UTC.tar`\n- `./mydir.ibk/mydir.snar`\n\nYou can also use `backup -b mybackup` or `backup --backup-path mybackup` to specify backup directory path not default `ooo.ibk`.  \nSpecify `--local-time` to use local time not UTC.\n\n### Incremental Backup\nWhen you type the command again, the backup should be conducted incrementally.\n```bash\nibk backup ./mydir\n```\n\n### Restore\n\n```bash\nibk restore ./mydir.ibk/\n```\n\nThen, you have `ibk_restored` directory which contains the following hierarchy.\n- `ibk_restored/mydir`\n\nYou can also use `restore -r myrestore` or `restore --restored-path myrestore` to specify restored directory path not default `ibk_restored`.\n\n\n## Backup with only `tar`\n\n(NOTE: You should replace `tar` with `gtar` in macOS)\n\n```bash\n# First backup\nmkdir mybackup\ntar -g ./mybackup/mydir.snar -cf ./mybackup/mydir_first.tar ./mydir\n\n## Second backup (incremental)\ntar -g ./mybackup/mydir.snar -cf ./mybackup/mydir_second.tar ./mydir\n\n## Third backup (incremental)\ntar -g ./mybackup/mydir.snar -cf ./mybackup/mydir_third.tar ./mydir\n```\n\n## Restore with only `tar`\n\n```bash\ncd mybackup\ntar -g mydir.snar -xf mydir_first.tar\ntar -g mydir.snar -xf mydir_second.tar\ntar -g mydir.snar -xf mydir_third.tar\n```\n\nThen, you have `./mybackup/mydir`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fibk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fibk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fibk/lists"}