How to Set Up Automated Backups for Xero Accounting Data to an External Drive for Brisbane Small Businesses
Summary
This guide helps you troubleshoot and resolve: How to Set Up Automated Backups for Xero Accounting Data to an External Drive for Brisbane Small Businesses. Follow the steps below to fix the issue.
Common Causes
Xero is cloud-based accounting software, but relying solely on cloud storage can leave your Brisbane small business vulnerable during internet outages or accidental data deletion. Setting up automated backups to an external drive ensures you maintain a local copy of your financial records for peace of mind and compliance.
Important: Xero does not have a native feature to automatically back up data directly to an external drive. The process below involves manually exporting your reports, then using your operating system's scheduler to automatically copy those exported files to your external drive.
Prerequisites
Before beginning, ensure you have the following:
- An active Xero subscription with administrator access.
- A Windows PC or Mac with a stable internet connection.
- An external USB drive with sufficient storage space.
- The external drive formatted to
NTFS(Windows) orAPFS/Mac OS Extended(Mac).
Step 1: Export Your Xero Data
Because Xero cannot automate exports directly to a local drive, you must first export your reports to a dedicated folder on your computer.
- Log in to your Xero organisation at
https://go.xero.com. - Navigate to the Accounting menu and select Reports.
- Select the financial reports you wish to back up, such as the Profit and Loss or Balance Sheet.
- Set your desired date range and click Update.
- Click the Export button in the top right of the report.
- Select Export to Excel or Export to PDF.
- Save the file to a dedicated folder on your computer, for example:
C:\Users\[YourName]\Documents\Xero Backups.
Step 2: Schedule Automated File Copying (Windows)
To automate moving these exports to your external drive, use the Windows Task Scheduler.
- Press
Windows Key + R, typetaskschd.msc, and pressEnter. - In the Task Scheduler window, click Create Basic Task in the Actions pane.
- Name the task Xero Backup and click Next.
- Select your preferred frequency (e.g., Weekly) and click Next.
- Set the start time and click Next.
- Select Start a program and click Next.
- In the Program/script field, enter:
robocopy - In the Add arguments field, enter your source and destination paths. Example:
"C:\Users\[YourName]\Documents\Xero Backups" "E:\Xero Backups" /E(ReplaceE:with your external drive's letter). - Optional but recommended: In the task properties, select Run whether user is logged on or not and Hidden to prevent a command prompt window from appearing during backups.
- Click Finish to save the task.
Step 3: Schedule Automated File Copying (Mac)
Mac users can use a simple shell script and the cron scheduler to automate backups.
- Open Terminal (found in Applications > Utilities).
- Create a backup script by typing:
nano ~/xero_backup.sh - Enter the following command, replacing
[User]and[DriveName]with your details:rsync -av ~/Documents/Xero\ Backups/ /Volumes/[DriveName]/Xero\ Backups/ - Press
Ctrl + O, thenEnterto save, andCtrl + Xto exit. - Make the script executable:
chmod +x ~/xero_backup.sh - Open the crontab editor:
crontab -e - Add a line to run the script weekly (e.g., every Sunday at 2 AM):
0 2 * * 0 /Users/[User]/xero_backup.sh - Save and exit the editor.
Note: Cron jobs will not run if your Mac is asleep or powered off at the scheduled time. Ensure your computer is awake or adjust your Energy Saver settings accordingly.
Step 4: Verify Your Backups
Automation can fail silently. It is critical to verify that your data is actually reaching the external drive.
- Manually run your scheduled task or script once.
- Open your external drive in File Explorer (Windows) or Finder (Mac).
- Confirm that the most recent Xero export files are present in the backup folder.
- Open one of the files to ensure it is not corrupted.
Step 5: Secure and Manage Your Backup Files
Because Xero exports contain sensitive financial data, take steps to protect your local backups.
- Enable encryption on your external drive (BitLocker on Windows or FileVault on Mac) to protect data if the drive is lost or stolen.
- Consider password-protecting individual Excel or PDF files before backing them up.
- Set a retention policy (for example, keep monthly backups for one year) and manually delete old files to prevent the external drive from filling up.
Troubleshooting
Backup task not running
- Check that the computer is awake and not in sleep mode at the scheduled time.
- Ensure the external drive is plugged in and recognised by the operating system.
- Verify the file paths in your script or task match your current folder structure.
Permission denied errors (Mac)
- Go to System Settings > Privacy & Security > Full Disk Access.
- Ensure Terminal has permission to access your folders.
If you encounter issues configuring your automated backups, you can Open a Ticket with our Brisbane support team.
Still Having Issues?
💻 Open a Ticket