Prechádzať zdrojové kódy

Renaming postgresql backup script

Sebastian Vendt 3 mesiacov pred
rodič
commit
cb28381a55
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      postgresqlBackup/backup_postgresql.sh

+ 1 - 1
postgresqlBackup/backup_postgresql.sh

@@ -11,4 +11,4 @@ fullBackupFileName="${backupFilepath}${filename}"
 docker exec -i ${dockerContainerName} /bin/bash -c "PGPASSWORD=${dbpasswd} pg_dump --username ${dbUser} ${dbName}" > $fullBackupFileName
 
 #Backup rotation - Delete everything older than rotationDays
-find $backupFilePath -type f -mtime +$rotationDays -name '*.sql' -execdir rm -- '{}' \;
+find $backupFilepath -type f -mtime +$rotationDays -name '*.sql' -execdir rm -- '{}' \;