Repository navigation
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.
- ✅ Your entire inventory database (all items, locations, settings)
- ✅ All uploaded photos and documents
- ❌ System configuration files (these stay on your server)
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.
- Log in as an Admin
- Go to Admin → Server Settings
- Find the 💾 Google Drive Backup section
- Click Connect Google Drive
- A Google sign-in window will open
- Log in with the Google account you want to use for backups
- Google will ask for permission — review it and click Allow
- 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.
Once Google Drive is connected:
- Go to Admin → Server Settings → Google Drive Backup
- Click Backup Now
- Wait for the backup to complete
- A confirmation message will appear with the backup file name
Backups are saved to a Nestarr folder in your Google Drive.
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:
- Go to Admin → Server Settings → Google Drive Backup
- The Existing Backups list shows all your stored backups with timestamps
- Click the 🔄 refresh icon to reload the list
- Click Delete next to any backup to remove it from Google Drive
Automated restore is not yet available in the UI. To restore manually:
- Download the backup file from your Nestarr folder in Google Drive
- Replace your server's
nestarr.dbfile with the downloaded backup - Restart Nestarr
⚠️ This replaces all current data. Only do this if you need to recover from data loss.
If you want to remove the Google Drive connection:
- Go to Admin → Server Settings → Google Drive Backup
- Click Disconnect
- Confirm
Your backups remain in Google Drive — they are not deleted. Only the connection is removed.
| 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 |