Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (34 sloc) 2.56 KB
title description keywords kbid weight date updated_at author
Counting requests for every backup plan
Brief explanation how to enable requests to storage provider calculation for every backup plan to assess your spending other than storage
Backup, online Backup, API, request, PUT, GET, POST, LIST
1066
1066
2016-12-16
2016-12-16
Anton

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.