WitMovil.El Blog de un DevOps
WitMovil.

Explorando la automatización, la tecnología móvil y la ingeniería de software eficiente.

Sistemas Operativos
Explorar
TechCodeAutomation
Nosotros
Acerca deContactoDonar
Conectar
Nuntius GitHub LinkedIn

© 2026 WitMovil

BY NUNTIUS.DEV

PrivacidadTérminosAnti-Spam

Hecho con Next.js & PocketBase

Volver al inicio

Nightly n8n backup to Google Drive

Jeyson Orozco
Escrito porJeyson Orozco
Ko-fi
20 de octubre de 2024
n8n
Nightly n8n backup to Google Drive

Tabla de Contenido

Toggle
  • Description
  • Prerequisites n8n
  • Configuration

Description

This template creates a nightly backup of all n8n workflows and saves them to a Google Drive folder. Each night, the previous night’s backups are moved to a “n8n_old” folder and renamed with the corresponding date.



Backups older than a specified age are automatically deleted (this feature is active for 30 days, you can remove it if you don’t want the backups to be deleted).

Prerequisites n8n

  • Google Drive account and credentials get from the following link. Link
  • n8n version 1.63.4 or higher
  • N8n API key Guide from the following link. Link
  • A destination folder for backups:
    “n8n_old”
    “n8n_backups”
    (if it doesn’t exist, create it)

Configuration

Update all Google Drive nodes with your credentials.
Edit the Schedule Trigger node with the desired time to run the backup.
If you want to automatically purge old backups.

Edit the “PURGE DAYS” node to specify the age of the backups you want to delete.
Enable the “PURGE DAYS” node and the 3 subsequent nodes.
Enable the workflow to run on the specified schedule.

Download Link