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 hashes)
Built Distribution
Close
Hashes for smb_backup-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ef3aed8003e621254d92482adab501ff92032d321c24e8c94481f5b681837b |
|
MD5 | 95f096e1f7ed0debbaa376abce53e036 |
|
BLAKE2b-256 | 00d6ef58c782e3ba1e6d4bb7f7308dce07498d3ac430394630d714b669fb74e2 |