Zip the public_html folder

Hello, good day, can you please tell me how to compress the public_html directory with zip, to download it to my PC, since I lost the source files.

zip(1) — zip — Debian bookworm — Debian Manpages

FTP Filezila download and compress, as an option)

Here one more option using file manager included in Hestia :wink:

Access file manager from your user:

image

Navigate to web -> your_domain -> public_html

Now select all files and folders:

After selecting them, click on Zip.

Choose a name for the zip archive and click on Create.

image

When it finishes, you will see the new zip, click on it and you will be able to download it.

Please note for larger folders / a lot of files

ssh [email protected]
cd ~/web/domain.com/public_html/
zip -r folder.zip *

Via Filegator is might be very slow…