Updates
This commit is contained in:
parent
fb74be4619
commit
d17a98b074
@ -34,6 +34,7 @@ syncDockerVolsCmd += ` ${DOCKER_VOLUMES_DIR}/ ${DOCKER_VOLUMES_BACKUP_DIR}/`;
|
||||
execSync(syncDockerVolsCmd, execOpts);
|
||||
|
||||
let syncServerDataCmd = `rsync -avz --delete --exclude="**.coderank/server" --exclude=".git" ${SERVER_DATA_DIR}/ ${BACKUP_DATA_DIR}/`;
|
||||
console.log("syncServerDataCmd", syncServerDataCmd);
|
||||
execSync(syncServerDataCmd, execOpts);
|
||||
|
||||
execSync(`tar -cJvf ${BACKUP_FILE_TAR} ${BACKUP_NAME}`, {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user