{"id":13606444,"url":"https://github.com/jaxvanyang/dotbackup","last_synced_at":"2025-06-23T11:38:01.699Z","repository":{"id":212642247,"uuid":"731045177","full_name":"jaxvanyang/dotbackup","owner":"jaxvanyang","description":"YAML config based backup utility.","archived":false,"fork":false,"pushed_at":"2024-11-19T13:29:27.000Z","size":68,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T03:44:27.319Z","etag":null,"topics":["backup","dotbackup","dotfiles","yaml"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/dotbackup","language":"Python","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/jaxvanyang.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,"zenodo":null}},"created_at":"2023-12-13T08:38:17.000Z","updated_at":"2025-06-05T07:34:06.000Z","dependencies_parsed_at":"2024-01-08T10:25:55.772Z","dependency_job_id":"2fe0feee-3730-45e7-b033-53213bf4cdfd","html_url":"https://github.com/jaxvanyang/dotbackup","commit_stats":null,"previous_names":["jaxvanyang/dotbackup"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/jaxvanyang/dotbackup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Fdotbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Fdotbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Fdotbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Fdotbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaxvanyang","download_url":"https://codeload.github.com/jaxvanyang/dotbackup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Fdotbackup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261470132,"owners_count":23163220,"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","dotbackup","dotfiles","yaml"],"created_at":"2024-08-01T19:01:09.221Z","updated_at":"2025-06-23T11:37:56.654Z","avatar_url":"https://github.com/jaxvanyang.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# dotbackup\n\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dotbackup)\n[![PyPI - Version](https://img.shields.io/pypi/v/dotbackup)](https://pypi.org/project/dotbackup)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/dotbackup)](https://pypi.org/project/dotbackup)\n[![AUR version](https://img.shields.io/aur/version/dotbackup)](https://aur.archlinux.org/packages/dotbackup)\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Lint: flake8](https://img.shields.io/badge/lint-flake8-blueviolet)](https://github.com/PyCQA/flake8)\n[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1)](https://pycqa.github.io/isort)\n[![Test: pytest](https://img.shields.io/badge/test-pytest-orange)](https://pytest.org)\n[![Codecov](https://codecov.io/gh/jaxvanyang/dotbackup/graph/badge.svg)](https://codecov.io/gh/jaxvanyang/dotbackup)\n\nUsually people maintain backup and setup scripts along with their dotfiles. But\nthese scripts always contain a lot of repeat codes, and writing them is not fun!\n`dotbackup` and `dotsetup` are here to help.\n\nWith these two tools, you only need to write a simple configuration and they\nwill know how to back up and set up your dotfiles. You can read [dotbackup(1)](dotbackup.1.adoc)\nand [dotsetup(1)](dotsetup.1.adoc) for details.\n\n## Highlights\n\n- Simple configuration.\n- Custom hooks.\n- Detailed logs.\n\n## Installation\n\nYou can install it from one of these package managers:\n\n- [PyPI](https://pypi.org/project/dotbackup)\n- [AUR](https://aur.archlinux.org/packages/dotbackup)\n\nIf you are using a Debian-based system, you can install the pre-built deb\npackage from [the latest release](https://github.com/jaxvanyang/dotbackup/releases/latest).\n\nInstalling from a package manager gives you the two commands - `dotbackup` and\n`dotsetup`, and the manpages. But you can also download this single script:\n[dotbackup.py](./src/dotbackup.py). In fact, `dotbackup` and `dotsetup` are just\nshortcut commands of `dotbackup.py`, which means that `dotbackup` is equivalent\nto `dotbackup.py backup` and `dotsetup` is equivalent to `dotbackup.py setup`.\n\n## Quick Start\n\nWrite a simple configuration and place it to `~/.config/dotbackup/dotbackup.yml`:\n\n```yml\nbackup_dir: ~/backup\napps:\n  vim:\n    files: [~/.vimrc]\n  nvim:\n    files:\n      - ~/.config/nvim/init.lua\n      - ~/.config/nvim/lua\n```\n\nDo backup:\n\n```console\n$ dotbackup\nINFO: doing vim backup...\nINFO: copying ~/.vimrc to /home/user/backup/.vimrc...\nINFO: doing nvim backup...\nINFO: copying ~/.config/nvim/init.lua to /home/user/backup/.config/nvim/init.lua...\nINFO: copying ~/.config/nvim/lua to /home/user/backup/.config/nvim/lua...\n```\n\nDo setup:\n\n```console\n$ dotsetup\nINFO: doing vim setup...\nINFO: copying /home/user/backup/.vimrc to /home/user/.vimrc...\nINFO: doing nvim setup...\nINFO: copying /home/user/backup/.config/nvim/init.lua to /home/user/.config/nvim/init.lua...\nINFO: copying /home/user/backup/.config/nvim/lua to /home/user/.config/nvim/lua...\n```\n\n## Documentation\n\nFor more information, please read [dotbackup(1)](dotbackup.1.adoc) and [dotsetup(1)](dotsetup.1.adoc).\n\n## Show Your Support\n\nIf you're using dotbackup, consider adding the badge to your project's `README.md`:\n\n```\n[![dotbackup-managed](https://img.shields.io/badge/dotbackup-managed-blue)](https://github.com/jaxvanyang/dotbackup)\n```\n\n[![dotbackup-managed](https://img.shields.io/badge/dotbackup-managed-blue)](https://github.com/jaxvanyang/dotbackup)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxvanyang%2Fdotbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaxvanyang%2Fdotbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxvanyang%2Fdotbackup/lists"}