apache
![images/targz-linux.webp](https://www.elasticourse.com/images/targz-linux_huad87faada2e43e568f9dda25ef54512a_10840_500x0_resize_q90_h2_box_2.webp)
How to compress your website htdocs folder into a ZIP file for backup and migrations
Learn how to compress your web server root directory into a zip file to backup or migrate
ElastiCourse
![](https://www.elasticourse.com/../assets/images/global/author_hubbff648ff4627bba668396f0c2042e10_8082_40x0_resize_q75_h2_box_2.webp)
![](https://www.elasticourse.com/../assets/images/global/author_hubbff648ff4627bba668396f0c2042e10_8082_40x0_resize_q75_h2_box_2.webp)
ElastiCourse
1
min read
Learn how to compress your web server root directory into a zip file to backup or migrate
ElastiCourse