The billingInvoker script allows the following tasks to be performed from the command line interface:
• | Generating a billing ticket. |
• | Creating a billing ticket schedule. |
• | Deleting a billing ticket schedule. |
Billing tickets appear in the Unitrends Backup appliance UI under Configure > Appliances > Interactions > View Ticket History.
Warning! It is recommended that all administration tasks are performed using the graphical user interface. The Unitrends operating system implementation is proprietary to Unitrends and should not be modified from the command line unless following an certified Unitrends procedure. Performing general administration tasks from the command line can result in undesirable outcomes.
1 | Using a terminal emulator, such as PuTTY, connect to the appliance using the following: |
– | Appliance IP address |
– | Port 22 |
– | SSH connection type |
2 | Log in as user root. |
3 | Issue this command to change to the command directory: |
# cd /usr/bp/bin
4 | Run the script using this command: |
# ./billingInvoker
5 | You will see the following output: |
PSA Billing
Usage: billingInvoker [generateBill | changeBillDay | getBillDay | disableBilling]
generateBill -- generates a billing ticket
changeBillDay <day> -- changes the day when the billing ticket should be created. <day> should be between 1-31.
disableBilling -- disable the billing invocation via cron
getBillday -- shows the billing day of the month
6 | Enter the following command: |
# ./billingInvoker generateBill
1 | Using a terminal emulator, such as PuTTY, connect to the appliance using the following: |
– | Appliance IP address |
– | Port 22 |
– | SSH connection type |
2 | Log in as user root. |
3 | Issue this command to change to the command directory: |
# cd /usr/bp/bin
4 | Run the script using this command: |
# ./billingInvoker
5 | You will see the following output: |
PSA Billing
Usage: billingInvoker [generateBill | changeBillDay | getBillDay | disableBilling]
generateBill -- generates a billing ticket
changeBillDay <day> -- changes the day when the billing ticket should be created. <day> should be between 1-31.
disableBilling -- disable the billing invocation via cron
getBillday -- shows the billing day of the month
6 | Enter the following command: |
# ./billingInvoker changeBillDay <day of the month you want the billing ticket to be generated on>
Note: You can view the scheduled day by following steps 1-5 and entering the command /billingInvoker getBillDay.
1 | Using a terminal emulator, such as PuTTY, connect to the appliance using the following: |
– | Appliance IP address |
– | Port 22 |
– | SSH connection type |
2 | Log in as user root. |
3 | Issue this command to change to the command directory: |
# cd /usr/bp/bin
4 | Run the script using this command: |
# ./billingInvoker
5 | You will see the following output: |
PSA Billing
Usage: billingInvoker [generateBill | changeBillDay | getBillDay | disableBilling]
generateBill -- generates a billing ticket
changeBillDay <day> -- changes the day when the billing ticket should be created. <day> should be between 1-31.
disableBilling -- disable the billing invocation via cron
getBillday -- shows the billing day of the month
6 | Enter the following command: |
# ./billingInvoker disableBilling