1.1.2 • Published 9 months ago

@adonesp/snapbackjs v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

node-snapback

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

System Requirements:

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

1.1.1

9 months ago

1.1.0

9 months ago

1.1.2

9 months ago

1.0.6

11 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago