Skip to content
Snippets Groups Projects
Verified Commit a411df03 authored by Radim Peša's avatar Radim Peša
Browse files

comments

parent 668c1e7f
No related branches found
No related tags found
No related merge requests found
Pipeline #9600 passed
#!/bin/sh
#NOW=$(date +"%F")
#NOWT=$(date +"%T")
echo "Starting backup in container."
BACKUP_DIR=/backup/$ENV_NOW/$ENV_NOWT/neo4j
echo "Backup dir is $BACKUP_DIR."
#BACKUP_DIR=$ENV_BACKUP_NEO4J_DIR
mkdir -p $BACKUP_DIR
echo "Backup dir is $BACKUP_DIR."
echo "Creating tgz file."
tar -zcvf $BACKUP_DIR/neo4j.tgz /neodata/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment