Extracted backups do not match the original directory structure.
short description
When backups are extracted, they do not match the original directory structure/files.
correct behaviour
The contents of the extracted backup should match the original.
environment
Server OS: Debian Server OS version: Buster 10 ISPConfig version: 3.1.15
php -v
PHP 7.3.10-1+0~20191008.45+debian10~1.gbp365209 (cli) (built: Oct 8 2019 05:49:09) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.10-1+0~20191008.45+debian10~1.gbp365209, Copyright (c) 1999-2018, by Zend Technologies
Talking only about the /web/ directory here. The backups look largely fine, but there are file discrepencies between the backup and a simple copy of the /web/ directory. Example, where "copied/" is the result of cp -r /var/www/client/clientn/etc.
and "extracted" is the result of unzip web20_2019-nn-nn_00-01.zip
:
root@host:/tmp/web20# l copied/web/wp-content/plugins/one-page-express-companion/assets/css
total 84
871778 drwxr-xr-x 3 root root 4096 Oct 15 07:35 .
715215 drwxr-xr-x 6 root root 4096 Oct 15 07:35 ..
871783 -rw-r--r-- 1 root root 38922 Oct 15 07:35 customizer.css
871779 -rw-r--r-- 1 root root 787 Oct 15 07:35 fa-tab.css
871780 drwxr-xr-x 2 root root 4096 Oct 15 07:35 libs
871782 -rw-r--r-- 1 root root 24849 Oct 15 07:35 preview.css
root@host:/tmp/web20# l extracted/web/wp-content/plugins/one-page-express-companion/assets/css
total 12
281824 drwxr-xr-x 3 root root 4096 Sep 4 07:02 .
281819 drwxr-xr-x 6 root root 4096 Aug 31 20:33 ..
281825 drwxr-xr-x 2 root root 4096 Sep 4 07:02 libs