Setting agent to include UNC path folders

Hello All,

I have just installed new Urbackup server(1.4) based on Debian 7.6 x64, deployed few agents (WIN7 x64) to backup there local staff , so far so good.
I have deployed on one of our win2k12r2 server agent , tested it local folder works fine , now, we need to backup remote folders on Netapp NAS we have here , First i changed the service context from SYSTEM user to administrative on both local machine and Netapp shares , i added few folders , first i tried with direct UNC path ,next i tried to use map drive point , even tried using mklink ,but i get errors allways same errors under agent logs with following content below
My question what is best practice for current scenario , which is agent backup point to UNC path on remote NAS?
Please advice

Thanks

Starting full file backup...
GetVolumePathName(dir.target, volume_path, MAX_PATH) failed
Creating shadowcopy of "Trainingmovies" failed in indexDirs().
Error getting volume path for Z:\Trainingmovies
Cannot access directory to backup: "Z:\Trainingmovies"
Constructing of filelist of "GFN-SRV-IT01" failed: error - index error
Backup had errors. Deleting partial backup.
Exponential backoff: Waiting at least 40m before next file backup

I only got it to work using UNC paths. I don’t think the share is mapped, if the user is not logged in.

What I did:

  1. Changed the Administrator account such that I can log in as administrator
  2. Logged in as Administrator and browsed to the share. Entered username/password when asked and checked the save checkbox.
  3. Changed the UrBackupBackend service to run as Administrator.
  4. Added the UNC path \\server\share
1 Like

Thanks
finally i managed using mklink to unc path and its works fine
thanks

How did you solve this?
I tried everything still wont work.

Are you trying to do it on a Server or with a client?

This is on a client, which have a unc path to a NAS

I may have fixed UNC paths with the client in 1.4.8.

I was hoping for that as well, but still the same error. (both client and ur backup server running 1.4.8)
So i tried to share a folder with everyone and does not require any login to access files, still the same error.
I tried the same thing on a NAS and i shared a folder with only one text document “test” on a Windows server.
I can access it and read and write but still it cannot be backed up.
I tried:
Z:
\server\testbackupfolder
\192.168.0.10\testbackupfolder\

Server log:

   Errors
19.03.15 16:38
backupcom->AddToSnapshotSet(volume_path, GUID_NULL, &dir->ref->ssetid) failed: EC=VSS_E_OBJECT_NOT_FOUND
Errors
19.03.15 16:38
Creating shadowcopy of "test" failed in indexDirs().
Errors
19.03.15 16:38
Cannot access directory to backup: "\\kmi2008\test" Errorcode: 5 - Ă…tkomst nekad.
Errors
19.03.15 16:38
Constructing of filelist of "LABB" failed: error - index error
Errors
19.03.15 16:38
Backup had errors. Deleting partial backup.

Client Log:

Starting incremental file backup...
Writer MailStore Server has failure state VSS_WS_FAILED_AT_FREEZE with error VSS_E_WRITERERROR_RETRYABLE
Snapshotting failed because of Writer. Retrying in 30s...
Writer MailStore Server has failure state VSS_WS_FAILED_AT_FREEZE with error VSS_E_WRITERERROR_RETRYABLE
Indexing of "Sample Videos" done. 1 filesystem lookups 0 db lookups and 0 db updates
backupcom->AddToSnapshotSet(volume_path, GUID_NULL, &dir->ref->ssetid) failed: EC=VSS_E_OBJECT_NOT_FOUND
Creating shadowcopy of "test" failed in indexDirs().
Cannot access directory to backup: "\\kmi2008\test" Errorcode: 5 - Ă…tkomst nekad.


Constructing of filelist of "LABB" failed: error - index error
Backup had errors. Deleting partial backup.
Exponential backoff: Waiting at least 5h 20m before next file backup

Thanks in advance!