AutomationFlowsAI & RAG › Db Backup to Cloud Storage

Db Backup to Cloud Storage

Db Backup To Cloud Storage. Uses executeCommand, awsS3. Manual trigger; 3 nodes.

Manual trigger★☆☆☆☆ complexity3 nodesExecute CommandAWS S3
AI & RAG Trigger: Manual Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "parameters": {
        "interval": 86400
      },
      "name": "Schedule Trigger (Daily)",
      "type": "n8n-nodes-base.interval",
      "typeVersion": 1,
      "position": [
        0,
        300
      ]
    },
    {
      "parameters": {
        "command": "pg_dump -Fc -h localhost -U postgres mydb > /tmp/mydb.bak",
        "options": {}
      },
      "name": "Execute Command (DB Backup)",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "bucketName": "your-s3-bucket",
        "fileName": "mydb-backup-{{ $now }}.bak",
        "binaryData": true,
        "options": {}
      },
      "name": "S3 Upload",
      "type": "n8n-nodes-base.awsS3",
      "typeVersion": 1,
      "position": [
        500,
        300
      ]
    }
  ],
  "connections": {
    "Schedule Trigger (Daily)": {
      "output": [
        [
          {
            "node": "Execute Command (DB Backup)",
            "index": 0
          }
        ]
      ]
    },
    "Execute Command (DB Backup)": {
      "output": [
        [
          {
            "node": "S3 Upload",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Db Backup To Cloud Storage. Uses executeCommand, awsS3. Manual trigger; 3 nodes.

Source: https://github.com/EdgeAgent/n8n-automations/blob/main/db_backup_to_cloud_storage/db_backup_to_cloud_storage.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Automacao_Conteudo_Curiosidades. Uses openai, executeCommand. Manual trigger; 12 nodes.

OpenAI, Execute Command
AI & RAG

Email Attachment To Cloud Storage. Uses googleDrive, imapEmail, httpRequest. Manual trigger; 3 nodes.

Google Drive, Imap Email, HTTP Request
AI & RAG

This self-hosted workflow takes a topic from an n8n form, generates a short multi-scene script with Google Gemini or Anthropic Claude, creates voiceover with Edge TTS, downloads scene images from Poll

Form Trigger, HTTP Request, Execute Command +1
AI & RAG

This is the final piece of the AI content factory. This workflow takes your text-based video scripts and automatically generates high-quality audio voiceovers for each one, turning your text into read

Read Write File, Google Sheets, HTTP Request +2
AI & RAG

This workflow performs automated, periodic backups of objects from an AWS S3 bucket, an Azure Container or a Google Storage Space to a MinIO S3 bucket running locally or on a dedicated container/VM/se

AWS S3, S3, Azure Storage +1