自動AWS S3→MinIOバックアップ

中級

これはFile Management, Multimodal AI分野の自動化ワークフローで、8個のノードを含みます。主にS3, AwsS3, SplitOut, ScheduleTriggerなどのノードを使用。 自動化AWS S3からMinIOへのオブジェクトバックアップ、スケジュール機能付き

前提条件
  • AWS Access Key と Secret
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "oDayLpms5q2aFCKw",
  "meta": {
    "instanceId": "d62d7a3fb314923e2cdedec19423e9669591b9c9c87901bc9332b7c59c101257"
  },
  "name": "Automatic AWS S3 to MinIO Backup",
  "tags": [],
  "nodes": [
    {
      "id": "8bfa470e-87dc-43eb-96ac-b5e382bae27c",
      "name": "付箋37",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -112,
        624
      ],
      "parameters": {
        "color": 5,
        "width": 192,
        "height": 272,
        "content": "### Configure the Schedule Trigger to follow your needs"
      },
      "typeVersion": 1
    },
    {
      "id": "50efb63f-a9bd-4999-b3f8-70bed12adc26",
      "name": "パス抽出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        400,
        736
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "Key"
      },
      "typeVersion": 1
    },
    {
      "id": "4689dfef-ac4c-4c99-a65d-a4897cf7fd13",
      "name": "オブジェクト一覧取得",
      "type": "n8n-nodes-base.awsS3",
      "position": [
        176,
        736
      ],
      "parameters": {
        "options": {
          "folderKey": "folder/"
        },
        "operation": "getAll",
        "returnAll": true,
        "bucketName": "yourBucket"
      },
      "credentials": {
        "aws": {
          "id": "MSMXVqVXTE3alClo",
          "name": "AWS account"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2,
      "waitBetweenTries": 5000
    },
    {
      "id": "c6e517b0-65a0-4186-bcca-bbc718cfd7a4",
      "name": "オブジェクトダウンロード",
      "type": "n8n-nodes-base.awsS3",
      "position": [
        624,
        736
      ],
      "parameters": {
        "fileKey": "={{ $json.Key }}",
        "bucketName": "yourBucket"
      },
      "credentials": {
        "aws": {
          "id": "MSMXVqVXTE3alClo",
          "name": "AWS account"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2,
      "waitBetweenTries": 5000
    },
    {
      "id": "e3cabe9c-9ec8-4ac9-bc9f-388fe795ab78",
      "name": "スケジュールトリガー",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -64,
        736
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 2,
              "triggerAtMinute": 15
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "cefb5737-2946-4834-b8ed-5603c6af2d32",
      "name": "ローカルMinIOへのオブジェクトアップロード",
      "type": "n8n-nodes-base.s3",
      "position": [
        848,
        736
      ],
      "parameters": {
        "fileName": "={{ $json.Key }}",
        "operation": "upload",
        "bucketName": "yourBucket",
        "additionalFields": {
          "parentFolderKey": "DestinationFolder"
        }
      },
      "credentials": {
        "s3": {
          "id": "p1G9A4UuSXaIH0xy",
          "name": "MinIO S3"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "16138a32-5c59-4aed-b324-6e9c12d33259",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        624
      ],
      "parameters": {
        "color": 5,
        "width": 224,
        "height": 288,
        "content": "### Link your MinIO Bucket and don't forget to specify the folder you want your backup to be in !"
      },
      "typeVersion": 1
    },
    {
      "id": "4502b0cb-9fe7-4901-93d9-993714a912c6",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        448
      ],
      "parameters": {
        "color": 4,
        "width": 640,
        "height": 256,
        "content": "### You'll need to configure an access to the AWS S3 Bucket you need to backup (with endpoint url,  access key and secret key) as well as a MinIO service running on your network (to configure locally with a S3 Node, use the url based on your service IP (http://XXX.XXX.XXX.XXX:9000) and both access and secret keys aswell). Also, in the credentials section of N8N, check 'Force Path Style' & 'Ignore SSL Issues (Insecure)' if MinIO is running on the local network. You're using Proxmox VE ? Create a MinIO LXC Container : https://community-scripts.github.io/ProxmoxVE/scripts?id=minio, it's easier !"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "a69e97d1-1de4-4ed1-b602-57956aff57b7",
  "connections": {
    "4689dfef-ac4c-4c99-a65d-a4897cf7fd13": {
      "main": [
        [
          {
            "node": "50efb63f-a9bd-4999-b3f8-70bed12adc26",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "50efb63f-a9bd-4999-b3f8-70bed12adc26": {
      "main": [
        [
          {
            "node": "c6e517b0-65a0-4186-bcca-bbc718cfd7a4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c6e517b0-65a0-4186-bcca-bbc718cfd7a4": {
      "main": [
        [
          {
            "node": "cefb5737-2946-4834-b8ed-5603c6af2d32",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e3cabe9c-9ec8-4ac9-bc9f-388fe795ab78": {
      "main": [
        [
          {
            "node": "4689dfef-ac4c-4c99-a65d-a4897cf7fd13",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - ファイル管理, マルチモーダルAI

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数8
カテゴリー2
ノードタイプ5
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者
sienna

sienna

@sienna

French's leading offline data preservation startup ! Cloud to Tape, Data Integrity assurance, multi-source backup, ... all automated with N8N ;)

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34