backup_to_harddrive
This script can typically be trigger when you want to backup files from your home folder to one or more backup path (e.g harddrives.)
Installation
- On Ubuntu 22:
pip install backup_to_harddrive - On Ubuntu 24:
pipx install backup_to_harddrive
Targeted platform
| Platform | Implemented | Validation |
|---|---|---|
| Linux (Ubuntu 22) | ✅ | ci.yaml |
| Linux (Ubuntu 24) | ✅ | u24-validation.yaml |
| Windows | ❌ | NA |
| macOS | ❌ | NA |
Features included
- Exclude folders by list
- CLI switch on and off function (useful if you want to quickly reboot the computer without triggering a long backup)
- CLI retrieval of last date of backup
- Creation of quick restore shell script. This is useful to quickly restore part of a backup (for instance, only document, or music etc.) on another machine.
Configuration file
Create a config file in ~/.config/backup_to_harddrive/config.yaml.
Follow this example
backup_configurations:
my_backup:
source: /home/foo
list_of_harddrive:
- /media/foo/hd1
- /media/foo/hd2
list_of_excluded_folders:
- .cache
- /home/foo/excluded
backup_two:
source: /home/bar
list_of_harddrive:
- /mnt/bar
list_of_excluded_folders:
- .config
- .cache
Use cases
See USECASES.md
Contributing
See CONTRIBUTING.md
Metadata
Release files for backup_to_harddrive 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| backup_to_harddrive-0.0.5.tar.gz | 8.3 kB | Without provenance | Details for backup_to_harddrive-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| backup_to_harddrive-0.0.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for backup_to_harddrive-0.0.5-py2.py3-none-any.whl |
Total release size: 17.3 kB
Release files / backup_to_harddrive-0.0.5.tar.gz
| Download URL | backup_to_harddrive-0.0.5.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f9f591b3c0658d313374b0b4fe3b4f5f0cbdd69f35c76a5fc8247968a50a7de
|
|
BLAKE2b-256 checksum How to use checksums |
cda2c3f8de176f08e1333b0693aa17988a0778475e45ee43f1e481864130ebb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.10.12 Linux/6.8.0-1027-azure
|
Release files / backup_to_harddrive-0.0.5-py2.py3-none-any.whl
| Download URL | backup_to_harddrive-0.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3e5177d939bdd3c6a223dac8f74243a32d6b485fc6b33dee1688e91895c363a5
|
|
BLAKE2b-256 checksum How to use checksums |
885fa20a656da29fa91f536bc5a7b7426ce145cf4acf8837f747ca30959487d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.10.12 Linux/6.8.0-1027-azure
|
Security for backup_to_harddrive 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.