Author |
Message |
altecsole
Joined: 14 Apr 2010 Posts: 14
|
Posted: Wed Mar 27, 2013 4:30 pm Post subject: User System Folders not being deleted from target? |
|
|
I run ViceVersa and VVEngine to backup user data from one server to another. With the new version of VVEngine I've setup a schedule to run when file changes are detected on the source. This runs fine most of the time, but errors when users (for whatever reason) decide to delete My Pictures, My Videos, Favorites etc. folders from their user area. When this happens, the VVEngine log takes much longer to complete and the log shows 'Access is denied [ERROR]' for the offending folders. This also happens if folders with these name are within other folders if, for instance, they've been copied into another folder and then the user deletes that folder from their home folder. The folder then doesn't get deleted from the target, and an error is shown. Any ideas? I can monitor the schedule and manually delete the offending folders from the target, but this is less than ideal. If I don't delete the folders from the target the schedule seems to get bogged down and starts to do full re-sync each time. _________________ UK High School Network Technician |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
altecsole
Joined: 14 Apr 2010 Posts: 14
|
Posted: Thu Mar 28, 2013 12:50 pm Post subject: |
|
|
Many thanks. Here's an example:
2013-03-28 09:43:05 : Connecting to "\\server11" with user "queenelizabeth\software" ... Connected.
2013-03-28 09:43:05 : Using network friendly folder scanning.
2013-03-28 09:43:05 : Checking source \\?\E:\ ...
2013-03-28 09:46:24 : Total found: 23,017
2013-03-28 09:46:24 : Checking target \\?\UNC\server11\E$\ ...
2013-03-28 09:48:27 : Total found: 21,626
2013-03-28 09:48:28 : Comparing ...
2013-03-28 09:49:55 : Comparing done.
2013-03-28 09:49:55 : - Final Status of Scanned File/Folders - *** An incremental (=partial) recomparison of source and target was performed, based on VVEngine detected changes ***
2013-03-28 09:49:55 : - Total Files - Source: 9,331 (13.16GB) - Target: 8,076 (11.23GB)
2013-03-28 09:49:55 : - Excluded Files - Source: 0 (0) - Target: 0 (0)
2013-03-28 09:49:55 : - Matched Files - Source: 7,469 (10.03GB) - Target: 7,469 (10.03GB)
2013-03-28 09:49:55 : - Single Files - Source: 1,450 (2.19GB) - Target: 195 (280.02MB)
2013-03-28 09:49:55 : - Newer Files - Source: 410 (965.72MB) - Target: 2 (1.02MB)
2013-03-28 09:49:55 : - Older Files - Source: 2 (702.79KB) - Target: 410 (951.96MB)
2013-03-28 09:49:55 : - Total Subfolders - Source: 13,686 - Target: 13,550
2013-03-28 09:49:55 : - Excluded Subfolders - Source: 11,165 - Target: 11,158
2013-03-28 09:49:55 : - Matched Subfolders - Source: 2,362 - Target: 2,362
2013-03-28 09:49:55 : - Single Subfolders - Source: 159 - Target: 30
2013-03-28 09:49:55 : - To Do - Backup (Mirror Source to Target)
2013-03-28 09:49:55 : - Files to Add - Source: 0 (0) - Target: 1,450 (2.19GB)
2013-03-28 09:49:55 : - Files to Update - Source: 0 (0) - Target: 412 (966.41MB)
2013-03-28 09:49:55 : - Files to Delete - Source: 0 (0) - Target: 195 (280.02MB)
2013-03-28 09:49:55 : - Subfolders to Add - Source: 0 - Target: 159
2013-03-28 09:49:55 : - Subfolders to Delete - Source: 0 - Target: 30
2013-03-28 09:49:55 :
2013-03-28 09:49:55 : ---- Start Execution ----
2013-03-28 09:49:55 : ---- Backup (Mirror Source to Target) (Source: \\?\E:\ Target: \\?\UNC\server11\E$\) ----
2013-03-28 09:49:55 : ---- Start deleting ----
2013-03-28 09:49:55 : -- Deleting from target ...
2013-03-28 09:49:59 : Deleting folder \\?\UNC\server11\E$\users08\08rory.chapman\My Videos\ with all its subfolders and files [Can not delete folder "\\?\UNC\server11\E$\users08\08rory.chapman\My Videos\" with all its subfolders and files. (\\?\UNC\server11\E$\users08\08rory.chapman\My Videos\): Access is denied.] [ERROR].
2013-03-28 09:49:59 : Deleting folder \\?\UNC\server11\E$\users08\08rory.chapman\My Pictures\ with all its subfolders and files [Can not delete folder "\\?\UNC\server11\E$\users08\08rory.chapman\My Pictures\" with all its subfolders and files. (\\?\UNC\server11\E$\users08\08rory.chapman\My Pictures\Favorites\): Access is denied.] [ERROR].
2013-03-28 09:49:59 : Deleting folder \\?\UNC\server11\E$\users08\08rory.chapman\My Music\ with all its subfolders and files [Can not delete folder "\\?\UNC\server11\E$\users08\08rory.chapman\My Music\" with all its subfolders and files. (\\?\UNC\server11\E$\users08\08rory.chapman\My Music\): Access is denied.] [ERROR].
2013-03-28 09:50:00 : Deleting folder \\?\UNC\server11\E$\users08\08rory.chapman\My Data Sources\ with all its subfolders and files [Can not delete folder "\\?\UNC\server11\E$\users08\08rory.chapman\My Data Sources\" with all its subfolders and files. (\\?\UNC\server11\E$\users08\08rory.chapman\My Data Sources\My Music\My Videos\): Access is denied.] [ERROR].
2013-03-28 09:50:01 : Deleting folder \\?\UNC\server11\E$\users08\08rory.chapman\Favorites\Links\ with all its subfolders and files [Can not delete folder "\\?\UNC\server11\E$\users08\08rory.chapman\Favorites\Links\" with all its subfolders and files. (\\?\UNC\server11\E$\users08\08rory.chapman\Favorites\Links\): Access is denied.] [ERROR].
2013-03-28 09:50:02 : Deleting folder \\?\UNC\server11\E$\users08\08rory.chapman\css\ with all its subfolders and files [Can not delete folder "\\?\UNC\server11\E$\users08\08rory.chapman\css\" with all its subfolders and files. (\\?\UNC\server11\E$\users08\08rory.chapman\css\New Folder (2)\Favorites\): Access is denied.] [ERROR].
2013-03-28 09:50:02 : -- Done: 218 (280.02MB) Err: 7 (0) Skipped: 0 (0) Tot: 225 (280.02MB) --
2013-03-28 09:50:02 : -- Objects Deleted per Second: 36.33 -- Elapsed Time: 6 sec
2013-03-28 09:50:02 : Re-comparing ...
2013-03-28 09:50:02 : ---- Deleting finished ---- _________________ UK High School Network Technician |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
altecsole
Joined: 14 Apr 2010 Posts: 14
|
Posted: Tue Apr 16, 2013 8:56 am Post subject: |
|
|
Sorry for the delay in replying; it's been the half term holiday. Yes, other folder are being deleted. The problem just seems to be with the folders that are automatically created in a user's home folder; My Music, My Pictures, My Videos, Favorites, Favorites\Links. It's even a problem if these folders exist as sub-folders? _________________ UK High School Network Technician |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Wed Apr 17, 2013 7:49 am Post subject: |
|
|
Are the existing folder on the target that can't be deleted marked as read-only or system? Do they have any residual files in it that prevents deletion? _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
altecsole
Joined: 14 Apr 2010 Posts: 14
|
Posted: Wed Apr 17, 2013 8:58 am Post subject: |
|
|
Yes, doing a dir /p /AR shows the following folders as Read Only:
Favorites
My Music
My Pictures
My Videos
There were a couple of pupils who deleted one of more of these folders yesterday and caused the real-time backup to fail to delete from the target. I left the folder and didn't manually delete from the target as I have been doing. For some reason, the nightly backup (not real-time) does manage to delete the folders without error? It uses the same account to connect as the real-time backup. I guess it's not really too big a deal; I can live with it. Thanks. _________________ UK High School Network Technician |
|
Back to top |
|
|
|