New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adonesp/snapbackjs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonesp/snapbackjs

A tool for listing and rolling back snapper btrfs snapshots including the EFI directory

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-snapback

A tool for listing and rolling back snapper btrfs snapshots, including /boot EFI directory.

System Requirements:

  • NodeJs
  • snapper
  • snapper-rollback
  • a user with sudo access

Install

npm i -g @adonesp/snapbackjs

Usage

Install pacman hook scripts:

sudo snapback install

It will install the pacman hooks which will automatically backup your /boot directory and create a btrfs snapshot everytime you install/update your kernel. Each snapshot created by the pacman hook will have a description Linux backup for [kernel version] => [backup directory].

List the snapshots in /.snapshots:

sudo snapback ls

Rollback to a snapshot:

sudo snapback num 123

Where 123 is the number of brtfs snapshot created by the pacman hook. This will also restore the corresponding EFI files in /boot directory.

Commands

  • install - to install the pacman hook scripts.
  • ls, list - to list available snapshots in '/.snapshots' directory.
  • num [snapshot number] - specify a snapshot number to rollback. For example: snapback num 123
  • v, -v, version, --version - print the tool version

License

MIT License

Keywords

FAQs

Package last updated on 26 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc