Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Why getting Deleting folder ... The dir is not empty error?

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
AlKoch



Joined: 09 Mar 2006
Posts: 24

PostPosted: Tue Mar 21, 2006 6:52 pm    Post subject: Why getting Deleting folder ... The dir is not empty error? Reply with quote

Hello,

I am running a Profile that Archives to a subfolder of the Target folder. That is, I am *Backing Up* to d:\Target with a request to Archive to d:\Target\Prior Version. I keep getting the following error message in the log:

2006-03-21 00:54:57 : Deleting folder Q:\Backup Staging\7022\Test Databases\Prior Version\ [Can not delete folder "Q:\Backup Staging\7022\Test Databases\Prior Version\". The directory is not empty.] [ERROR].

Actually, it makes sense that I get the error since the Archive folder always has the prior archive file in it. The real question is why does VV always try to delete a folder that is designated as the Archive folder?

The Archive seems to be created OK, but the attempt to delete an Archive folder that, by definition will not be empty, seems like a bug.

Thank you.

Al Koch
AlKoch@MyRealBoxREMOVEALLTHESECHARS.com
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8769

PostPosted: Tue Mar 21, 2006 10:03 pm    Post subject: Reply with quote

Hello - can you please post your entire profile file (the fsf is a text file) thanks!
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
AlKoch



Joined: 09 Mar 2006
Posts: 24

PostPosted: Wed Mar 22, 2006 12:21 am    Post subject: Reply with quote

Here is the Profile. Thank you. Al Kochj AlKoch@MyRealBoxREMOVEALLTHESECHARS.com

[Settings]
; ******* Source
Source Folder=E:\Documents and Settings\AK.Dom1\Development\Test Databases\
; ******* Target
Target Folder=Q:\Backup Staging\SysD1\Test Databases\
; ******* values for Lock Source: (0=No) (1=Yes)
Lock Source=0
; ******* values for Lock Target: (0=No) (1=Yes)
Lock Target=0
; ******* values for Continue even if sources/targets do not exist: (0=No) (1=Yes)
Continue even if sources/targets do not exist=0
; ******* values for Create sources/targets that do not exist: (0=No) (1=Yes)
Create sources/targets that do not exist=1
Connect to network with default user credentials=0
Connect to network with credentials=0
; *******
Connect network path=
; *******
Connect user=
; *******
Connect password=010101
Disconnect from network when done=0
; *******
Include Subfolders Flags=1
; ******* values for Comparison Type: (0=Size and Timestamp) (1=CRC) (2=Both)
Comparison Type=0
; ******* values for Ignore 2 seconds difference: (0=No) (1=Yes)
Ignore 2 seconds difference=0
; ******* values for Ignore any second difference: (0=No) (1=Yes)
Ignore any second difference=0
; ******* values for Ignore 1 hour difference: (0=No) (1=Yes)
Ignore 1 hour difference=0
CRC Chunk Size in Bytes=0
; ******* values for Ignore File Size: (0=No) (1=Yes)
Ignore File Size=0
; ******* values for Ignore Timestamp: (0=No) (1=Yes)
Ignore Timestamp=0
; ******* values for Execution Method: (0= ) (1=Synchronization) (2=Backup (Mirror Source to Target)) (3=Replication (Augment Target)) (4=Replication (Refresh Target)) (5=Replication (Update Target)) (6=Consolidation)
Execution Method=2
; ******* values for UnatSync: (0=No) (1=Yes)
UnatSync=1
Copy File Permissions=1
Copy File/Folder Permissions=1
Copy File/Folder Auditing=0
Copy File/Folder Owner=0
Do Not Copy File/Folder Data Streams=0
Use Volume Shadow Copy=1
; ******* values for Use Volume Shadow Copy For: (0=Source) (1=Target) (2=Both)
Use Volume Shadow Copy For=0
; ******* values for No empty source/target check: (0=No) (1=Yes)
No empty source/target check=1
; ******* values for Replace newer target files with older source files (backup only): (0=No) (1=Yes)
Replace newer target files with older source files (backup only)=0
Speed=100
Copy Buffer=32768
Flush Buffer=0
; ******* Log File
Log File=C:\Documents and Settings\All Users\Application Data\ViceVersa PRO 2\logSysD1 to Srv1 Backup.log
; ******* values for Empty Log: (0=No) (1=Yes)
Empty Log=0
Log File Size=200
; ******* values for Log Only Summary and Exceptions: (0=No) (1=Yes)
Log Only Summary and Exceptions=1
; ******* values for Monitor Conflicts: (0=No) (1=Yes)
Monitor Conflicts=0
; ******* Sync Tracking Database
Sync Tracking Database=C:\Documents and Settings\All Users\Application Data\ViceVersa PRO 2\vvdb1.tdb
Sync Conflicts=0
; ******* values for SCT: (0=No) (1=Yes)
SCT=1
; ******* values for NSC: (0=No) (1=Yes)
NSC=0
Source-Target Offset=0
; ******* values for Try Copy In Use Files: (0=No) (1=Yes)
Try Copy In Use Files=1
; ******* values for Always Verify CRC: (0=No) (1=Yes)
Always Verify CRC=1
; ******* values for Priority Class: (0=Default) (1=Idle (recommended)) (2=Low) (3=Below Normal) (4=Normal) (5=Above Normal) (6=High) (7=Realtime)
Priority Class=1
; ******* values for Limit Bandwidth: (0=No) (1=Yes)
Limit Bandwidth=0
Bandwidth Value=5
; ******* values for Bandwidth Unit: (0=KB/Sec) (1=MB/Sec)
Bandwidth Unit=1
; ******* values for Scripts Before: (0=No) (1=Yes)
Scripts Before=0
; ******* values for Scripts After: (0=No) (1=Yes)
Scripts After=0
; ******* Source Archive
Source Archive Folder=
; ******* Target Archive
Target Archive Folder=Q:\Backup Staging\SysD1\Test Databases\Prior Version\
; ******* values for Smart Archive: (0=No) (1=Yes)
Smart Archive=0
; ******* values for Move Files To Archive: (0=No) (1=Yes)
Move Files To Archive=1
; ******* values for Archive Conflicts Only: (0=No) (1=Yes)
Archive Conflicts Only=0
Num. Copies=10
Remove Days=0
Append Path=0
Max Archive Size=0
DES=0
; *******
ComEnc String=
[Filters]
; ******* values for Exclude Hidden Files: (0=No) (1=Yes)
Exclude Hidden Files=0
; ******* values for Exclude System Files: (0=No) (1=Yes)
Exclude System Files=0
; ******* values for Exclude Read-Only Files: (0=No) (1=Yes)
Exclude Read-Only Files=0
; *******
Exclude After Date=
; *******
Exclude Before Date=
Exclude Days Ago=0
Exclude Greater than bytes=0
Exclude Smaller than bytes=0
Num. of Filters=9
Filter 0=Include
Filter 1=Testing2.db
Filter 2=
Filter 3=Include
Filter 4=Testing003.db
Filter 5=
Filter 6=Exclude
Filter 7=Thumbs.db
Filter 8=
[FiltersDirs]
Num. of Filters=0
[ArchiveFilters]
Num. of Filters=0
[Subfolder Filters]
; ******* values for Exclude Empty Subfolders: (0=No) (1=Yes)
Exclude Empty Subfolders=0
; ******* values for Exclude Hidden Subfolders: (0=No) (1=Yes)
Exclude Hidden Subfolders=0
; ******* values for Exclude System Subfolders: (0=No) (1=Yes)
Exclude System Subfolders=0
; ******* values for Exclude Read-Only Subfolders: (0=No) (1=Yes)
Exclude Read-Only Subfolders=0
[ViceVersa Profile - File Version 4.0.0]
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8769

PostPosted: Wed Mar 22, 2006 12:33 am    Post subject: Reply with quote

I see you have set the archive folder for target to

Q:\Backup Staging\SysD1\Test Databases\Prior Version\

and the target folder is

Q:\Backup Staging\SysD1\Test Databases\

Since the subfolder Prior Version is not in source, but it is present in target, VV will try to delete it every time.

I recommend that you keep the archive files not under the target folder, but something like
Q:\Backup Staging\SysD1\Test Databases Prior Version\
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
AlKoch



Joined: 09 Mar 2006
Posts: 24

PostPosted: Wed Mar 22, 2006 12:39 am    Post subject: Reply with quote

OK, that makes sense. I guess I was assuming that since the .\Prior Version folder was "special" (in that it was designated as the Archive Target) that VV would handle it differently.

Thank you.
Al Koch
AlKoch@MyRealBoxREMOVEALLTHESECHARS.com
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8769

PostPosted: Wed Mar 22, 2006 12:44 am    Post subject: Reply with quote

You are right. Indeed, for future versions, we are thinking of:

Exclude the archive folder from the source/target with a subfolder exclude filter (ViceVersa could add this filter automatically). If you want you can add it manually and keep the archive folder below target.

OR

Do not allow the archive folder to be a subfolder of source/target.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
AlKoch



Joined: 09 Mar 2006
Posts: 24

PostPosted: Wed Mar 22, 2006 12:47 am    Post subject: Reply with quote

Good stuff! I like the way you guys think.

Thanks again for the prompt responses (and the suggestion of adding an Exclude filter).

Al Koch,
AlKoch@MyRealBoxREMOVEALLTHESECHARS.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: