# Nightly n8n backup to Google Drive: n8n workflow template

> Started by a clock, and works across Google Drive. 25 steps, 2 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

Source: https://millionrounds.com/workflow/nightly-n8n-backup-to-google-drive (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Documents and files](https://millionrounds.com/workflows?category=Documents+and+files#library)

# Nightly n8n backup to Google Drive

Started by a clock, and works across Google Drive. 25 steps, 2 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fnightly-n8n-backup-to-google-drive)

**25 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**3** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Logic 11 Service 12

The steps in the order they run, from what starts it.

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **PURGE DAYS** Schedule trigger *Starts it*
- 3 **GET CURRENT FOLDER** Google Drive *Service*
- 4 **GET CURRENT FOLDER CREATES1** Google Drive *Service*
- 5 **Code** Code *Logic*
- 6 **LIST OLD BACKUPS** Google Drive *Service*
- 7 **If n8n_old** If *Logic*
- 8 **If1 n8n_backups** If *Logic*
- 9 **you can delete** Code *Logic*
- 10 **Create n8n_old** Google Drive *Service*
- 11 **Merge mensage** Merge *Logic*
- 12 **Create n8n_backups** Google Drive *Service*
- 13 **Item Lists old** Item Lists *Logic*
- 14 **GET CURRENT FOLDER CREATES** Google Drive *Service*
- 15 **Loop Over Items purge** Split In Batches *Logic*
- 16 **IGNORE FILES** Filter *Logic*
- 17 **DELETE OLD BACKUP** Google Drive *Service*
- 18 **GET CURRENT BACKUPS1** Google Drive *Service*
- 19 **Get many workflows** N8n *Service*
- 20 **Item Lists** Item Lists *Logic*
- 21 **Move Binary Data** Move Binary Data *Service*
- 22 **Loop Over Items** Split In Batches *Logic*
- 23 **Loop Over Items current** Split In Batches *Logic*
- 24 **MOVE INTO OLD FOLDER** Google Drive *Service*
- 25 **UPLOAD WORKFLOWS** Google Drive *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 25, with 2 branches, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Google Drive account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 25 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 25 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fnightly-n8n-backup-to-google-drive)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)

## Workflows like it

Also documents and files, with the same services where possible, closest in size first.

- [**Extract text from Google Drive files to Google Sheets** 25 steps · Google Docs, Google Drive](https://millionrounds.com/workflow/extract-text-from-google-drive-files-to-google-sheets)
- [**Document RAG & chat agent: Google Drive to Qdrant with Mistral** 25 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/document-rag-and-chat-agent-google-drive-to-qdrant-with-mist)
- [**Review contract risk and rewrite clauses with Groq** 25 steps · calls a model · Google Drive, Notion](https://millionrounds.com/workflow/review-contract-risk-and-rewrite-clauses-with-groq)
- [**Archive HR and legal documents with UploadToURL** 26 steps · Airtable, Gmail](https://millionrounds.com/workflow/archive-hr-and-legal-documents-with-uploadtourl)
- [**Automate document ingestion & RAG system with Google Drive** 24 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-document-ingestion-and-rag-system-with-google-drive)
- [**Chat with Ollama and Supabase Vector DB** 26 steps · calls a model · Google Drive, Supabase](https://millionrounds.com/workflow/chat-with-ollama-and-supabase-vector-db)
