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.
bugfix remove old backup Topic is solved
bugfix remove old backup
I use Vesta in 0.9.8-9 version on CentOS 6.5 x64
And vesta did not remove old backups. I set limit backups for account.
In v-beckup-user script is:
Problem is with awk command. Show 9th column but ls returning only 8 columns.
I change script on:
And works fine.
And vesta did not remove old backups. I set limit backups for account.
In v-beckup-user script is:
Code: Select all
# Checking retention
backup_list=$(ls -lrt $BACKUP/ | awk '{print $9}' |grep "^$user\.")
backups_count=$(echo "$backup_list" | wc -l)
I change script on:
Code: Select all
# Checking retention
backup_list=$(ls -lrt $BACKUP/ | awk '{print $8}' |grep "^$user\.")
backups_count=$(echo "$backup_list" | wc -l)
Re: bugfix remove old backup
Closed due inactivity.