From 08fc48df0ff64abd34da55c700f2ffca5e3cf163 Mon Sep 17 00:00:00 2001 From: mkorobeinikov <92354771+mkorobeinikov@users.noreply.github.com> Date: Wed, 4 May 2022 08:54:39 +1000 Subject: tech-support-archive: T4377: Exclude saving archives to a new archive. The commit fixes problem with saving archives to a new archive. --- scripts/tech-support-archive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3