Skip to main content

File system snapshotting tool that prioritizes speed and reducing redundant storage.

Project description

Fallback image 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


Download files

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

Source Distribution

cacheback_snapshot-0.0.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cacheback_snapshot-0.0.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

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

Hashes for cacheback_snapshot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5689a91f0290228b7b0dceb45fb3b546336cc6ec02994a66720912af8d7f85af
MD5 212122ebf6b7b2dab6663dd3d7668df2
BLAKE2b-256 cca43337510017bfc18f916089c7642e2b3a310ed95fb6b0d28439609fdbb361

See more details on using hashes here.

Provenance

The following attestation bundles were made for cacheback_snapshot-0.0.1.tar.gz:

Publisher: pypi.yml on m-bartlett/cacheback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cacheback_snapshot-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cacheback_snapshot-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 450e2a80e5afce7b43f736d6b8a301a3443087c5de9450984e9425387eaa000f
MD5 38bc8ed1ffc10cacd05a795e738ef5a8
BLAKE2b-256 89935214ab025777c0d05ff14d5f466ef12a166c1c1921ac40085bf52aac95e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cacheback_snapshot-0.0.1-py3-none-any.whl:

Publisher: pypi.yml on m-bartlett/cacheback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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