{"id":11911,"date":"2026-06-24T12:19:16","date_gmt":"2026-06-24T12:19:16","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=11911"},"modified":"2026-06-24T12:19:16","modified_gmt":"2026-06-24T12:19:16","slug":"how-to-migrate-n8n-from-n8n-cloud-to-a-hostinger-vps","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-migrate-n8n-from-n8n-cloud-to-a-hostinger-vps\/","title":{"rendered":"How to migrate n8n from n8n Cloud to a Hostinger VPS"},"content":{"rendered":"<p>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.<\/p><h2 id=\"h-before-you-start\">Before you start<\/h2><p>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.<\/p><table style=\"border-collapse: collapse;width: max-content;max-width: 100%\">\n<tbody>\n<tr style=\"background-color: #e3e7fa\">\n<td>\n<p style=\"text-align: center\"><b>Feature<\/b><\/p>\n<\/td>\n<td>\n<p style=\"text-align: center\"><b>n8n Cloud<\/b><\/p>\n<\/td>\n<td>\n<p style=\"text-align: center\"><b>Self-managed VPS<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">CLI access<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Not available<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Available via <code>docker exec<\/code><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">Workflow export<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Browser UI only<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">CLI or browser UI<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">Credential export<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Browser UI only (encrypted with hidden key)<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">CLI with optional <code>--decrypted<\/code> flag<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">Encryption key access<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Managed by n8n, not user-accessible<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Set via <code>N8N_ENCRYPTION_KEY<\/code> environment variable<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">Database access<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Not user-accessible<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Directly accessible (SQLite or PostgreSQL)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">Volume copy<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Not applicable<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Supported between Hostinger VPS instances<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table><p>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.<\/p><h2 id=\"h-export-workflows-from-n8n-cloud\">Export workflows from n8n Cloud<\/h2><p>Download your existing workflows from the n8n Cloud browser interface.<\/p><ol>\n<li>Log in to your n8n Cloud dashboard.<\/li>\n<li>Navigate to <strong>Settings<\/strong> &#10095; <strong>Import\/Export<\/strong>.<\/li>\n<li>Select the export option to download all workflows.<\/li>\n<li>Save the generated <code>workflows.json<\/code> file to your local computer.<\/li>\n<\/ol><h2 id=\"h-document-your-credentials\">Document your credentials<\/h2><p>Since n8n Cloud credentials cannot be imported directly into a self-managed instance, you must record them manually before decommissioning your Cloud environment.<\/p><ol>\n<li>In your n8n Cloud dashboard, navigate to <strong>Settings<\/strong> &#10095; <strong>Credentials<\/strong>.<\/li>\n<li>Review all active connections.<\/li>\n<li>Manually record the API keys, passwords, and authentication details for each connected service. Keep this information secure.<\/li>\n<\/ol><h2 id=\"h-import-workflows-to-your-hostinger-vps\">Import workflows to your Hostinger VPS<\/h2><p>Once your n8n instance is running on your Hostinger VPS, import your saved workflows.<\/p><ol>\n<li>Log in to hPanel and navigate to <strong>VPS<\/strong> &#10095; <strong>Docker Manager<\/strong>.<\/li>\n<li>Locate your n8n project, and click <strong>Open<\/strong> to access the n8n interface.<\/li>\n<li>Navigate to three dots in the upper right, click to show more options and scroll down to&nbsp;<strong>Import from file<\/strong>.<\/li>\n<li>Upload the <code>workflows.json<\/code> file you exported from n8n Cloud.<\/li>\n<\/ol><h2 id=\"h-reconnect-credentials-and-environment-variables\">Reconnect credentials and environment variables<\/h2><p>After importing your workflows, recreate and link all credentials to your workflows.<\/p><ol>\n<li>In the n8n interface, navigate to <strong>Credentials<\/strong>.<\/li>\n<li>Add and configure each credential using the details you recorded earlier.<\/li>\n<li>Open each imported workflow and select the connection nodes that require credentials.<\/li>\n<li>Choose the newly created credential from the dropdown menu for each node.<\/li>\n<li>If any workflows rely on system-level environment variables, add them via <strong>VPS<\/strong> &#10095; <strong>Docker Manager<\/strong> &#10095; <strong>Manage<\/strong>&nbsp;&#10095; <strong>Environment variables<\/strong>.<\/li>\n<\/ol><h2 id=\"h-test-the-migration\">Test the migration<\/h2><p>Test your imported workflows to confirm they function correctly in the new environment.<\/p><ol>\n<li>Open a workflow and click <strong>Execute workflow<\/strong> to trigger a manual test run.<\/li>\n<li>Check the execution output of each node for errors. Webhook URLs will likely point to your old n8n Cloud domain &ndash; update the target URLs in your connected third-party services to match your new Hostinger VPS IP address or domain.<\/li>\n<li>After confirming the execution log shows a success state for all nodes, set the workflow toggle to <strong>Active<\/strong>.<\/li>\n<\/ol><p><strong>NOTE<\/strong><\/p><ul>\n<li>Do not activate workflows in bulk. Enable them one at a time and monitor the execution log for each before proceeding.<\/li>\n<\/ul><p>Your n8n Cloud workflows are now running on your self-managed Hostinger VPS.<\/p><h2 id=\"h-additional-resources\">Additional resources<\/h2><ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><a href=\"https:\/\/docs.n8n.io\/hosting\/cli-commands\/\" target=\"_blank\" rel=\"noopener\">Official n8n CLI commands documentation<\/a><\/li>\n<li><a href=\"https:\/\/www.hostinger.com\/support\/how-to-migrate-n8n-workflows-between-hostinger-vps-instances\/\">How to migrate n8n workflows between Hostinger VPS instances<\/a><\/li>\n<li><a href=\"https:\/\/www.hostinger.com\/support\/7978544-how-to-use-the-browser-terminal-in-hostinger\/\">How to use the Hostinger VPS browser terminal<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Transition your hosted n8n Cloud workflows and recreate credentials on a self-managed Hostinger VPS.<\/p>\n","protected":false},"author":648,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11911","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/11911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/648"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=11911"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/11911\/revisions"}],"predecessor-version":[{"id":11914,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/11911\/revisions\/11914"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=11911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=11911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=11911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}