Automatisierte AWS S3 zu MinIO-Sicherung
Dies ist ein File Management, Multimodal AI-Bereich Automatisierungsworkflow mit 8 Nodes. Hauptsächlich werden S3, AwsS3, SplitOut, ScheduleTrigger und andere Nodes verwendet. Automatisierte AWS S3-zu-MinIO-Objekt-Backups mit Planungsfunktion
- •AWS Access Key und Secret
Verwendete Nodes (8)
Kategorie
{
"id": "oDayLpms5q2aFCKw",
"meta": {
"instanceId": "d62d7a3fb314923e2cdedec19423e9669591b9c9c87901bc9332b7c59c101257"
},
"name": "Automatic AWS S3 to MinIO Backup",
"tags": [],
"nodes": [
{
"id": "8bfa470e-87dc-43eb-96ac-b5e382bae27c",
"name": "Haftnotiz37",
"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": "Pfadextraktion",
"type": "n8n-nodes-base.splitOut",
"position": [
400,
736
],
"parameters": {
"options": {},
"fieldToSplitOut": "Key"
},
"typeVersion": 1
},
{
"id": "4689dfef-ac4c-4c99-a65d-a4897cf7fd13",
"name": "Objektauflistung",
"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": "Objekt-Download",
"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": "Zeitplan-Trigger",
"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": "Objekte auf lokalem MinIO hochladen",
"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": "Haftnotiz2",
"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": "Haftnotiz3",
"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
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Dateiverwaltung, Multimodales KI
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
sienna
@siennaFrench's leading offline data preservation startup ! Cloud to Tape, Data Integrity assurance, multi-source backup, ... all automated with N8N ;)
Diesen Workflow teilen