{"id":17717280,"url":"https://github.com/bwesterb/pachy","last_synced_at":"2026-03-04T03:31:17.152Z","repository":{"id":2393089,"uuid":"3359352","full_name":"bwesterb/pachy","owner":"bwesterb","description":"Simple incremental backups with rsync and xdelta3","archived":false,"fork":false,"pushed_at":"2017-05-08T08:17:55.000Z","size":28,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-18T08:41:23.288Z","etag":null,"topics":["backup","python","rsync","xdelta3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bwesterb.png","metadata":{"files":{"readme":"README.markdown","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":"2012-02-05T12:52:08.000Z","updated_at":"2024-11-07T12:10:34.000Z","dependencies_parsed_at":"2022-09-01T19:12:50.560Z","dependency_job_id":null,"html_url":"https://github.com/bwesterb/pachy","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/bwesterb/pachy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwesterb%2Fpachy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwesterb%2Fpachy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwesterb%2Fpachy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwesterb%2Fpachy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bwesterb","download_url":"https://codeload.github.com/bwesterb/pachy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwesterb%2Fpachy/sbom","scorecard":{"id":259668,"data":{"date":"2025-08-11","repo":{"name":"github.com/bwesterb/pachy","commit":"7ce030e2c191d4ee9b44acbb0bfa4f89f509a7f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/18 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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: 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"}}]},"last_synced_at":"2025-08-17T10:32:45.993Z","repository_id":2393089,"created_at":"2025-08-17T10:32:45.993Z","updated_at":"2025-08-17T10:32:45.993Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T03:25:38.285Z","status":"ssl_error","status_checked_at":"2026-03-04T03:25:05.086Z","response_time":59,"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","python","rsync","xdelta3"],"created_at":"2024-10-25T14:19:40.088Z","updated_at":"2026-03-04T03:31:17.137Z","avatar_url":"https://github.com/bwesterb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pachy\n=====\n\n*pachy* is a simple Python script to create *incremental* backups using\n*rsync* and *xdelta3*:\n\n- By using *rsync* backups require **little bandwidth**;\n- By using *xdelta3*, incremental backups use **little space**;\n- The codebase is very small; thus **easy to adapt** to your own needs.\n\nGetting started\n---------------\n### Installing *pachy*\n\nYou will need Python's\n[setuptools](http://pypi.python.org/pypi/setuptools);\n[xz-utils](http://tukaani.org/xz/)\n[rsync](http://rsync.net/) and\n[xdelta3](http://xdelta.org/).\nOn Debian Linux, execute:\n\n    $ apt-get install python-setuptools rsync xdelta3 xz-utils\n\nThen, to install *pachy*:\n\n    $ easy_install pachy\n\n### Example: local backups\nIn this example we will backup our `~/Document` folder that contains:\n\n    .\n    ├── dir1\n    │   ├── document2\n    │   └── document3\n    └── example1\n\n#### First backup\nTo create a backup of `~/Documents` to `/mnt/disk/Backup`, execute:\n\n    $ pachy ~/Documents /mnt/disk/Backup\n    INFO:root:0. Checking set-up\n    INFO:root:1. Running rsync\n    sending incremental file list\n    ./\n    example1\n    dir1/\n    dir1/document2\n    dir1/document3\n    \n    sent 237 bytes  received 76 bytes  626.00 bytes/sec\n    total size is 0  speedup is 0.00\n    INFO:root:2. Checking for changes\n    INFO:root:3. Creating archive\n    INFO:root:4. Cleaning up\n\n#### Incremental backups\nAfter some work we changed the file `example1` and deleted `document2`.\nTo create an incremental backup, just run the same command a second time.\nOnly changes will be copied.\n\n    $ pachy ~/Documents /mnt/disk/Backup\n    INFO:root:0. Checking set-up\n    INFO:root:1. Running rsync\n    sending incremental file list\n    ./\n    example1\n    dir1/\n    deleting dir1/document2\n    \n    sent 161 bytes  received 38 bytes  398.00 bytes/sec\n    total size is 9  speedup is 0.05\n    INFO:root:2. Checking for changes\n    INFO:root:3. Creating archive\n    INFO:root:4. Cleaning up\n\n#### Backup format\nIf you look at `/mnt/disk/Backup` you will find it contains:\n\n    .\n    ├── deltas\n    │   └── 2012-02-05@14h13.02.tar.xz\n    └── mirror\n        ├── dir1\n        │   └── document3\n        └── example1\n\nThe `mirror` subdirectory is an exact copy of the `~/Documents` folder.\nUnder `deltas` there is for each incremental backup a `.tar.xz` archive.\nWe can uncompress it with\n\n    $ tar xJf 2012-02-05@14h13.02.tar.xz\n\nWe see it contains:\n\n    .\n    ├── changed\n    │   └── example1.xdelta3\n    └── deleted\n        └── dir1\n            └── document2\n\nUnder the `deleted` folder are all the files that were deleted.\nUnder `changed` are the *xdelta3* differences of the changed file.\n\nTo restore the old `example1` to `example1.restored`, run:\n\n    $ xdelta3 -d -s example1 example1.xdelta3 example1.restored\n\n### Example: backing up a server via rsync over SSH\nTo create daily backups of a full server, execute:\n\n    $ crontab -e\n\nand add the following line\n\n    @daily pachy my-server.com:/ /backups/my-server\n\nThis will create a full backup of **all** files.  If you want to exclude\nsome files, you can create a `.pachy-filter` file in the root of the\nserver with, for instance:\n\n    - /proc\n    - /dev\n    - /sys\n    - /tmp\n    - /var/tmp\n    - /var/run\n    - /var/cache\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwesterb%2Fpachy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbwesterb%2Fpachy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwesterb%2Fpachy/lists"}