Active8
Verified User
- Joined
- Jul 13, 2013
- Messages
- 1,815
Hi , I don't have any problems, it was more a request for the author to change his code on the githubHave a look at line 110 in the ftp_upload.php file and change .gz to .zst
Code:FROM cat ${DUMP} | grep -v '^sftp> ' | grep -E '(.*)\.tar(|\.gz)(|\.enc)$'; TO cat ${DUMP} | grep -v '^sftp> ' | grep -E '(.*)\.tar(|\.zst)(|\.enc)$';
That will allow you to restore an account using DA backup/restore option. However, changing the code will only display .zst files and not many existing .gz.
Personally I don't think this is the right approach, I have altered ftp_list.php like:
Code:
cat ${DUMP} | grep -v '^sftp> ' | grep -E '(.*)\.tar(|\.zst)(|.gz)(|\.enc)$';