Billing backup results tool
This script will retrieve backup results and store them in a billing database.
This script is for use with Abiquo 6.0.x and earlier versions.
Abiquo 6.1 obtains the size of valid backups directly from the backup system without this external tool. And you can set pricing per GB.
For details of how to price backups for billing, see Create a new pricing model | Backup prices
You can use this tool to include backup results in your private cloud billing.
Installation
Generally you will install this tool with billing, which may be on your Reporting server.
To install the tool, run the following command:
yum install abiquo-billing-backup-results
By default, the tool will install in the following folder:
/opt/abiquo-billing-backup-results
Configuration
To configure the tool, in the config
folder, edit the config.yml file and enter the details of the billing database.
billing_database:
host:
user:
password:
port:
database: BILLING_BACKUP_RESULTS
Â
Usage
To run the tool, you can use the following command (using the correct version number):
By default:
The script will process backup results created in last 7 days.
To specify the number of days, use the
-d
parameter.
The script will remove results that were created more than 6 months ago.
To specify the number of months to keep old results, use the
-r
parameter.
For example, to process results for 5 days and remove old results after 9 months:
Â
Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved