Skip to content

Commit

Permalink
Merge pull request #2135 from silversword411/develop
Browse files Browse the repository at this point in the history
update backup script to version 33 and exclude meshcentral-recordings…
  • Loading branch information
wh1te909 authored Feb 7, 2025
2 parents 41aa84f + c6a3a1a commit 8fa3f5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

SCRIPT_VERSION="32"
SCRIPT_VERSION="33"

export DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -95,7 +95,7 @@ else
mongodump --gzip --out=${tmp_dir}/meshcentral/mongo
fi

tar -czvf ${tmp_dir}/meshcentral/mesh.tar.gz --exclude=/meshcentral/node_modules /meshcentral
tar -czvf ${tmp_dir}/meshcentral/mesh.tar.gz --exclude=/meshcentral/node_modules --exclude=/meshcentral/meshcentral-recordings /meshcentral

if [ -d /etc/letsencrypt ]; then
sudo tar -czvf ${tmp_dir}/certs/etc-letsencrypt.tar.gz -C /etc/letsencrypt .
Expand Down

0 comments on commit 8fa3f5d

Please sign in to comment.