feat : ajout de la rotation pour les scripts de backup #9
Reference in New Issue
Block a user
Delete Branch "feat/384-correctif"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@@ -125,0 +132,4 @@# Rotation distante - suppression > 10 jours#######################################ssh "${SSH_OPTS[@]}" "$REMOTE_USER@$REMOTE_HOST" \"find '$REMOTE_DIR' -type f -name '${BACKUP_PREFIX}-*.tar.gz' -mtime +$RETENTION_DAYS -delete" \rajoute un exit pour close la connexion ssh
@@ -302,0 +317,4 @@fifor DB in "${DBS_ARRAY[@]}"; dossh "${SSH_OPTS[@]}" "$IA_SSH" "find '${REMOTE_DIR}/${DB}' -type f -name '${DB}_*.dump' -mtime +${RETENTION_DAYS} -delete"rajoute un exit pour close la connexion