{"id":15573951,"url":"https://github.com/adonespitogo/node-snapback","last_synced_at":"2025-08-31T14:34:30.672Z","repository":{"id":171700555,"uuid":"637714282","full_name":"adonespitogo/node-snapback","owner":"adonespitogo","description":"A  tool for listing and rolling back snapper btrfs snapshots including the EFI directory.","archived":false,"fork":false,"pushed_at":"2023-08-26T12:49:41.000Z","size":42,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-08T13:13:46.329Z","etag":null,"topics":["btrfs","snapper","snapper-rollback"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/adonespitogo.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}},"created_at":"2023-05-08T08:58:21.000Z","updated_at":"2025-05-11T02:09:16.000Z","dependencies_parsed_at":"2025-02-03T20:10:43.132Z","dependency_job_id":"36f56612-96a6-413c-9357-dbf609341186","html_url":"https://github.com/adonespitogo/node-snapback","commit_stats":null,"previous_names":["adonespitogo/node-snapback","adonespitogo/node-snapper-rollback"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adonespitogo/node-snapback","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonespitogo%2Fnode-snapback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonespitogo%2Fnode-snapback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonespitogo%2Fnode-snapback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonespitogo%2Fnode-snapback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adonespitogo","download_url":"https://codeload.github.com/adonespitogo/node-snapback/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonespitogo%2Fnode-snapback/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272991827,"owners_count":25027503,"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":["btrfs","snapper","snapper-rollback"],"created_at":"2024-10-02T18:14:52.245Z","updated_at":"2025-08-31T14:34:30.642Z","avatar_url":"https://github.com/adonespitogo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-snapback\nA tool for listing and rolling back snapper btrfs snapshots, including `/boot` EFI directory.\n\n## System Requirements:\n- NodeJs\n- [snapper](https://wiki.archlinux.org/title/snapper)\n- [snapper-rollback](https://aur.archlinux.org/packages/snapper-rollback)\n- a user with `sudo` access\n\n## Install\n\n`npm i -g @adonesp/snapbackjs`\n\n## Usage\n\nInstall pacman hook scripts:\n\n```\nsudo snapback install\n```\n\nIt will install the pacman hooks which will automatically backup your `/boot` directory and create a btrfs snapshot everytime you install/update your kernel.\nEach snapshot created by the pacman hook will have a description `Linux backup for [kernel version] =\u003e [backup directory]`.\n\nList the snapshots in `/.snapshots`:\n\n```\nsudo snapback ls\n```\n\nRollback to a snapshot:\n\n```\nsudo snapback num 123\n```\n\nWhere `123` is the number of brtfs snapshot created by the pacman hook. This will also restore the corresponding EFI files in `/boot` directory.\n\n## Commands\n\n- `install`                     - to install the pacman hook scripts.\n- `ls, list`                          - to list available snapshots in '/.snapshots' directory.\n- `num [snapshot number]`       - specify a snapshot number to rollback. For example: `snapback num 123`\n- `v, -v, version, --version`   - print the tool version\n\n\n## License\n[MIT License]('./LICENSE')\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonespitogo%2Fnode-snapback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadonespitogo%2Fnode-snapback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonespitogo%2Fnode-snapback/lists"}