mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Share dir when shadow copy fails
This commit is contained in:
parent
380715f8e1
commit
cd3f9ab012
@ -447,6 +447,11 @@ void IndexThread::operator()(void)
|
||||
Server->Log("done.", LL_DEBUG);
|
||||
if(!b || scd->ref==NULL)
|
||||
{
|
||||
if(scd->fileserv)
|
||||
{
|
||||
shareDir(widen(starttoken), scd->dir, scd->target);
|
||||
}
|
||||
|
||||
contractor->Write("failed");
|
||||
#ifdef _WIN32
|
||||
Server->Log(L"Creating shadowcopy of \""+scd->dir+L"\" failed.", LL_ERROR);
|
||||
@ -638,6 +643,7 @@ void IndexThread::indexDirs(void)
|
||||
#ifdef _WIN32
|
||||
VSSLog(L"Creating shadowcopy of \""+scd->dir+L"\" failed in indexDirs().", LL_ERROR);
|
||||
#endif
|
||||
shareDir(widen(starttoken), scd->dir, scd->target);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user