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
File details
Details for the file snapintime-2.2.2.tar.gz
.
File metadata
- Download URL: snapintime-2.2.2.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3ee7890a8eb5dcfd198d3467b1ed6663756dc56dc09a4333ae2ccd7aa10caeb |
|
MD5 | 99543e2c92a0a374a7bb18d142ae363f |
|
BLAKE2b-256 | 51f69cdd631dd88e541bf1f7415f84c91127f6fd6245c08ab1d8c717b3b4ec50 |
File details
Details for the file snapintime-2.2.2-py3-none-any.whl
.
File metadata
- Download URL: snapintime-2.2.2-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b673f568636a9fcd52ac22e8863cb25b18c6b42f575d88850da3912f70acef9 |
|
MD5 | 76edd4775c4377ce8d604bfa873907b4 |
|
BLAKE2b-256 | 1627496feddc31342d1dc58397bd3e8e5476dd24979352ce7471904a22cc0ade |