Page 1 of 1

Wrong backup number after updating to 0.9.8-16

Posted: Tue Jul 05, 2016 6:41 pm
by vlahonick
I have 2 backups in my Vesta but the number displayed is 3.
I updated the counters, I check my quota, I cleared my browser cache, I restart everything (vesta, nginx, apache) several times but nothing worked.
Image

Re: Wrong backup number after updating to 0.9.8-16

Posted: Tue Jul 05, 2016 11:21 pm
by misterpat
Me too.

Image

Re: Wrong backup number after updating to 0.9.8-16

Posted: Fri Jul 08, 2016 12:14 pm
by mbsmi
I am having a similar issue. My backup number stays at the maximum number, 3, but I only have the most recent two available on my server. The last one is deleted according to the backup logs.

Image

Image

I do wonder if the solution at http://forum.vestacp.com/viewtopic.php? ... ups#p46293 could be a possible fix?

Re: Wrong backup number after updating to 0.9.8-16

Posted: Fri Jul 08, 2016 1:40 pm
by vlahonick
mbsmi wrote:I am having a similar issue...
I tried just out of curiosity to update the counters via the cli and it seems to work. I mean the backup number is correct now and after deleting one of my oldest backups the counters were also update successful.

Can you confirm this?

Try as root:

Code: Select all

v-update-user-counters
or as $user:

Code: Select all

sudo /usr/local/vesta/bin/v-update-user-counters

Re: Wrong backup number after updating to 0.9.8-16

Posted: Fri Jul 08, 2016 2:14 pm
by mbsmi
vlahonick wrote: Try as root:

Code: Select all

v-update-user-counters
For myself, this had no noticeable effect. I do know that I can 'delete' the already deleted backup from the backup ui and my counter will update, however it still stores no more than two backups at one time, despite showing three as backed up.

Re: Wrong backup number after updating to 0.9.8-16

Posted: Fri Jul 08, 2016 2:18 pm
by vlahonick
mbsmi wrote:
vlahonick wrote: Try as root:

Code: Select all

v-update-user-counters
For myself, this had no noticeable effect. I do know that I can 'delete' the already deleted backup from the backup ui and my counter will update, however it still stores no more than two backups at one time, despite showing three as backed up.
I have a backup quota of 10. In the screenshot it seems you have set it to 1. Try with let's say 5 and then update the counters via cli again.

Re: Wrong backup number after updating to 0.9.8-16

Posted: Mon Jul 11, 2016 6:31 pm
by vlahonick
vlahonick wrote:
mbsmi wrote:
vlahonick wrote: Try as root:

Code: Select all

v-update-user-counters
After some experimentation I observed that when a new backup is created the counter number is wrong (+1 actually). However, updating the counters via cli (via web ui does not work) the counter number is corrected.

Re: Wrong backup number after updating to 0.9.8-16

Posted: Fri Dec 23, 2016 5:11 pm
by gogoi

Code: Select all

v-update-user-counters 
refreshes the counter!

Re: Wrong backup number after updating to 0.9.8-16

Posted: Tue Mar 28, 2017 6:19 pm
by skurudo