All Projects → Edu4rdSHL → rusnapshot

Edu4rdSHL / rusnapshot

Licence: other
Simple and handy btrfs snapshoting tool. Supports unattended snapshots, tracking, restoring, automatic cleanup and more. Backed with SQLite.

Programming Languages

rust
11053 projects
shell
77523 projects

Projects that are alternatives of or similar to rusnapshot

arch-btrfs-install-guide
Arch Linux installation guide with btrfs and snapper, this guide is based on the information from unicks.eu guide https://www.youtube.com/watch?v=TKdZiCTh3EM, and Arch Linux UEFI step-by-step installation guide https://www.youtube.com/watch?v=dOXYZ8hKdmc from ALU.
Stars: ✭ 32 (+18.52%)
Mutual labels:  btrfs, btrfs-snapshots
arch-secure-boot
UEFI Secure Boot for Arch Linux + btrfs snapshot recovery
Stars: ✭ 60 (+122.22%)
Mutual labels:  btrfs, btrfs-snapshots
pest-plugin-snapshots
Add snapshot testing capabilities to Pest
Stars: ✭ 28 (+3.7%)
Mutual labels:  snapshots
btrfs-borg
btrfs-borg makes snapshots and backs up a btrfs snapshotted subvolumes and LXC containers using Borg
Stars: ✭ 22 (-18.52%)
Mutual labels:  btrfs
BaNG
Backup Next Generation for Linux & Mac using rsync (support hardlinks and btrfs snapshots), Web-Frontend, Statistics, History-Merger)
Stars: ✭ 28 (+3.7%)
Mutual labels:  btrfs
btrForensics
Forensic Analysis Tool for Btrfs File System.
Stars: ✭ 15 (-44.44%)
Mutual labels:  btrfs
btrfs-backup
A simple, flexible script for versioned backups using btrfs and rsync
Stars: ✭ 59 (+118.52%)
Mutual labels:  btrfs
cosmos-snapshots
Automatic snapshots of the blockchain state
Stars: ✭ 71 (+162.96%)
Mutual labels:  snapshots
awesome-immutable
A list of resources for people who want to investigate image-based Linux desktops
Stars: ✭ 184 (+581.48%)
Mutual labels:  btrfs
ee.Screen
Takes screenshots of web pages for the list of URLs. Various resolutions, multiple formats (JPG, PDF, PNG and TXT)
Stars: ✭ 19 (-29.63%)
Mutual labels:  snapshots
buttervolume
BTRFS Volume plugin for Docker
Stars: ✭ 53 (+96.3%)
Mutual labels:  btrfs
adlibre-backup
High performance rsync backup utilising BTRFS / ZFS filesystem features
Stars: ✭ 35 (+29.63%)
Mutual labels:  btrfs
arch-config
Scripts and Ansible playbook to setup Arch Linux on ZFS.
Stars: ✭ 36 (+33.33%)
Mutual labels:  btrfs
zfsbootmenu
ZFS Bootloader for root-on-ZFS systems with support for snapshots and native full disk encryption
Stars: ✭ 377 (+1296.3%)
Mutual labels:  snapshots
buttermanager
ButterManager is a BTRFS tool for managing snapshots, balancing filesystems and upgrading the system safetly.
Stars: ✭ 92 (+240.74%)
Mutual labels:  btrfs
pdo-snapshot-store
PDO Snapshot Store
Stars: ✭ 24 (-11.11%)
Mutual labels:  snapshots
nextjs-ts-antd-redux-storybook-starter
🏃🏼 Next.js + TypeScript + Ant Design + Redux Toolkit + Redux Saga + Styled Components + Jest + Storybook 企业级项目脚手架模板
Stars: ✭ 78 (+188.89%)
Mutual labels:  snapshots
btrfscue
Recover files from damaged BTRFS filesystems
Stars: ✭ 28 (+3.7%)
Mutual labels:  btrfs
btrfs-sync
Smart and easy sync of BTRFS snapshots, locally or through SSH
Stars: ✭ 64 (+137.04%)
Mutual labels:  btrfs
dcs-tools
Tools for making remote Linux node management easy
Stars: ✭ 34 (+25.93%)
Mutual labels:  btrfs

Description

Simple and handy btrfs snapshoting tool. Supports unattended snapshots, tracking, restoring, automatic cleanup and more. Backed with SQLite.

Documentation

See the docs folder.

Features

  • Allows you to specify the origin and destination of snapshots at will of the user.
  • Track snapshots using SQLite as backend database.
  • Easy setup using small templates instead of confusing long files.
  • You can create snapshots of the volumes you want simply by using different configuration templates.
  • You can create read-only or read-write snapshots.
  • You can use the same SQLite database for everything.
  • You can specify the prefix of the name for the snapshots.
  • You can specify a kind identifier to differentiate them in the database. Useful if you plan to have hourly, weekly, montly or more "kind" of snapshots of the same subvolume(s).
  • Supports restoration of snapshots in the original directory or a specific one.
  • Automatic snapshots cleanup.
  • Nice CLI output to see the status and details of snapshots.

Known limitations

Due to SQLite limitations to handle concurrent database operations, we need to make use of SQLite's busy_timeout, which was initially implemented in ce44bf6. Without it you will get the error: Error: database is locked (code 5) if you try to make concurrent snapshots exactly at the same time. The default timeout is 5 seconds which is more than enough time so that no problem occurs even in the most demanding scenarios.

In summary, busy_timeout is the maximum time that SQLite will retry the failed transaction. Considering that Rusnapshot's database operations are small and shouldn't take long, 5 seconds is a decent time. If you continue to get the mentioned error, try increasing --timeout, remember that the value must be in milliseconds.

Screenshots

List snapshots

2021-04-23_11-11

Create and restore snapshot

2021-04-23_11-15

Delete snapshot

2021-04-23_11-17

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].