Skip to main content

A program for creating, culling, and remote backup of btrfs snapshots

Project description

snapintime is meant to manage the creation, culling, and send to a remote location of btrfs snapshots.

As of version 0.8.0, it creates snapshots, culls local snapshots three days old, and can btrfs send/receive to a remote btrfs subvol.

Culling:

  • Three days ago: Leave at most 4 snapshots behind - closest snapshots to 0000, 0600, 1200, and 1800. (implemented)

  • Seven days ago: Leave at most 1 snapshot behind - the last one that day. In a perfect situation, it would be the one taken at 1800.

  • After a quarter (defined as 13 weeks) - Leave at most 1 snapshot per week.

  • After a year (52 weeks) - Leave at most 1 snapshot per quarter

Documentation can be found at: https://snap-in-time.readthedocs.io/en/latest/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snapintime-0.8.1.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distribution

snapintime-0.8.1-py3-none-any.whl (22.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page