Tested in VyOS 1.3.1-S1
The "generate tech-support archive" command creates an archive that includes the previous archives
Thus the size of the archive and the space occupied increase exponentially
0 time:
[email protected]:~$ ls -al /config/support/ total 8 drwxrwsr-x 2 root vyattacfg 4096 Mar 28 17:09 . drwxrwsr-x 7 root vyattacfg 4096 Apr 19 12:19 ..
1st time:
[email protected]:~$ generate tech-support archive Saving the archives... Saved tech-support archival at /opt/vyatta/etc/config/support/vyos.tech-support-archive.2022-04-19-122230.tgz [email protected]:~$ ls -l /config/support/ total 1156 -rw-r--r-- 1 root vyattacfg 1173615 Apr 19 12:22 vyos.tech-support-archive.2022-04-19-122230.tgz
2nd time:
[email protected]:~$ generate tech-support archive Saving the archives... Saved tech-support archival at /opt/vyatta/etc/config/support/vyos.tech-support-archive.2022-04-19-122240.tgz [email protected]:~$ ls -al /config/support/ total 3452 -rw-r--r-- 1 root vyattacfg 1173615 Apr 19 12:22 vyos.tech-support-archive.2022-04-19-122230.tgz -rw-r--r-- 1 root vyattacfg 2348638 Apr 19 12:22 vyos.tech-support-archive.2022-04-19-122240.tgz
3rd time:
[email protected]:~$ generate tech-support archive Saving the archives... Saved tech-support archival at /opt/vyatta/etc/config/support/vyos.tech-support-archive.2022-04-19-122259.tgz [email protected]:~$ ls -l /config/support/ total 11364 -rw-r--r-- 1 root vyattacfg 1173615 Apr 19 12:22 vyos.tech-support-archive.2022-04-19-122230.tgz -rw-r--r-- 1 root vyattacfg 2348638 Apr 19 12:22 vyos.tech-support-archive.2022-04-19-122240.tgz -rw-r--r-- 1 root vyattacfg 8107512 Apr 19 12:23 vyos.tech-support-archive.2022-04-19-122259.tgz