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
Metadata
Release files for baklabel 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| baklabel-1.2.3.tar.gz | 31.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| baklabel-1.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.1 kB
Release files / baklabel-1.2.3.tar.gz
| Download URL | baklabel-1.2.3.tar.gz |
|---|---|
| Size | 31.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a64e6d1a342b07487644546407b00e74e751ec5b5c19368190df17e2750f6d7
|
|
BLAKE2b-256 checksum How to use checksums |
c0ff2a38e3e55cc553ebb4f024f0618fbb0ba80500c9fcbf443ab2a9a2610324
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / baklabel-1.2.3-py3-none-any.whl
| Download URL | baklabel-1.2.3-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f07ec34307c9a17f848122abd2e3c28238da03c356435d4a41f987177a8c8d5d
|
|
BLAKE2b-256 checksum How to use checksums |
016a0a047b65179331579d5c89a3a3e86d019abd6316a30b8a5bb3446bb651ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|