Simple CLI Backup
Простая настройка бэкапов на северах.
Возможности:
- Настройка через yml файл
- Для запуска используется одна точка входа В cron можно указать один файл, а все рассписание будет в файлах настроек
Требования
Python 3.11+
Разработка
Документация: docs/README.md.
Настройка окружения
uv sync
Запуск
uv run sback --config config.yml
uv run sback -t config.yml
uv run sback init --config config.yml
-t проверяет файл настроек и не запускает бэкап. То же самое делает --config-test.
Тестирование
uv run pytest
Линтинг
Python-код форматируется через black.
uv run black .
uv run black --check .
Локализация
cd ./
pygettext -a -d scb source/
Metadata
Release files for sback 0.1.0
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 |
|---|---|---|---|---|
| sback-0.1.0.tar.gz | 32.9 kB | Without provenance | Details for sback-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sback-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sback-0.1.0-py3-none-any.whl |
Total release size: 63.8 kB
Release files / sback-0.1.0.tar.gz
| Download URL | sback-0.1.0.tar.gz |
|---|---|
| Size | 32.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1bf33136c64ccd66f52af540a723333b11d143e29ac2dab7860b6c09ac10e870
|
|
BLAKE2b-256 checksum How to use checksums |
f3020272f9dd4df6b06d15502432058a75aa68d4f0d6336036055222be7b59ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / sback-0.1.0-py3-none-any.whl
| Download URL | sback-0.1.0-py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2dd6dbf52a2f1e283197a62584e9155057e969d19f673d3f0572f8b5d74d8a1e
|
|
BLAKE2b-256 checksum How to use checksums |
29a454b07ca0d97c08c54cd0a85b9985c65f69e5bc3601324b6df2dd0cfb292d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for sback 0.1.0
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.