The Knowledge Base contains articles written by the user community and CloudBerry engineers on services and products offered by CloudBerry Lab. Browse topics by category, or use the search box to find answers to your questions.

Check out new videos about Managed Backup Service

KB: 1066
Last updated: 2016-12-16

Counting requests for every backup plan

Problem

Your cloud storage provider sent you monthly bill and detailed explanation what you were charged for. And surprisingly you realize that storage contains only 60-70% of the entire bill. The rest of that amount you need to pay for requests.

Resolution

In order to have a better visibility on what you consume from storage provider’s subscription we’ve made this setting in our backup agent.

  • Go to the following folder and locate enginesettings.list file. For standalone backup C:\ProgramData\CloudBerryLab\CloudBerry Backup\enginesettings.list. For Managed backup this will be something different, depending on the name of the product that you made but still it will be in ProgramData folder. Example for the Company ABC - C:\ProgramData\Company ABC\enginesettings.list;

  • In enginesettings.list you need to put the following text somewhere in the end: <LogRequestCountersOnExit>true</LogRequestCountersOnExit>. This setting should work for all backup versions, but starting from Backup 5.4 you should switch to the following setting: <LogRequestsOnExit>true</LogRequestsOnExit>;

  • Run your plan;

  • Click on Tools → Diagnostic → Open in folder;

  • Find the latest modified file with .log extension (file name is your backup plan ID);

  • In the end of the file you will see:

    
    2016-12-15 14:02:35,207 [SERV] [1] NOTICE - Uploaded: 2(769 KB). Deleted: 0. Failed: 0
    2016-12-15 14:02:35,249 [SERV] [1] NOTICE - Request GET: success 15, failed 0
    2016-12-15 14:02:35,249 [SERV] [1] NOTICE - Request PUT: success 15, failed 0
    2016-12-15 14:02:35,249 [SERV] [1] NOTICE - Request HEAD: success 4, failed 0
    2016-12-15 14:02:35,249 [SERV] [1] NOTICE - Request DELETE: success 15, failed 0
    
    

Now you can see how many requests have been sent.

comments powered by Disqus