Update README.md

master
Muhep Atasoy 2019-12-06 17:32:55 +03:00
parent e8142e082a
commit 29ef8f84b2
1 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,8 @@ python backupper.py --containers nginx mysql
``` ```
python backupper.py --containers nginx mysql --data /path/to/data/folder --mysql mysql \ python backupper.py --containers nginx mysql --data /path/to/data/folder --mysql mysql \
--user root --password ROOT_PASSWORD --upload --user root --password ROOT_PASSWORD --backup /path/to/backup/target/folder \
--export /path/to/export/target/folder --upload --clean
``` ```
| Arguments | Description | Required| | Arguments | Description | Required|
@ -26,6 +27,9 @@ python backupper.py --containers nginx mysql --data /path/to/data/folder --mysql
| user | Mysql username | False | | user | Mysql username | False |
| password | Mysql password | False | | password | Mysql password | False |
| upload | Compress all backups and upload to Mega.nz | False | | upload | Compress all backups and upload to Mega.nz | False |
| backup | Backup target directory. | True |
| export | Compressed backup file target directory. | True |
| clean | Clean all backup files and folders after upload. (Not container data) | False |
## Developer ## Developer
✔ Muhep Atasoy [Website](https://muhepatasoy.com)| [GitHub](https://github.com/muhep06) | [Gitea](https://git.muhepatasoy.xyz/muhep) | [Twitter](https://twitter.com/Muhepatasoy_98) ✔ Muhep Atasoy [Website](https://muhepatasoy.com)| [GitHub](https://github.com/muhep06) | [Gitea](https://git.muhepatasoy.xyz/muhep) | [Twitter](https://twitter.com/Muhepatasoy_98)