# Wasabi Golang util usage guide Features of this util are 1. To upload data files on to the wasabi cloud. 2. Purge data which is older then defined time line. Now lets talk about the usage. 1. You would need to place `configs.toml` inside `configs` directory. 2. Place `wasabi-util-upload` binary on root. 3. Run following command to upload files on wasabi * $./wasabi-util-upload --fileName file_name.sql --path /home/data upload Note:- Here `upload` is command, --fileName is name of data file and --path is location of this data file 4. Run following command to initiate purging process on wasabi * $./wasabi-util-upload purge Note:- `purge` is command, for more details on toml configs please review below section. ## configs.toml You will need to provide following details in `configs.toml` in order for this util to work properly. 1. `Region` => When creating bucket on wasabi you select region and it has to be provided here. 2. `AccessID` and `AccessSecert` => These can be generated using this [link](https://preventdirectaccess.com/docs/create-wasabi-bucket-get-access-keys/#:~:text=3.-,Create%20an%20IAM%20user%20%26%20get%20access%20keys,enter%20details%20for%20the%20user.) 3. `EndPoint`=> This is static depending on region i.e `https://s3.eu-central-1.wasabisys.com` 4. `BucketName` => Provide bucket name that you just created. 5. `PurgeHours` => You need to provide time in hours, this is the time, before which all data files will be purged.