{"id":13649673,"url":"https://github.com/8go/pass-backup","last_synced_at":"2025-10-18T17:08:18.715Z","repository":{"id":90889130,"uuid":"180556718","full_name":"8go/pass-backup","owner":"8go","description":"An extension for pass (the standard Unix password manager) to easily create backups of the password store","archived":false,"fork":false,"pushed_at":"2021-10-12T10:19:05.000Z","size":22,"stargazers_count":17,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-10T00:33:11.959Z","etag":null,"topics":["backup","backup-script","extension","pass","password-store","passwordstore"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/8go.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}},"created_at":"2019-04-10T10:17:19.000Z","updated_at":"2024-01-25T04:49:11.000Z","dependencies_parsed_at":"2024-01-14T12:32:53.185Z","dependency_job_id":null,"html_url":"https://github.com/8go/pass-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/8go%2Fpass-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fpass-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fpass-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fpass-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8go","download_url":"https://codeload.github.com/8go/pass-backup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230636275,"owners_count":18257150,"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","backup-script","extension","pass","password-store","passwordstore"],"created_at":"2024-08-02T02:00:22.179Z","updated_at":"2025-10-18T17:08:13.664Z","avatar_url":"https://github.com/8go.png","language":"Shell","readme":"# pass-backup\nAn extension for [pass](https://www.passwordstore.org/) (the standard Unix password manager) to easily create backups of the password store.\n\n\n## Motivation\n\nOne should always do backups. So backups must be simple. Nothing more simple than typing ```pass backup```.\n\n\n## Usage\n\n```\nUsage:\n\n    pass backup [backuplocation]\n        On the first run it creates a directory \".backups\" in \\$PASSWORD_STORE_DIR.\n        By default this is ~/.password-store/.backups\".\n        It creates a backup of the complete password store by creating a\n        compressed tar-file with extension .tar.bz2.\n        Backups themselves are excluded from the backup.\n        Without argument the backup file will receive the default name \"passwordstore.DATE.TIME.tar.bz2\"\n        where DATE and TIME are the current date and time.\n        If an argument is given and it is a directory, the backup file will be placed\n        into the specified directory instead of the default \".backups\" directory.\n        If an argument is given and it is not a directory, it is used as a file\n        name and the backup is stored with this filename with .at.gz2 appended.\n    pass backup help\n        Prints this help message.\n    pass backup version\n        Prints the version number.\n```\n\n## Examples\n\n### Example 1: Using defaults, standard use\n```\n$ pass backup\n```\nThis is the typical usage. This creates a backup and places it into ```$PASSWORD_STORE_DIR/.backups```\n            e.g. ```~/.password-store/.backups/passwordstore.190407.122034.tar.gz2```.\n\n### Example 2: Specifying a destination directory\n```\n$ pass backup Documents/Backups/\n```\nThis creates a backup and places it into ```Documents/Backups/```\n            i.e. ```Documents/Backups/passwordstore.190407.122034.tar.gz2```.\n            \n### Example 3: Specifying a destination file\n```\n$ pass backup Documents/Backups/mypassbackup\n```\nThis creates a backup and places it into ```Documents/Backups/mypassbackup.tar.gz2```.\n\n## Installaiton\n\nFor installation download and place this bash script file ```backup.bash``` into\nthe passwordstore extension directory specified with ```$PASSWORD_STORE_EXTENSIONS_DIR```.\nBy default this is ```~/.password-store/.extensions```.\n```\n$ cp backup.bash ~/.password-store/.extensions\n```\nGive the file execution permissions:\n```\n$ chmod 700 ~/.password-store/.extensions/backup.bash\n```\nSet the variable ```PASSWORD_STORE_ENABLE_EXTENSIONS``` to true to enable extensions.\n```\n$ export PASSWORD_STORE_ENABLE_EXTENSIONS=true\n```\nDownload and source the bash completion file ```pass-backup.bash.completion``` for bash completion.\n```\n$ source ~/.password-store/.bash-completions/pass-backup.bash.completion\n```\nType ```pass backup``` to create your first backup.\n```\n$ pass backup\n```\n\n## Requirements\n\n- `pass` from [https://www.passwordstore.org/](https://www.passwordstore.org/)\n- `tar` to be installed for zipping and compression.\n\n\n## Notes\n\nBoth files are tiny: 142 lines (script) and 17 lines (autocompletion)  respectively. You can check them yourself quickly. No need to trust anyone.\n","funding_links":[],"categories":["Extensions"],"sub_categories":["All other extensions"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8go%2Fpass-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F8go%2Fpass-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8go%2Fpass-backup/lists"}