---
title: Backups
project: SuperAdmin
version: 9.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/superadmin/9-0/guides/backups/
updated: 2026-11-19T08:00:35.592Z
---

# Backups

> Download an app, back it up before new code, restore it, and back up the whole /www folder.

SuperAdmin has three kinds of backup: a download of one app, a backup before you upload new code, and a backup of the whole `/www/` folder.

## Download an app

Open the menu of the app and select **Download**. SuperAdmin packs the app folder into a ZIP file and your browser downloads it, for example `example_com-shop_backup.zip` for `shop.example.com`. The ZIP file leaves out `node_modules`, `tmp`, `.git` and socket files. A copy stays in the app folder.

The ZIP file has the files at its top level, so you can [upload](../upload-source-code/) it again.

## Back up before new code

When you upload new code with **Creates a backup**, SuperAdmin saves the current files of the app in `/www/<app id>-backup.tar.gz` first. Each such backup replaces the previous one of that app.

To go back to it:

1. Open the menu of the app and select **Upload source-code**.
2. In **Source-code**, choose **Restore a backup**.
3. Select **SUBMIT**, then **Continue**.

SuperAdmin unpacks the backup into the app folder and restarts the app.

## Back up the whole server

1. Select **Options > Make a backup**.
2. Select **Backup**.

SuperAdmin packs the folder `/www/` into `/www/<date>-backup.tar.gz`, for example `/www/20261119-backup.tar.gz`, and your browser downloads it. The archive holds SuperAdmin, all apps, their Nginx files, the certificates and their keys, and the logs. It leaves out older `.tar.gz` backups. Only SuperAdmins see this item.

Keep the file in a safe place, because it holds private keys and the user database. The archive also stays on the server; remove it when you do not need it any more.

## When you remove an app

SuperAdmin backs up the folder of an app before it removes it. See [Remove an application](../remove-application/).
