We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Incorrect backup counter v16
Incorrect backup counter v16
Hello,
After updating to v16, the backup counter shows 2/1 instead of 1/1 backups. When I click update counters it is set correctly (1/1) but after the backup script executes again it goes to 2/1.
Any ideas?
After updating to v16, the backup counter shows 2/1 instead of 1/1 backups. When I click update counters it is set correctly (1/1) but after the backup script executes again it goes to 2/1.
Any ideas?
Re: Incorrect backup counter v16
OS?
Only 1 backup in Package?
Only 1 backup in Package?
Re: Incorrect backup counter v16
Ubuntu 14.04 x64. Yes, the package limit is 1.
Re: Incorrect backup counter v16
I have had this problems in previous versions (older than 15) and it stopped with reinstallation of the server. But I can't reinstall to server each time I want to fix things.
Re: Incorrect backup counter v16
Ok, I think I have found a solution. The number is higher because it counts the .log file as well (even though it gets deleted in the process)
I have made the following change to the v-backup-user file:
Replaced:
U_BACKUPS=$(ls $BACKUP/ |grep "^$user." |wc -l)
With:
U_BACKUPS=$(ls $BACKUP/ |grep "^$user.*.tar" |wc -l)
I am pretty sure there is a better way to do this. If anyone has a better idea or can make a change in github, please do.
Thank you.
I have made the following change to the v-backup-user file:
Replaced:
U_BACKUPS=$(ls $BACKUP/ |grep "^$user." |wc -l)
With:
U_BACKUPS=$(ls $BACKUP/ |grep "^$user.*.tar" |wc -l)
I am pretty sure there is a better way to do this. If anyone has a better idea or can make a change in github, please do.
Thank you.