This article explains how to migrate your workflows from the hosted n8n Cloud to a self-managed instance on a Hostinger VPS. By moving to a VPS, you gain direct access to your file system, command-line interface, and database, giving you full control over your n8n environment.
Before you start
Migrating from n8n Cloud to a self-managed VPS has important limitations compared to migrating between two self-managed instances. Review these differences before proceeding.
|
Feature |
n8n Cloud |
Self-managed VPS |
|
CLI access |
Not available |
Available via |
|
Workflow export |
Browser UI only |
CLI or browser UI |
|
Credential export |
Browser UI only (encrypted with hidden key) |
CLI with optional |
|
Encryption key access |
Managed by n8n, not user-accessible |
Set via |
|
Database access |
Not user-accessible |
Directly accessible (SQLite or PostgreSQL) |
|
Volume copy |
Not applicable |
Supported between Hostinger VPS instances |
Because n8n Cloud encrypts exported credentials with a key you do not have access to, you cannot import them directly into a self-managed VPS. You must recreate all credentials manually after the migration.
Export workflows from n8n Cloud
Download your existing workflows from the n8n Cloud browser interface.
- Log in to your n8n Cloud dashboard.
- Navigate to Settings ❯ Import/Export.
- Select the export option to download all workflows.
- Save the generated
workflows.jsonfile to your local computer.
Document your credentials
Since n8n Cloud credentials cannot be imported directly into a self-managed instance, you must record them manually before decommissioning your Cloud environment.
- In your n8n Cloud dashboard, navigate to Settings ❯ Credentials.
- Review all active connections.
- Manually record the API keys, passwords, and authentication details for each connected service. Keep this information secure.
Import workflows to your Hostinger VPS
Once your n8n instance is running on your Hostinger VPS, import your saved workflows.
- Log in to hPanel and navigate to VPS ❯ Docker Manager.
- Locate your n8n project, and click Open to access the n8n interface.
- Navigate to three dots in the upper right, click to show more options and scroll down to Import from file.
- Upload the
workflows.jsonfile you exported from n8n Cloud.
Reconnect credentials and environment variables
After importing your workflows, recreate and link all credentials to your workflows.
- In the n8n interface, navigate to Credentials.
- Add and configure each credential using the details you recorded earlier.
- Open each imported workflow and select the connection nodes that require credentials.
- Choose the newly created credential from the dropdown menu for each node.
- If any workflows rely on system-level environment variables, add them via VPS ❯ Docker Manager ❯ Manage ❯ Environment variables.
Test the migration
Test your imported workflows to confirm they function correctly in the new environment.
- Open a workflow and click Execute workflow to trigger a manual test run.
- Check the execution output of each node for errors. Webhook URLs will likely point to your old n8n Cloud domain – update the target URLs in your connected third-party services to match your new Hostinger VPS IP address or domain.
- After confirming the execution log shows a success state for all nodes, set the workflow toggle to Active.
NOTE
- Do not activate workflows in bulk. Enable them one at a time and monitor the execution log for each before proceeding.
Your n8n Cloud workflows are now running on your self-managed Hostinger VPS.