Update v-backup-user

This commit is contained in:
Alexandros Ioannides 2017-12-28 14:25:34 +02:00 committed by GitHub
commit b48ed75871
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -829,7 +829,7 @@ google_backup() {
if [ "$backups_count" -ge "$BACKUPS" ]; then
backups_rm_number=$((backups_count - BACKUPS))
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
done
fi