Author |
Message |
papyturbo
Joined: 02 Oct 2007 Posts: 23 Location: Paris
|
Posted: Fri Oct 26, 2007 5:43 pm Post subject: [Can not write data. The file could not be accessed.] [ERROR |
|
|
Hi,
I am new to this forum, having tested ViceVersa for a whole month with success, then purchased 3 licences for my 3 PCs (home network, no domain, 2 mobile PCs running Win XP [1 Pro + 1 Home] + 1 tower running Vista Home Premium + 2 Iomega Lan drives, NTFS + Linksys WRT54GX router + 8 port OvisLink switch).
I very much appreciate the quality of this software and its powerful features. Bravo!!!!!!
However, I am beginning to experience more and more errors that prevent backing up files and/or synchronising 2 PCs.
1- [Can not write data. The file could not be accessed.] [ERROR].
This error started a couple of days ago, after I decided to empty some fairly large Outlook Express folders and compress all of these folders. The problem may have nothing to do with this clean up, but this is the only significant recent event that occured just before the first error of this type.
Besides, most but not all errors concern those outlook Express folders (*.dbx files). Recently also, a number of Access databases (*.mdb).
The error is followed by a windows message saying approx. (translated from french version of win.) :
"Windows could not save all data for the file "\\Target drive\targetPath\~vv1.tmp. Data has been lost. This error may be due to a failure in your equipment or network connection. Try to backup this file to another location."
All windows messages show the same "~vv1.tmp" temp. file name.
This looks like a 'volume shadow copy' problem ?
The backup (Mirror source to target) runs from a Win XP NTFS PC to an Iomega StorCenter 300Gb lan drive.
2- [Can not open "\\BOUZIN\Sources\Reed\hotfrog\Application\2007-10-16 HotfrogDataMiner, v1_00_02.zip". The file could not be accessed.] [ERROR].
Looks a bit like the previous error but situation is fairly different.
Here, I set up a profile to synchronize my work (sources + data + docs) between 2 PCs : mobile to tower, for this first run.
First trial failed with the above mentionned error.
The sync is run from the tower (Vista), which could not read some files on the mobile PC (XP).
Most, but not all, files with errors are WinZip compressed files.
From Vista, I could NOT copy or open the concerned files, though I had full access to the source paths.
Checking properly copied files, Vista shows me their attributes, including full details of security - authorisations.
Checking files with errors, it refuses to show any security settings ("You are not authorised to display or change the parameters...")
I cannot access these settings on the original XP Pro machine (unless you help me , and don't understand how, being the one and only user of both PCs, some files may have different authorisations from other files with the same type, in the same folder???
3-Delete errors
This is not so critical, as I have created a VBA macro that
- reads the VV log, searching for deletions,
- deletes the same files with a simple VBA Kill command.
It works when it can read the log, which is
- OK if I DELETE the VV log file after each run,
- fails if I EMPTY the log with a [Ctrl+A] and [Delete], then Save ????
If interested, I will give you that short macro (Excel file).
4-Accented characters
Less critical as well, though annoying.
VV does not seem to recognise some french accented file names, and keeps deleting/copying the same files again and again, even though they have not changed in months.
It does not consider the source as being the same as the target.
Thanx for help.
Etienne |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Sat Oct 27, 2007 1:22 am Post subject: |
|
|
Hello
Thank you for the detailed post.
Quote: | 1- [Can not write data. The file could not be accessed.] [ERROR]. |
This sounds to me like an issue with the network or the NAS equipment. The fact that this error also comes from Windows directly seems like a prove of that. You could try switching on the option "Flush buffer every write.." in the ViceVersa profile settings -> bandwidth, just in case it is a problem with the Windows cache.
Quote: | 2- [Can not open "\\BOUZIN\Sources\Reed\hotfrog\Application\2007-10-16 HotfrogDataMiner, v1_00_02.zip". The file could not be accessed.] [ERROR]. |
Are you already running ViceVersa PRO on Vista "as Administrator" ? Even if you are logged in Vista as admin, Vista will not run program as admin unless you explicitely instruct it ti do so, by selecting "Run as administrator"
The macro is interesting What error message does ViceVersa give when deleting the files?
Quote: | 4-Accented characters |
Strange... could you show me some test cases? Could it be an issue with the backup media ?
thanks! _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
papyturbo
Joined: 02 Oct 2007 Posts: 23 Location: Paris
|
Posted: Mon Oct 29, 2007 9:27 am Post subject: |
|
|
First, thank you for such prompt reply
TGRMN Software wrote: |
Quote: | 1- [Can not write data. The file could not be accessed.] [ERROR]. |
This sounds to me like an issue with the network or the NAS equipment. The fact that this error also comes from Windows directly seems like a prove of that. You could try switching on the option "Flush buffer every write.." in the ViceVersa profile settings -> bandwidth, just in case it is a problem with the Windows cache.
|
Have changed the profile.
Will return with results after some files have been modified and backed up.
TGRMN Software wrote: |
Quote: | 2- [Can not open "\\BOUZIN\Sources\Reed\hotfrog\Application\2007-10-16 HotfrogDataMiner, v1_00_02.zip". The file could not be accessed.] [ERROR]. |
Are you already running ViceVersa PRO on Vista "as Administrator" ? Even if you are logged in Vista as admin, Vista will not run program as admin unless you explicitely instruct it ti do so, by selecting "Run as administrator"
|
Have just tested : FAILED.
Even as administrator, I have no access to those files, from the target machine which runs the synchronisation.
2a- I still have no idea how to access those security options on the Win XP PC (no domain, file properties do NOT show detailed security settings, like on Vista), so I can correct them ?
2b- question: if I run the sync from BOTH machines, i.e.
- run a sync. profile from the mobile PC after I have used it outside (source=mobile, target = tower),
then, later,
- run a similar sync. profile from the tower PC after I have used it and before I go out with the mobile (source = tower, target = mobile),
will that create problems of any kind, since I will have 2 separate databases, one on each machine.
Each database will never "know" that the other profile has been run.
Can the databases be sync.ed together ?
TGRMN Software wrote: |
The macro is interesting What error message does ViceVersa give when deleting the files?
|
See macro code below: standard vba + 1 reference to "Windows script host object model".
In VV log: no error message at all!
VV reports a deleted... OK (but does not check afterwards )
TGRMN Software wrote: |
Quote: | 4-Accented characters |
Strange... could you show me some test cases? Could it be an issue with the backup media ?
thanks! |
Here is an extract from the log.
This profile
- runs on the tower PC @6:00 AM daily
- makes a "mirror" copy of Iomega-300 to Iomega 160 (both LAN drives)
- always reports this sequence of files not modified for years.
Could be an issue with the LAN drives or previous backup software (MS SyncToy).
I will try to cleanup manually every concerned source file, on the source PC, + see if the proble persists. Will report later.
I can even send you a copy of 1 or 2 files, so you check by yourselves?
----------------------
2007-10-29 06:14:44 : ---- Start Execution ----
2007-10-29 06:14:44 : ---- Backup (Mirror Source to Target) (Source: \\IOMEGA002-300GB\NetHDD\ Target: \\IOMEGA001-160\NetHDD\) ----
2007-10-29 06:14:44 : ---- Start deleting ----
2007-10-29 06:14:44 : -- Deleting from target ...
2007-10-29 06:14:45 : Deleting file \\IOMEGA001-160\NetHDD\Backups_BigBouzing\Users\Et\Documents\fluho\Forum Developpez\Access\Contrôle Calendrier d'Access.doc [OK].
2007-10-29 06:14:45 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\All Users\Menu Démarrer\Programmes\DivX\DivX Player\Liens\Guide de l'utilisateur DivX Player.lnk [OK].
2007-10-29 06:14:45 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Favoris\FluHo\Admin\APP - Protection de logiciels, bases de données par un système d'enregistrements et de dépôts.url [OK].
2007-10-29 06:14:45 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Favoris\FluHo\Fournisseurs\Software\Contrôle à distance\Synchronization - BeInSync.url [OK].
2007-10-29 06:14:46 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Mes documents\FluHo\Forum Developpez\Access\Contrôle Calendrier d'Access.doc [OK].
2007-10-29 06:14:46 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_AjoutBoutonRetour.wwt [OK].
2007-10-29 06:14:46 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_AjoutBoutonRetour_Suite.wwt [OK].
2007-10-29 06:14:46 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_AjoutBoutonSuite.wwt [OK].
2007-10-29 06:14:46 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_Page3.wwt [OK].
2007-10-29 06:14:46 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_Page_Article.wwt [OK].
2007-10-29 06:14:46 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_Page_Generale.wwt [OK].
2007-10-29 06:14:46 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\$ModSle_Page_Modele_ArticleDevPro.wwt [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\ModSle_Page_Modele_ArticleDevPro.wwt [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Favoris\_EP\Alternatifs\Clearstream\davduf.net. Affaire Clearstream. Denis Robert l'inculpation de trop...url [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Favoris\FluHo\Admin\APP - Protection de logiciels, bases de données par un système d'enregistrements et de dépôts.url [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Favoris\FluHo\Fournisseurs\Software\Contrôle à distance\Synchronization - BeInSync.url [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Mes documents\EP\Sevres\PLAN SSvres.BAK [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Mes documents\FluHo\Forum Developpez\Access\Contrôle Calendrier d'Access.doc [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_AjoutBoutonRetour.wwt [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_AjoutBoutonRetour_Suite.wwt [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_AjoutBoutonSuite.wwt [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_Page3.wwt [OK].
2007-10-29 06:14:47 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_Page_Article.wwt [OK].
2007-10-29 06:14:48 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModSle_Page_Generale.wwt [OK].
2007-10-29 06:14:48 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\$ModSle_Page_Modele_ArticleDevPro.wwt [OK].
2007-10-29 06:14:48 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\ModSle_Page_Modele_ArticleDevPro.wwt [OK].
2007-10-29 06:14:48 : Deleting file \\IOMEGA001-160\NetHDD\Backups_Tibouzin\Documents and settings\All Users\Menu Démarrer\Programmes\DivX\DivX Player\Liens\Guide de l'utilisateur DivX Player.lnk [OK].
2007-10-29 06:14:48 : -- Done: 27 (643,91KB) Err: 0 (0) Skipped: 0 (0) Tot: 27 (643,91KB) --
2007-10-29 06:14:48 : -- Objects Deleted per Second: 9.00 -- Elapsed Time: 3 sec
2007-10-29 06:14:48 : Re-comparing ...
2007-10-29 06:14:48 : ---- Deleting finished ----
2007-10-29 06:14:48 : ---- Start copying ----
2007-10-29 06:14:48 : -- Copying to target...
2007-10-29 06:14:49 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_BigBouzing\Users\Et\Documents\fluho\Forum Developpez\Access\Contrôle Calendrier d’Access.doc <to> \\IOMEGA001-160\NetHDD\Backups_BigBouzing\Users\Et\Documents\fluho\Forum Developpez\Access\Contrôle Calendrier d’Access.doc (39,50KB) ... CRC check ... [OK].
2007-10-29 06:14:50 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Documents and Settings\All Users\Menu Démarrer\Programmes\DivX\DivX Player\Liens\Guide de l’utilisateur DivX Player.lnk <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\All Users\Menu Démarrer\Programmes\DivX\DivX Player\Liens\Guide de l’utilisateur DivX Player.lnk (194B) ... CRC check ... [OK].
2007-10-29 06:14:50 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Favoris\FluHo\Admin\APP - Protection de logiciels, bases de données par un système d’enregistrements et de dépôts.url <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Favoris\FluHo\Admin\APP - Protection de logiciels, bases de données par un système d’enregistrements et de dépôts.url (134B) ... CRC check ... [OK].
2007-10-29 06:14:51 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Favoris\FluHo\Fournisseurs\Software\Contrôle à distance\Synchronization — BeInSync.url <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Favoris\FluHo\Fournisseurs\Software\Contrôle à distance\Synchronization — BeInSync.url (249B) ... CRC check ... [OK].
2007-10-29 06:14:51 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Identities\{D800CDF9-1FC4-42DD-9F80-50617716A146}\Microsoft\Outlook Express\_Spam.dbx <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Identities\{D800CDF9-1FC4-42DD-9F80-50617716A146}\Microsoft\Outlook Express\_Spam.dbx (136,11KB) (Overwriting) ... ... CRC check ... [OK].
2007-10-29 06:14:52 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Identities\{D800CDF9-1FC4-42DD-9F80-50617716A146}\Microsoft\Outlook Express\Boîte d'envoi.dbx <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Identities\{D800CDF9-1FC4-42DD-9F80-50617716A146}\Microsoft\Outlook Express\Boîte d'envoi.dbx (826,71KB) (Overwriting) ... ... CRC check ... [OK].
2007-10-29 06:14:55 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Identities\{D800CDF9-1FC4-42DD-9F80-50617716A146}\Microsoft\Outlook Express\Boîte de réception.dbx <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Identities\{D800CDF9-1FC4-42DD-9F80-50617716A146}\Microsoft\Outlook Express\Boîte de réception.dbx (14,38MB) (Overwriting) ... ... CRC check ... [OK].
2007-10-29 06:15:08 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Microsoft\Outlook\archive.pst <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Microsoft\Outlook\archive.pst (1,47MB) (Overwriting) ... ... CRC check ... [OK].
2007-10-29 06:15:10 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Microsoft\Outlook\Outlook.pst <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Local Settings\Application Data\Microsoft\Outlook\Outlook.pst (9,95MB) (Overwriting) ... ... CRC check ... [OK].
2007-10-29 06:15:20 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Mes documents\FluHo\Forum Developpez\Access\Contrôle Calendrier d’Access.doc <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Documents and Settings\Etienne PAILLERET\Mes documents\FluHo\Forum Developpez\Access\Contrôle Calendrier d’Access.doc (39,50KB) ... CRC check ... [OK].
2007-10-29 06:15:20 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonRetour.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonRetour.wwt (30,30KB) ... CRC check ... [OK].
2007-10-29 06:15:21 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonRetour_Suite.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonRetour_Suite.wwt (35,09KB) ... CRC check ... [OK].
2007-10-29 06:15:21 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonSuite.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonSuite.wwt (3,29KB) ... CRC check ... [OK].
2007-10-29 06:15:22 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page3.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page3.wwt (34,95KB) ... CRC check ... [OK].
2007-10-29 06:15:22 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page_Article.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page_Article.wwt (4,59KB) ... CRC check ... [OK].
2007-10-29 06:15:22 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page_Generale.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page_Generale.wwt (13,32KB) ... CRC check ... [OK].
2007-10-29 06:15:22 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\$ModŠle_Page_Modele_ArticleDevPro.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\$ModŠle_Page_Modele_ArticleDevPro.wwt (39B) ... CRC check ... [OK].
2007-10-29 06:15:22 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\ModŠle_Page_Modele_ArticleDevPro.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\ModŠle_Page_Modele_ArticleDevPro.wwt (12,37KB) ... CRC check ... [OK].
2007-10-29 06:15:22 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Favoris\_EP\Alternatifs\Clearstream\davduf.net. Affaire Clearstream. Denis Robert l’inculpation de trop...url <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Favoris\_EP\Alternatifs\Clearstream\davduf.net. Affaire Clearstream. Denis Robert l’inculpation de trop...url (231B) ... CRC check ... [OK].
2007-10-29 06:15:23 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Favoris\FluHo\Admin\APP - Protection de logiciels, bases de données par un système d’enregistrements et de dépôts.url <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Favoris\FluHo\Admin\APP - Protection de logiciels, bases de données par un système d’enregistrements et de dépôts.url (134B) ... CRC check ... [OK].
2007-10-29 06:15:23 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Favoris\FluHo\Fournisseurs\Software\Contrôle à distance\Synchronization — BeInSync.url <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Favoris\FluHo\Fournisseurs\Software\Contrôle à distance\Synchronization — BeInSync.url (249B) ... CRC check ... [OK].
2007-10-29 06:15:23 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Mes documents\EP\Sevres\PLAN SŠvres.BAK <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Mes documents\EP\Sevres\PLAN SŠvres.BAK (255,09KB) ... CRC check ... [OK].
2007-10-29 06:15:24 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Mes documents\FluHo\Forum Developpez\Access\Contrôle Calendrier d’Access.doc <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Documents and Settings\papyturbo\Mes documents\FluHo\Forum Developpez\Access\Contrôle Calendrier d’Access.doc (39,50KB) ... CRC check ... [OK].
2007-10-29 06:15:24 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonRetour.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonRetour.wwt (30,30KB) ... CRC check ... [OK].
2007-10-29 06:15:25 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonRetour_Suite.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonRetour_Suite.wwt (35,09KB) ... CRC check ... [OK].
2007-10-29 06:15:25 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonSuite.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_AjoutBoutonSuite.wwt (3,29KB) ... CRC check ... [OK].
2007-10-29 06:15:25 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page3.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page3.wwt (34,95KB) ... CRC check ... [OK].
2007-10-29 06:15:25 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page_Article.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page_Article.wwt (4,59KB) ... CRC check ... [OK].
2007-10-29 06:15:25 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page_Generale.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ModŠle_Page_Generale.wwt (13,32KB) ... CRC check ... [OK].
2007-10-29 06:15:26 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\$ModŠle_Page_Modele_ArticleDevPro.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\$ModŠle_Page_Modele_ArticleDevPro.wwt (39B) ... CRC check ... [OK].
2007-10-29 06:15:26 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\ModŠle_Page_Modele_ArticleDevPro.wwt <to> \\IOMEGA001-160\NetHDD\Backups_Bouzin_April2007\Sources\WinDev\Mes Sites\Sites\PapyTurbo_cWarin\ArticleDevPro\ModŠle_Page_Modele_ArticleDevPro.wwt (12,37KB) ... CRC check ... [OK].
2007-10-29 06:15:26 : Copying file \\IOMEGA002-300GB\NetHDD\Backups_Tibouzin\Documents and settings\All Users\Menu Démarrer\Programmes\DivX\DivX Player\Liens\Guide de l’utilisateur DivX Player.lnk <to> \\IOMEGA001-160\NetHDD\Backups_Tibouzin\Documents and settings\All Users\Menu Démarrer\Programmes\DivX\DivX Player\Liens\Guide de l’utilisateur DivX Player.lnk (1,27KB) ... CRC check ... [OK].
2007-10-29 06:15:27 : -- Done: 32 (27,36MB) Err: 0 (0) Skipped: 0 (0) Tot: 32 (27,36MB) --
2007-10-29 06:15:27 : -- Average Transfer Rate: 749,34KB/Sec -- Elapsed Time: 37 sec
2007-10-29 06:15:27 : Re-comparing ...
2007-10-29 06:15:27 : ---- Copying finished ----
2007-10-29 06:15:27 : ---- End ----
2007-10-29 06:15:27 : - Execution Summary -
2007-10-29 06:15:27 : - Added Files - Source: 0 (0) - Target: 27 (643,91KB)
2007-10-29 06:15:27 : - Updated Files - Source: 0 (0) - Target: 5 (26,73MB)
2007-10-29 06:15:27 : - Deleted Files - Source: 0 (0) - Target: 27 (643,91KB)
2007-10-29 06:15:27 : - Added Subfolders - Source: 0 - Target: 0
2007-10-29 06:15:27 : - Deleted Subfolders - Source: 0 - Target: 0
2007-10-29 06:15:27 : - Status Summary -
2007-10-29 06:15:27 : - Total Files - Source: 56 704 (38,81GB) - Target: 56 704 (38,81GB)
2007-10-29 06:15:27 : - Excluded Files - Source: 0 (0) - Target: 0 (0)
2007-10-29 06:15:27 : - Matched Files - Source: 56 704 (38,81GB) - Target: 56 704 (38,81GB)
2007-10-29 06:15:27 : - Single Files - Source: 0 (0) - Target: 0 (0)
2007-10-29 06:15:27 : - Newer Files - Source: 0 (0) - Target: 0 (0)
2007-10-29 06:15:27 : - Older Files - Source: 0 (0) - Target: 0 (0)
2007-10-29 06:15:27 : - Total Subfolders - Source: 7 681 - Target: 7 680
2007-10-29 06:15:27 : - Excluded Subfolders - Source: 1 - Target: 0
2007-10-29 06:15:27 : - Matched Subfolders - Source: 7 680 - Target: 7 680
2007-10-29 06:15:27 : - Single Subfolders - Source: 0 - Target: 0
2007-10-29 06:15:27 : Exit Code: 0. OK.
----------------------
Appendix 1- This simple code
- reads a ViceVersa log file,
- searches it for deletions
- rports if they were already deleted, or
- deletes the files again
- reports result into its own log.
Public Sub TestLanDeletion2()
Dim FileContents() As String
'Const LogPath = "C:\Documents and Settings\All Users\Application Data\ViceVersa PRO 2\"
Dim LogPath As String
'Const LogName = "Bouzin.log" '"NetDrivesMirror.log"
Dim LogName As String
Const DeleteLogName = "Bouzin - deletions.log"
Dim LinePointer As Long
Dim EndPointer As Long
Dim FileToDelete As String
Dim LogForAppend As TextStream
LogPath = Range("LogPath").Value
LogName = ActiveCell.Value
If LogPath = "" Then
Range("LogPath").Select
MsgBox "Please enter the path to ViceVersa logs, then click again."
Exit Sub
ElseIf LogName = "" Then
MsgBox "Select the log file to be deleted, then click again."
Exit Sub
ElseIf Dir(LogPath & LogName) = "" Then
MsgBox "File not found :" & vbCrLf & _
LogPath & LogName & vbCrLf & _
"Please check path & log file name."
Exit Sub '===========================
End If
FileContents = LireFichier(LogPath & LogName)
Set LogForAppend = AppendToFile(LogPath & DeleteLogName)
LogForAppend.WriteLine Format(Now, "yyyy-mm-dd hh:nn:ss") & " --------- fluho - check file deletions in " & LogName & " -------------------------"""
For LinePointer = 0 To UBound(FileContents) - 1
Debug.Print FileContents(LinePointer)
If Mid(FileContents(LinePointer), 23, 14) = "Deleting file " Then
FileToDelete = Mid(FileContents(LinePointer), 37, Len(FileContents(LinePointer)) - 42)
LogForAppend.WriteLine Format(Now, "yyyy-mm-dd hh:nn:ss") & " > checking > " & FileContents(LinePointer)
'Debug.Print "["; FileToDelete; "]"
'Debug.Print Dir(FileToDelete)
If Dir(FileToDelete) > "" Then
Kill FileToDelete
'Debug.Print Dir(FileToDelete)
If Dir(FileToDelete) = "" Then
Debug.Print "now deleted OK"
LogForAppend.WriteLine Format(Now, "yyyy-mm-dd hh:nn:ss") & " now deleted OK"
Else
Debug.Print "**** failure to delete file"
LogForAppend.WriteLine Format(Now, "yyyy-mm-dd hh:nn:ss") & " **** failure to delete file"
End If
Else
Debug.Print " previously deleted on " & Left(FileContents(LinePointer), 20)
LogForAppend.WriteLine Format(Now, "yyyy-mm-dd hh:nn:ss") & " previously deleted OK."
End If
Else
End If
Next
LogForAppend.WriteLine Format(Now, "yyyy-mm-dd hh:nn:ss") & " --------- end of fluho file deletion checker -------------------------"
LogForAppend.Close
Set LogForAppend = Nothing
'open the log for control
Shell "Notepad " & Chr(34) & LogPath & DeleteLogName & Chr(34), vbNormalFocus
'''Application.Quit '>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
End Sub
Function LireFichier(ByVal sPath As String) As String()
Dim fso As FileSystemObject
Dim fFile As File
Dim ts As TextStream
Dim result As String
Set fso = CreateObject("Scripting.FileSystemObject")
Set fFile = fso.GetFile(sPath)
Set ts = fFile.OpenAsTextStream(ForReading)
result = ts.ReadAll
'convert from Unicode to ascii
result = StrConv(result, vbFromUnicode)
LireFichier = Split(result, vbCrLf)
ts.Close
Set ts = Nothing
Set fFile = Nothing
Set fso = Nothing
End Function
Function AppendToFile(ByVal sPath As String) As TextStream
Dim fso As FileSystemObject
Dim fFile As File
Dim ts As TextStream
Dim result As String
Set fso = CreateObject("Scripting.FileSystemObject")
On Error GoTo NotThere
Set fFile = fso.GetFile(sPath)
On Error GoTo 0
Set AppendToFile = fFile.OpenAsTextStream(ForAppending)
Finally:
Set fso = Nothing
Exit Function '===================
NotThere:
' 53 Fichier introuvable
If Err = 53 Then
Set AppendToFile = fso.CreateTextFile(sPath)
Resume Finally
End If
Debug.Print Err; Err.Description
With Err
.Raise .Number, .Source, .Description, .HelpFile, .HelpContext
End With
End Function
|
|
Back to top |
|
|
|
|
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
|