{"id":30651155,"url":"https://github.com/axrona/btrfs-rollback","last_synced_at":"2025-08-31T06:12:31.362Z","repository":{"id":308862829,"uuid":"1034352369","full_name":"axrona/btrfs-rollback","owner":"axrona","description":"Btrfs rollback tool written in Go for Arch-based distributions","archived":false,"fork":false,"pushed_at":"2025-08-25T10:34:17.000Z","size":30,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-25T10:43:03.540Z","etag":null,"topics":["arch","arch-linux","archlinux","btrfs","btrfs-rollback","btrfs-snapshots","cli","filesystem","fstools","go","golang","linux","rollback","snapper","snapper-rollback","snapshot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/axrona.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":"2025-08-08T08:52:45.000Z","updated_at":"2025-08-25T10:34:21.000Z","dependencies_parsed_at":"2025-08-08T11:24:11.372Z","dependency_job_id":"69604dfd-5f18-4c6f-ab54-ffc36db82540","html_url":"https://github.com/axrona/btrfs-rollback","commit_stats":null,"previous_names":["xeyossr/btrfs-rollback","axrona/btrfs-rollback"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/axrona/btrfs-rollback","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axrona%2Fbtrfs-rollback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axrona%2Fbtrfs-rollback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axrona%2Fbtrfs-rollback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axrona%2Fbtrfs-rollback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axrona","download_url":"https://codeload.github.com/axrona/btrfs-rollback/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axrona%2Fbtrfs-rollback/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272944304,"owners_count":25019514,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"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":["arch","arch-linux","archlinux","btrfs","btrfs-rollback","btrfs-snapshots","cli","filesystem","fstools","go","golang","linux","rollback","snapper","snapper-rollback","snapshot"],"created_at":"2025-08-31T06:02:27.850Z","updated_at":"2025-08-31T06:12:31.349Z","avatar_url":"https://github.com/axrona.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# btrfs-rollback\n\nBtrfs rollback tool written in Go for Arch-based distributions.\n\n\u003e [!WARNING]\n\u003e This tool is designed to be used in a live environment, such as a live USB or a booted snapshot. **Do not use this tool on your primary system without understanding the consequences.** Running it on the wrong system or environment may result in critical data loss or system instability.\n\n## ⚙️ Configuration\n\nBy default, the config file is located at `/etc/btrfs-rollback.toml`:\n\n```toml\n# Name of your root subvolume (usually \"@\")\nsubvol_main = \"@\"\n\n# Name of the subvolume where snapshots are stored\nsubvol_snapshots = \"@snapshots\"\n\n# Temporary directory where the Btrfs root will be mounted\nmountpoint = \"/btrfs\"\n\n# Path to the Btrfs device. Required only if auto-mounting is needed\ndev = \"/dev/sda2\"\n```\n\nMake sure to adjust the configuration to reflect your system's Btrfs setup and the live environment you are working in.\n\n## 🛠️ Installation\n\n### Install via `yay` (AUR):\n```bash\nyay -S btrfs-rollback\n```\nThis will install the tool from the AUR. Alternatively, you can manually build and install it by cloning the repository and running the following commands:\n```bash\ngit clone https://github.com/xeyossr/btrfs-rollback.git\ncd btrfs-rollback\ngo build .\nsudo install -Dm755 btrfs-rollback /usr/bin/btrfs-rollback\n```\n\n## 🚀 Usage\n1. **Run the tool:** Once installed, you can run the btrfs-rollback tool directly from the command line.\n```bash\nbtrfs-rollback\n```\n2. **Follow the prompts:** The tool will show a list of available snapshots and allow you to select one for rollback.\n\n## 📜 License\n\nThis project is licensed under the GNU General Public License v3.0 (GPL-3.0).\n\nFor more details, see the [LICENSE](LICENSE) file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxrona%2Fbtrfs-rollback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxrona%2Fbtrfs-rollback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxrona%2Fbtrfs-rollback/lists"}