{"id":23960671,"url":"https://github.com/nikkolasg/backup","last_synced_at":"2026-06-17T19:06:21.829Z","repository":{"id":149709858,"uuid":"236389857","full_name":"nikkolasg/backup","owner":"nikkolasg","description":"simple configurable backup tool in Go","archived":false,"fork":false,"pushed_at":"2021-06-05T18:45:41.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T12:21:28.013Z","etag":null,"topics":["backup","golang","rsync"],"latest_commit_sha":null,"homepage":null,"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/nikkolasg.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-26T23:16:03.000Z","updated_at":"2021-06-05T18:45:43.000Z","dependencies_parsed_at":"2023-06-29T13:30:56.859Z","dependency_job_id":null,"html_url":"https://github.com/nikkolasg/backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nikkolasg/backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikkolasg%2Fbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikkolasg%2Fbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikkolasg%2Fbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikkolasg%2Fbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikkolasg","download_url":"https://codeload.github.com/nikkolasg/backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikkolasg%2Fbackup/sbom","scorecard":{"id":687355,"data":{"date":"2025-08-11","repo":{"name":"github.com/nikkolasg/backup","commit":"1d5039a15c21184014cd6caff4764629fb33da29"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"Code-Review","score":0,"reason":"Found 0/12 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":"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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"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"}}]},"last_synced_at":"2025-08-22T01:16:24.277Z","repository_id":149709858,"created_at":"2025-08-22T01:16:24.277Z","updated_at":"2025-08-22T01:16:24.277Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34461678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","golang","rsync"],"created_at":"2025-01-06T19:31:47.442Z","updated_at":"2026-06-17T19:06:21.814Z","avatar_url":"https://github.com/nikkolasg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/nikkolasg/backup.svg?branch=master)](https://travis-ci.com/nikkolasg/backup)\n[![codecov](https://codecov.io/gh/nikkolasg/backup/branch/master/graph/badge.svg?token=L0JCS6XYXH)](https://codecov.io/gh/nikkolasg/backup)\n\n# backup\n\nbackup is a simple and configurable wrapper of rsync to easily perform backups\nand restore backups.\n\n**Disclaimer**: this tool is not a production ready tool and you should use with\ncare and knowledge ! Always use `-f` flag before an operation to make a dry run.\n\n## Installation\n\n```\ngo get -u github.com/nikkolasg/backup\n```\n\n## Configuration\n\n### Fresh Configuration\n\nbackup requires to know at least two informations:\n* Local root: the absolute path from which where to backup files and folders. It\n  can be `/home/ubuntu` for example, or `/` if you wish to backup from your root\n  directory. This is required from rsync.\n* Remote root: the absolute path on the destination. This must be understood as\n  rsync so it can be `/backup/ubuntu` or `ubuntu@192.192.192.192:/backup/ubuntu`\n  for a remote server destination.\n\n```\nbackup init --remote \u003cremote\u003e --local \u003clocal\u003e\n```\n\n### Remote Configuration\n\nbackup can fetch the configuration already stored on a remote server (or\ndifferent path locally, whatever rsync accepts) and sets it up internally.\nTo do this, simply run the following:\n```\nbackup init --from USER@HOST:PATH\n```\nNote the argument to `--from` can be anytihng rsync accepts.\n\n\n### Config Folder\n\nIf you want to use a custom configuration folder, specify:\n```\nbackup init --config \u003ccustom folder\u003e\n```\nNote this flag must be specifed for all the subsequent commands.\n\n\n#### Adding folders to upload\n\nAdding folders / files is as easy as:\n```\nbackup upload add \u003cpath1\u003e \u003cpath2\u003e ...\n```\n\nTODO: add `--download` to automatically add it to download.\n\n#### Adding folders to download\n\nYou must specify all folders to download to backup.\nYou don't necessarily want to download all files you have backed up (for example\nlarge files that you are fine keeping on the destination path).\n```\nbackup download add \u003cpath1\u003e ...\n```\n\nNote that `path1` **must** be included in the upload list to be valid. `backup`\ndoesn't allow to restore a file not tracked in upload yet.\n\nTODO: make list argument\n\nTODO: git restore\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikkolasg%2Fbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikkolasg%2Fbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikkolasg%2Fbackup/lists"}