In Athento, it is possible to upload binaries to the blob storage, once the connection to the blob storage has been configured.
To upload binaries, use the following command:
python manage.py backup_to_storj --upload-type files --day-start 365 --day-end 0
python manage.py backup_to_ovh --upload-type files --day-start 365 --day-end 0
python manage.py backup_to_backblazeb2 --upload-type files --day-start 365 --day-end 0
In each command it will be uploaded in a different provider and the parameters are:
- Upload-type: (Optional) With 3 possible values (files, versions, all) if you do not use this parameter both the binaries of the documents and the binaries of each version of these will be uploaded. If you use files only the binaries of the documents will be uploaded, and if you use versions only the binaries of the document versions will be uploaded.
- Day-start: (Required) Indicates the day from which the documents are filtered. 0 would be the current day and 365 is 1 year ago.
- Day-end: (Required) Indicates the last day that the document filtering is performed. 0 would be the current day and 365 1 year ago.
- Max-files: (Optional) Indicates the maximum number of files to be uploaded in an execution.
Comments
0 comments
Please sign in to leave a comment.