https://github.com/marcodpt/backup
File backup script in python3 with JSON config file
https://github.com/marcodpt/backup
backup config file python3 scp ssh
Last synced: 3 months ago
JSON representation
File backup script in python3 with JSON config file
- Host: GitHub
- URL: https://github.com/marcodpt/backup
- Owner: marcodpt
- License: mit
- Created: 2021-07-27T17:21:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-28T21:07:27.000Z (over 4 years ago)
- Last Synced: 2025-01-13T15:28:16.359Z (about 1 year ago)
- Topics: backup, config, file, python3, scp, ssh
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# backup
> File backup script in python3 with JSON config file
## Usage
```sh
./dump.py
```
## config.json
- array of objects: items properties:
- string `source`: the source file, maybe be remote machine
`user`@`IP`:`filePath`
- string `target`: the target file, always local machine, use `*` for
current timestamp
- number `limit`: the max number of files of this type on the target dir
- boolean `compress`: should be compressed
## decompress backup
```sh
tar -zxf {filename}
```