NinjaOne Backup — Error 312: Backup Repository Root Folder Missing
Audience: T1 / T2 Use when: Backup fails with "Error 312: Existing NinjaOne Backup repository root folder location missing."
What This Error Means
The backups/ninjaone root folder that NinjaOne previously wrote backup data to no longer exists on the NAS. The configured UNC path in NinjaOne points somewhere valid, but the specific folder within it that holds the backup repository is gone.
This is a straightforward configuration fix — the folder needs to be recreated and the backup re-initialized.
Common Causes
| Cause | What Happened |
|---|---|
| NAS was reset or factory restored | Share recreated but the ninjaone subfolder wasn't |
| Someone manually deleted the backup folder | Administrative error on the NAS |
| NAS volume was reformatted | All data lost — start fresh |
| NAS replaced with a new unit | New NAS, new shares — the old path doesn't exist |
Step 1 — Confirm the Folder Is Missing
# Try to list the expected path
Test-Path "\\NAS-HOSTNAME\backups\ninjaone"
# Should return False if Error 312 is accurate
# If True: the folder exists — check NinjaOne path config instead
Step 2 — Recreate the Folder
On Synology:
- Log into DSM → File Station
- Navigate to the
backupsshare - Create a new folder named
ninjaone - Verify the
dtcbackupuser has Read/Write access to this folder (inherits from share if set correctly)
On QNAP:
- Log into QTS → File Manager
- Navigate to the
backupsshare - Create a new folder named
ninjaone - Verify permissions
Via PowerShell (if Windows has admin rights to the NAS):
New-Item -Path "\\NAS-HOSTNAME\backups\ninjaone" -ItemType Directory
Step 3 — Verify NinjaOne Storage Location Config
After recreating the folder:
- NinjaOne → Organization → Backup → Storage Locations
- The path should still read
\\NAS-HOSTNAME\backups\ninjaone - If the NAS hostname changed: update the path
- Re-save the storage location (even if unchanged) to force a re-validation
Step 4 — Trigger a Fresh Backup Run
After the folder is recreated:
- NinjaOne → device → Backup → Run Backup Plan
- NinjaOne will perform a new full backup to the recreated folder (first run takes hours)
- Monitor in Activities tab — confirm success
Note: All previous local revisions are gone if the folder was deleted. Cloud revisions are unaffected.