Skip to main content

Baklabel delivers a daily label fragment for grandfathered backups

Project description

Baklabel is intended for use in automated scripts to deliver a sensible directory path fragment (or label) each day to construct a grandfathered local backup.

Import baklabel.Grandad to produce today's label fragment.

See test_baklabel.py for examples of how to call Grandad

It is also a stand-alone utility to find the backup label produced for any given date and set of options.

python3 baklabel.py -h to see command line usage and options.

Python 3.x (Python 2.7 should also work but is no longer tested)

In the doc directory of the baklabel repo, see release_note.txt for more detail on the package, examples.txt for baklabel output examples and backup_howto.txt for a sample backup script for Windows.

Properly grandfathered, there needs to be a daily backup to one of 23 separate tapes, sets of media or local directories on a storage device. This complement is made up of 6 weekday backups, 5 week-end backups, 11 month-end backups plus one for year-end.

23 backups is quite economical for 12 months coverage.

This represents real comfort when retrieving data which has been compromised at some unknown point in the past.

Source: https://github.com/mdewhirst/baklabel

Mike Dewhirst miked@dewhirst.com.au

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

baklabel-1.2.3.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

baklabel-1.2.3-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file baklabel-1.2.3.tar.gz.

File metadata

  • Download URL: baklabel-1.2.3.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for baklabel-1.2.3.tar.gz
Algorithm Hash digest
SHA256 1a64e6d1a342b07487644546407b00e74e751ec5b5c19368190df17e2750f6d7
MD5 809cb95ffd95eb2bb026eadf3a532448
BLAKE2b-256 c0ff2a38e3e55cc553ebb4f024f0618fbb0ba80500c9fcbf443ab2a9a2610324

See more details on using hashes here.

File details

Details for the file baklabel-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: baklabel-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for baklabel-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f07ec34307c9a17f848122abd2e3c28238da03c356435d4a41f987177a8c8d5d
MD5 340e32426a317386066b7013b6aaddd8
BLAKE2b-256 016a0a047b65179331579d5c89a3a3e86d019abd6316a30b8a5bb3446bb651ff

See more details on using hashes here.

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