FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 5762f096 authored by Vitor Trovisco's avatar Vitor Trovisco
Browse files

Update weekly_export.sh - correct the filepath for the archiving directory

parent 2a21d599
No related branches found
No related tags found
1 merge request!20Update weekly_export.sh - remove time stamp from the archive export json and other changes
......@@ -42,11 +42,11 @@ if ./canto/script/canto_docker --non-interactive ./script/canto_export.pl canto
#Define date-time-stamped filename for archiving
EXPORT_FILENAME_ARCHIVE="canto_server_export_$(date +"%Y-%m-%d").json"
log "Archiving ${EXPORT_FILENAME} to "${ARCHIVE}/${EXPORT_FILENAME_ARCHIVE}""
log "Copying ${EXPORT_FILENAME} Archiving ${EXPORT_FILENAME} to "${ARCHIVE}/${EXPORT_FILENAME_ARCHIVE}""
#Copying the export file to within flybase-vm's archives, both as the generic 'canto_server_export_latest.json' file, which will be overwritten every week, as a date-stamped version
cp "${EXPORT_DIR}/${EXPORT_FILENAME}" "${ARCHIVE}/${EXPORT_FILENAME}"
cp "${EXPORT_DIR}/${EXPORT_FILENAME}" "${ARCHIVE}/${EXPORT_FILENAME_ARCHIVE}"
cp "${EXPORT_DIR}/${EXPORT_FILENAME}" "${EXPORTVM_EXPORT_ARCHIVE}/${EXPORT_FILENAME}"
cp "${EXPORT_DIR}/${EXPORT_FILENAME}" "${EXPORTVM_EXPORT_ARCHIVE}/${EXPORT_FILENAME_ARCHIVE}"
log "Finished"
......
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