Skip to content

Google Drive Backup

Your Name edited this page Jun 15, 2026 · 3 revisions

Google Drive Backup

Nestarr can automatically back up your inventory database and photos to your Google Drive. This protects your data if your server has a problem.


What Gets Backed Up?

  • ✅ Your entire inventory database (all items, locations, settings)
  • ✅ All uploaded photos and documents
  • ❌ System configuration files (these stay on your server)

Before You Begin

Google Drive backup requires your admin to have set up Google OAuth. If you haven't done that yet, see Admin Settings → Google OAuth Configuration section first.


Connecting Google Drive

  1. Log in as an Admin
  2. Go to Admin → Server Settings
  3. Find the 💾 Google Drive Backup section
  4. Click Connect Google Drive
  5. A Google sign-in window will open
  6. Log in with the Google account you want to use for backups
  7. Google will ask for permission — review it and click Allow
  8. You'll see "✓ Connected to Google Drive" when successful

ℹ️ Nestarr only requests access to files it creates — it cannot see or modify other files in your Google Drive.


Running a Manual Backup

Once Google Drive is connected:

  1. Go to Admin → Server Settings → Google Drive Backup
  2. Click Backup Now
  3. Wait for the backup to complete
  4. A confirmation message will appear with the backup file name

Backups are saved to a Nestarr folder in your Google Drive.


Viewing and Managing Your Backups

Backups appear in your Google Drive under a folder called Nestarr. Each backup is a timestamped file so you can tell them apart.

You can also manage backups directly from Nestarr:

  1. Go to Admin → Server Settings → Google Drive Backup
  2. The Existing Backups list shows all your stored backups with timestamps
  3. Click the 🔄 refresh icon to reload the list
  4. Click Delete next to any backup to remove it from Google Drive

Restoring from a Backup

Automated restore is not yet available in the UI. To restore manually:

  1. Download the backup file from your Nestarr folder in Google Drive
  2. Replace your server's nestarr.db file with the downloaded backup
  3. Restart Nestarr

⚠️ This replaces all current data. Only do this if you need to recover from data loss.


Disconnecting Google Drive

If you want to remove the Google Drive connection:

  1. Go to Admin → Server Settings → Google Drive Backup
  2. Click Disconnect
  3. Confirm

Your backups remain in Google Drive — they are not deleted. Only the connection is removed.


Troubleshooting

Problem Solution
"Failed to connect Google Drive" Make sure your Google account is listed as a test user if OAuth is in testing mode. See Admin Settings.
Backup fails Check that there is enough space in your Google Drive
"Scope has changed" error This is a known issue that is fixed in recent versions — update Nestarr
Drive shows disconnected after server restart Re-connect from the settings page

Clone this wiki locally