summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-05-13 12:02:49 +0300
committerGitHub <noreply@github.com>2022-05-13 12:02:49 +0300
commitbfec3bce801b15fda969a1bd97e51b9e19dfef93 (patch)
tree9bf8e28afb60dff78ed361ed47615d79842071de
parent07672e05a6f02bf93d6ea59cd21b689174926e79 (diff)
parent08fc48df0ff64abd34da55c700f2ffca5e3cf163 (diff)
downloadvyatta-op-bfec3bce801b15fda969a1bd97e51b9e19dfef93.tar.gz
vyatta-op-bfec3bce801b15fda969a1bd97e51b9e19dfef93.zip
Merge pull request #55 from mkorobeinikov/current
tech-support-archive: T4377: Exclude saving archives to a new archive.
-rwxr-xr-xscripts/tech-support-archive2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tech-support-archive b/scripts/tech-support-archive
index 2321d76..6ebd3db 100755
--- a/scripts/tech-support-archive
+++ b/scripts/tech-support-archive
@@ -51,7 +51,7 @@ fi
builtin cd "$OUT"
echo "Saving the archives..."
-sudo tar zcf config.tgz /opt/vyatta/etc/config --exclude "*tech-support-archive*" >& /dev/null
+sudo tar --exclude "*tech-support-archive*" zcf config.tgz /opt/vyatta/etc/config >& /dev/null
sudo tar zcf etc.tgz /etc >& /dev/null
sudo tar zcf home.tgz /home >& /dev/null
sudo tar zcf var-log.tgz /var/log >& /dev/null