mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
Merge pull request #1384 from ioannidesalex/patch-1
Update v-backup-user
This commit is contained in:
commit
dcf0ae96a8
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ google_backup() {
|
||||||
if [ "$backups_count" -ge "$BACKUPS" ]; then
|
if [ "$backups_count" -ge "$BACKUPS" ]; then
|
||||||
backups_rm_number=$((backups_count - BACKUPS))
|
backups_rm_number=$((backups_count - BACKUPS))
|
||||||
for backup in $(echo "$backup_list" |head -n $backups_rm_number); do
|
for backup in $(echo "$backup_list" |head -n $backups_rm_number); do
|
||||||
echo -e "$(date "+%F %T") Roated gcp backup: $backup"
|
echo -e "$(date "+%F %T") Rotated gcp backup: $backup"
|
||||||
$gsutil rm $backup > /dev/null 2>&1
|
$gsutil rm $backup > /dev/null 2>&1
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue