A simple Python script for file upload to the dropbox.
- Python >= 3.6
-
Clone the repository.
-
Install dependencies.
pip install -r requirements.txt
- Add your ACCESS_TOKEN API.
- Add your DEFAULT_DROPBOX_DIRECTORY
- Add your DEFAULT_BACKUPS_DIRECTORY (folder where backups.sql or *.sql.gz are stored)
- Send a file to the dropbox with the following command:
python uploader.py -f <FILE NAME> -d <DROPBOX DIRECTORY>
or
python uploader.py
- View help usage with
python uploader.py -h