Backup directories to an SMB drive
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smb_backup-0.0.3.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file smb_backup-0.0.3.tar.gz
.
File metadata
- Download URL: smb_backup-0.0.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 079a92c5ba4ccb9b698db16c237b1b9e769b3641459947f01c2f73fad40f3d7b |
|
MD5 | b135e1e6e7b6aef1943c9a195919c5fa |
|
BLAKE2b-256 | 40283b0ea5ff2055813f1c5e949b673b97f7cb8d27df493e22eaa670b1806e5b |
File details
Details for the file smb_backup-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: smb_backup-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ef3aed8003e621254d92482adab501ff92032d321c24e8c94481f5b681837b |
|
MD5 | 95f096e1f7ed0debbaa376abce53e036 |
|
BLAKE2b-256 | 00d6ef58c782e3ba1e6d4bb7f7308dce07498d3ac430394630d714b669fb74e2 |