---
title: Run Tables in production
project: Tables
version: 7.0
section: guides
language: es
translation: missing
license: Total.js Enterprise
url: https://totaljs.es/docs/es/tables/7-0/guides/production/
updated: 2026-11-20T06:39:57.622Z
---

# Run Tables in production

> Keep Tables running on a server, protect it, and back up its data.

Tables is a Node.js application. On a server, keep it running with a process manager and put it behind a web server with HTTPS.

## Keep it running

Run the app with a process manager such as systemd or PM2, so it starts with the server and restarts after an error. The command is the same as by hand, run in the folder of the app:

```bash
node index.js 8000
```

To start the app in release mode, add `--release`:

```bash
node index.js 8000 --release
```

## Protect access

- Change the generated account at the [first sign-in](../first-sign-in/).
- Serve Tables over HTTPS, for example with nginx in front of it, and set `url` in the `config` file to the public address.
- Do not open the PostgreSQL port to the internet.
- Give each application its own [API token](../api-tokens/), and remove the tokens you do not use.

## Back up

All your data is in PostgreSQL: the records, the settings of the tables, the views, the versions and the API tokens. Back up the database with your usual tool, for example:

```bash
pg_dump --format=custom --file=tables.backup tables
```

Also keep a copy of the `config` file and of the folder `databases` in the app folder, which holds the account.
