---
title: "Howto export website with wget authentication"
url: "https://academy.jahia.com/sites/academy/contents/knowledge-base/2018/howto-export-website-with-wget-authentication.html"
last_updated: 2026-10-01
---

# Howto export website with wget authentication

export System administrator Jahia 7.3 Jahia 8 Legacy

## Question

How to export a website using a script with authentication parameters

## Answer

To export a website you need specific privileges.

Execute the following command:

```
wget -t 1 -O "SITE_KEY_TO_REPLACE.zip" "DX_URL_TO_REPLACE/cms/login?username=LOGIN_TO_REPLACE&password=PASSWORD_TO_REPLACE&redirect=/cms/export/default/my_export.zip?exportformat=site&live=true&sitebox=SITE_KEY_TO_REPLACE"
```
