Setup Automated Backup
This guide explains how to set up automated backups for the Apex Home Application Dashboard using N8n. The backups are uploaded to Google Drive, and a notification is sent back to Apex Home.
Prerequisites
- Ensure you have N8n installed and running Documentation.
- Set up Google Drive credentials in N8n.
- Obtain an API key for Apex Home Documentation.
Steps
1. Create a New Workflow
- Open N8n and create a new workflow.
- Add the following nodes to the workflow:
a. Schedule Trigger Node
- Select the Schedule Trigger node from the list of available nodes.
- Configure the desired interval for the backup schedule.

b. Backup Apex Home Data Node
- Select the Apex Home node from the list of available nodes. Select Backup Apex Home Data from Actions.
- Configure the following parameters:
- Credential to connect with
- Resource:
Settings - Operation:
Backup - Backup Password: Enter your own password
- Use your Apex Home API key for credentials.

c. Upload File to Google Drive Node
- Select the Google Drive node from the list of available nodes.
- Configure the following parameters:
- Credential to connect with
- File Name:
backup-{{ $now.format('yyyy-MM-dd-HH-mm-ss') }}.apexor anything else that suits you. - Parent Drive: 'Select your parent drive here'
- Parent Folder:
Select your parent folder here
- Use your Google Drive OAuth2 credentials.

d. Send Notification to Apex Home Node
- Select the Apex Home node from the list of available nodes.
- Configure the following parameters:
- App Name:
Apex Backup - Title:
Daily Backup Created - Text:
Daily backup created and uploaded to Google Drive - HTML:
Daily backup created and uploaded to Google Drive. Click the button below to check - Tags:
Apex Home, Personal, Drive, Backup, Automation - Button Text:
Check Now - Button Link:
={{ $json.webViewLink }}
- App Name:
- Use your Apex Home API key for credentials.

2. Connect the Nodes
- Connect the Schedule Trigger node to the Backup Apex Home Data node.
- Connect the Backup Apex Home Data node to the Upload File to Google Drive node.
- Connect the Upload File to Google Drive node to the Send Notification to Apex Home node.
At this p;oint your workflow should look like this:

3. Activate the Workflow
- Once all nodes are configured and connected, activate the workflow.
Follow these steps to ensure your backups are automated and secure.