Templates / Nightly n8n backup to Google Drive

Nightly n8n backup to Google Drive

Needs changes

by Jeyson Orozco · 7,867 views · created 2024-10-18 · DevOps

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: Convert to/from binary data, Item Lists (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 25 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Google Drive.

How it runs

Trigger: On a schedule (every day) (plus 1 other trigger).

  1. GET CURRENT FOLDER (Google Drive): work with file folder
  2. GET CURRENT FOLDER CREATES (Google Drive): work with file folder
  3. Code: runs custom JavaScript code
  4. LIST OLD BACKUPS (Google Drive): work with file folder
  5. If: checks a condition and branches into true / false
  6. If: checks a condition and branches into true / false
  7. you can delete (Code): runs custom JavaScript code
  8. Create n8n_old (Google Drive): work with folder
  9. Merge: merges the data from its input branches
  10. Create n8n_backups (Google Drive): work with folder

…plus 13 more steps. See the full node list below.

Services it uses

Google Drive

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • Convert to/from binary data in Move Binary Data: replace with Convert to File or Extract from File.
  • Item Lists (legacy) in Item Lists, Item Lists old: replace with Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used).

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
Convert to/from binary data
Move Binary Data
Convert to File or Extract from File
Item Lists (legacy)
Item Lists, Item Lists old
Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used)

Nodes used (10)

From the author

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 an “n8nold” folder and renamed with the corresponding date. Backups older than a specified…

Excerpt from Jeyson Orozco's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.