File system snapshotting tool that prioritizes speed and reducing redundant storage.
Project description
File system snapshot tool that prioritizes snapshot speed and reducing redundant storage.
How it works
cacheback achieves its goals of quick snapshots and minimized snapshot storage size by using hardlink features of modern filesystems
for files whose contents are unchanged between snapshots.
This is similar to how git tracks objects in a repository by storing a file's data based on its content hash.
To further improve speed, a cache of the previous snapshot scan is stored which stores each file's last modification timestamp and
these timestamps are compared before computing the file content hash. If the timestamp is unchanged, it is assumed that the file has
not changed since the previous snapshot and is linked to the existing content stored on disk.
Here is a diagram visualizing this concept of files within snapshots being pointers to stored data based on content hash:
If a file is unchanged between multiple snapshots, each file will point to the same hash-named object and therefore the literal file content
is only stored on disk one time. If snapshots are deleted and a given hashed content is no longer pointed to by any files in any snapshots,
then the --gargbage-collect flag will prompt cacheback to purge these unused hash-named files to recover storage space.
Install
pip install cacheback
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cacheback_snapshot-0.0.1.tar.gz.
File metadata
- Download URL: cacheback_snapshot-0.0.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5689a91f0290228b7b0dceb45fb3b546336cc6ec02994a66720912af8d7f85af
|
|
| MD5 |
212122ebf6b7b2dab6663dd3d7668df2
|
|
| BLAKE2b-256 |
cca43337510017bfc18f916089c7642e2b3a310ed95fb6b0d28439609fdbb361
|
Provenance
The following attestation bundles were made for cacheback_snapshot-0.0.1.tar.gz:
Publisher:
pypi.yml on m-bartlett/cacheback
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cacheback_snapshot-0.0.1.tar.gz -
Subject digest:
5689a91f0290228b7b0dceb45fb3b546336cc6ec02994a66720912af8d7f85af - Sigstore transparency entry: 1006685460
- Sigstore integration time:
-
Permalink:
m-bartlett/cacheback@6d715e4fa575cfa9d4939bc82404b2a3940c6b40 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/m-bartlett
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@6d715e4fa575cfa9d4939bc82404b2a3940c6b40 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cacheback_snapshot-0.0.1-py3-none-any.whl.
File metadata
- Download URL: cacheback_snapshot-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
450e2a80e5afce7b43f736d6b8a301a3443087c5de9450984e9425387eaa000f
|
|
| MD5 |
38bc8ed1ffc10cacd05a795e738ef5a8
|
|
| BLAKE2b-256 |
89935214ab025777c0d05ff14d5f466ef12a166c1c1921ac40085bf52aac95e4
|
Provenance
The following attestation bundles were made for cacheback_snapshot-0.0.1-py3-none-any.whl:
Publisher:
pypi.yml on m-bartlett/cacheback
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cacheback_snapshot-0.0.1-py3-none-any.whl -
Subject digest:
450e2a80e5afce7b43f736d6b8a301a3443087c5de9450984e9425387eaa000f - Sigstore transparency entry: 1006685464
- Sigstore integration time:
-
Permalink:
m-bartlett/cacheback@6d715e4fa575cfa9d4939bc82404b2a3940c6b40 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/m-bartlett
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@6d715e4fa575cfa9d4939bc82404b2a3940c6b40 -
Trigger Event:
workflow_dispatch
-
Statement type: