Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/llukas22/python-smb-backup

Python library to backup folders to a smb volume
https://github.com/llukas22/python-smb-backup

backup python smb

Last synced: about 1 month ago
JSON representation

Python library to backup folders to a smb volume

Awesome Lists containing this project

README

        

# python-smb-backup
Python 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.