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 1.0.0, it creates snapshots, culls according to the list below, and it can also 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. (implemented)
90 days ago: Go from that date up another 90 days and leave at most 1 snapshot per week. (implemented)
365 days ago: Go form that date up another 365 days and leave at most 1 snapshot per quarter (implemented)
(Not going to care about leap years, eventually it’ll fix itself if this is run regularly)
Documentation can be found at: https://snap-in-time.readthedocs.io/en/latest/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for snapintime-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9f1c0517d57bdbaff8037947d2e84a2ae813971d1a46301ec2bced0ee16bfc4 |
|
MD5 | ec4d2b2bd4f27c91b8e6742dc14626ab |
|
BLAKE2b-256 | 859a6fa8b00b90e679c3a3e4193729a057770dc2bc784ed936b67e7d7874dbc7 |