{"id":17537669,"url":"https://github.com/zenhack/dedup-backup","last_synced_at":"2025-10-30T15:02:57.252Z","repository":{"id":19982364,"uuid":"23249500","full_name":"zenhack/dedup-backup","owner":"zenhack","description":"Deduplicating backup utility","archived":false,"fork":false,"pushed_at":"2018-08-15T04:34:32.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T13:45:06.957Z","etag":null,"topics":["backup","haskell"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/zenhack.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}},"created_at":"2014-08-23T06:15:30.000Z","updated_at":"2018-10-02T09:27:55.000Z","dependencies_parsed_at":"2022-08-05T06:15:24.718Z","dependency_job_id":null,"html_url":"https://github.com/zenhack/dedup-backup","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/zenhack%2Fdedup-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenhack%2Fdedup-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenhack%2Fdedup-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenhack%2Fdedup-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenhack","download_url":"https://codeload.github.com/zenhack/dedup-backup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246135739,"owners_count":20729056,"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","haskell"],"created_at":"2024-10-20T20:42:25.721Z","updated_at":"2025-10-30T15:02:57.191Z","avatar_url":"https://github.com/zenhack.png","language":"Haskell","readme":"This is a small tool I use for backups. Highlights:\n\n* Efficiently uses:\n  * Disk space - files are de-duplicated using cryptographic hash\n    functions (currently sha1, but moving to a more secure hash function\n    will not be difficult and is planned).\n  * Bandwidth (if backing up to a remote filesystem) - it only copies\n    things not already on the backup filesystem.\n  * Time - It can make use of modification times and a previous backup\n    to speed up incremental backups.\n\nI use it roughly once a week to do full backups of my home directory\n(about 500 GiB of data). The amount of additional space used per backup\nis negligible.\n\nIt assumes a Unix-like system (for the file system semantics). It\ntherefore will not work on Windows.\n\n# Installation\n\nVia cabal, Haskell's package manager:\n\n    git clone https://github.com/zenhack/dedup-backup\n    cd dedup-backup\n    cabal install\n\n# Usage\n\n    dedup-backup (-s|--src SOURCE) (-d|--dest DESTINATION)\n                 (-b|--blobs BLOB DIR) [--chown] [-p|--prev PREVIOUS]\n\n`SOURCE` is the directory to back up. `DESTINATION` is the location of\nthe backup. `BLOB DIR` is a directory used to store files by\ncryptographic hash; it is used for de-duplication. This directory should\nbe the same for all backups, and it *must* be on the same partition as\n`DESTINATION`.\n\n`PREVIOUS` is an (optional) previous backup of the same `SOURCE` If\nspecified, the modification times of the files in `PREVIOUS`\nand the current version of `SOURCE` will be used to speed up the backup\n--- if the modification times are the same the file is assumed to be\nunchanged, and will not be hashed.\n\nThe `--chown` option tells `dedup-backup` to change the owner and group\non the files in `DESTINATION` to match those in `SOURCE`. Root access\nis required for this option.\n\n# License\n\nGPL 3.0 or later.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenhack%2Fdedup-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenhack%2Fdedup-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenhack%2Fdedup-backup/lists"}