diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-05-13 12:02:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 12:02:49 +0300 |
commit | bfec3bce801b15fda969a1bd97e51b9e19dfef93 (patch) | |
tree | 9bf8e28afb60dff78ed361ed47615d79842071de | |
parent | 07672e05a6f02bf93d6ea59cd21b689174926e79 (diff) | |
parent | 08fc48df0ff64abd34da55c700f2ffca5e3cf163 (diff) | |
download | vyatta-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-x | scripts/tech-support-archive | 2 |
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 |