python-smb-backup
Pytohn library to backup folders to a smb volume
Installation
pip install smb-backup
Usage
from smb_backup import SMB_Backup
# create a new backup object
smb_backup = SMB_Backup(SERVER,SHARE,USERNAME,PASSWORD,retention=RETENTION)
# backup a folder
smb_backup.backup(SOURCE_DIR,TARGET_DIR)
Depending on the retention-value the oldest backup will be deleted.
Metadata
Release files for smb-backup 0.0.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 | |
|---|---|---|---|
| smb_backup-0.0.3.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smb_backup-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / smb_backup-0.0.3.tar.gz
| Download URL | smb_backup-0.0.3.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
079a92c5ba4ccb9b698db16c237b1b9e769b3641459947f01c2f73fad40f3d7b
|
|
BLAKE2b-256 checksum How to use checksums |
40283b0ea5ff2055813f1c5e949b673b97f7cb8d27df493e22eaa670b1806e5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / smb_backup-0.0.3-py3-none-any.whl
| Download URL | smb_backup-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31ef3aed8003e621254d92482adab501ff92032d321c24e8c94481f5b681837b
|
|
BLAKE2b-256 checksum How to use checksums |
00d6ef58c782e3ba1e6d4bb7f7308dce07498d3ac430394630d714b669fb74e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|