Skip to content
Snippets Groups Projects
Commit 29e009c9 authored by Andres Maldonado's avatar Andres Maldonado
Browse files

[pica-db-backup][mongo-run.sh] Don't do verbose logging for 'tar'

parent fc1105f0
No related branches found
No related tags found
No related merge requests found
Pipeline #60395 waiting for manual action
......@@ -37,7 +37,7 @@ echo "=> ${MONGO_SERVICE_NAME}: Backup started: \${BACKUP_NAME}"
if ${BACKUP_CMD} ;then
MONGO_BACKUP=$BACKUP_FOLDER\${BACKUP_NAME}
echo " => Compress files \$MONGO_BACKUP.tar.gz"
tar -czvf \$MONGO_BACKUP.tar.gz \$MONGO_BACKUP && \
tar -czf \$MONGO_BACKUP.tar.gz \$MONGO_BACKUP && \
rm -rf \$MONGO_BACKUP && \
echo "${MONGO_SERVICE_NAME}: Backup succeeded"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment