[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] win32 restore warning on german umlauts


On Mon, 2008-10-13 at 16:42 +0200, Kern Sibbald wrote:
> On Monday 13 October 2008 15:45:23 Ulrich Leodolter wrote:
> > Hello,
> >
> > Today i have built a winbacula-2.5.14.exe (README.mingw32)
> > from svn trunk.  There was one issue in
> > bacula/src/win32/installer/winbacula.nsi,
> > looks like winbacula.nsi is not adapted to new manuals.
> 
> Yes, we still build it with the old manual.
> 
> >
> > After removing the DocumentationGroup from winbacula.nsi
> > the installer build succeeds.
> >
> > After installing winbacula-2.5.14.exe into my VirtualBox Windose
> > (XP SP3) i've run a new Full Backup (using Accurate = yes),
> > this job succeeds without problems.
> >
> > Then i've run a full restore into C:/bacula-restores.
> > this job also terminates OK and number of restored files
> > is identical to previous full backup.
> >
> > But there are a lots of warnings on files and directories
> > using german umlauts.
> 
> I suspect that either your Director is not setup to run UTF-8 (see the 
> manual), or you have some other strange configuration problem -- e.g. perhaps 
> you are not using VSS, though that really should not matter ...
> 

Hello,

I looked a bit closer at the Warning messages and started bacula-fd.exe
with debug level 200.

1) Warning messages are limited to directories containing umlauts at
least in one path part.  Files inside such directories are restored
without warnings.  So this is a first hint.

2) I've attached a restore log for one directory (cut from
bacula-fd.trace)

There u can see 2 messages like: 

FindFirstFile(C:.../): Das System kann die angegebene Datei nicht finden

Maybe the trailing (back)slash should be removed before calling
FindFirstFile.

The msdn Documentation of FindFirstFile says: 
lpFileName [in] 
        
        The directory or path, and the file name, which can include
        wildcard characters, for example, an asterisk (*) or a question
        mark (?). 
        
        This parameter should not be NULL, an invalid string (for
        example, an empty string or a string that is missing the
        terminating null character), or end in a trailing backslash (\).
        

Thanks
Ulrich

> >
> > All warnings look like this:
> >
> > 13-Oct 15:10 leodolter-win-fd JobId 4274:
> > Warning: ../../findlib/mkpath.c:75 Cannot change permissions of
> > C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü:
> > ERR=No such file or directory
> > 13-Oct 15:10 leodolter-win-fd JobId 4274:
> > Warning: ../../findlib/mkpath.c:75 Cannot change permissions of
> > C:/bacula-restores/C/Dokumente und Einstellungen/All
> > Users/Startmenü/Programme/Autostart: ERR=No such file or directory
> >
> >
> > Is it a WARNING, an ERR or a BUG ?
> 
> A warning is a warning, a "minor" but not critical error.
> 
> Regards,
> 
> Kern
> 
> >
> >
> > Thanks
> > Ulrich
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge Build the coolest Linux based applications with Moblin SDK & win
> > great prizes Grand prize is a trip for two to an Open Source event anywhere
> > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Bacula-devel mailing list
> > Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/bacula-devel
> 
> 

-- 
Ulrich Leodolter <ulrich.leodolter@xxxxxxxx>
OBVSG
leodolter-win-fd: ../../filed/restore.c:316-4308 File C:/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/
attrib=A A EH/ B A A A A A A BI8zWs BI8zWr BI8zWc A A M
attribsEx=Q HJLSmleQcg HJLTIZTNRQ HJLSmuMYwQ A A
leodolter-win-fd: ../../findlib/create_file.c:90-4308 type=5 newmode=41ff file=C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/
leodolter-win-fd: ../compat/compat.cpp:198-4308 Enter wchar_win32_path
leodolter-win-fd: ../compat/compat.cpp:382-4308 Leave wchar_win32_path=\
leodolter-win-fd: ../compat/compat.cpp:684-4308 FindFirstFile(C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/):Das System kann die angegebene Datei nicht finden.
leodolter-win-fd: ../compat/compat.cpp:901-4308 sizino=8 ino=0 file=C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/
leodolter-win-fd: ../../findlib/create_file.c:362-4308 Make dir mode=40777 dir=C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/
leodolter-win-fd: ../compat/compat.cpp:684-4308 FindFirstFile(C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/):Das System kann die angegebene Datei nicht finden.
leodolter-win-fd: ../compat/compat.cpp:901-4308 sizino=8 ino=0 file=C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/
leodolter-win-fd: ../compat/compat.cpp:111-4308 Enter convert_unix_to_win32_path
leodolter-win-fd: ../compat/compat.cpp:162-4308 path=\\?\C:\bacula-restores\C\Dokumente und Einstellungen\All Users\Startmenü\Programme\Bacula\Configuration
leodolter-win-fd: ../compat/compat.cpp:171-4308 Leave cvt_u_to_win32_path path=\\?\C:\bacula-restores\C\Dokumente und Einstellungen\All Users\Startmenü\Programme\Bacula\Configuration
leodolter-win-fd: ../../findlib/bfile.c:442-4308 === NOT plugin
leodolter-win-fd: ../../filed/restore.c:345-4308 Outfile=C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/ create_file stat=3
leodolter-win-fd: ../../lib/attr.c:281-4308 drwxrwxrwx   1 0        0                0 2008-10-13 13:48:44  C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/
leodolter-win-fd: ../../filed/restore.c:261-4308 Got hdr: Files=9 FilInx=136 size=136 Stream=12, Win32 GZIP data.
leodolter-win-fd: ../../filed/restore.c:276-4308 Got stream: Win32 GZIP data len=136 extract=1
leodolter-win-fd: ../../filed/restore.c:896-4308 Comp_len=65714 msglen=136
leodolter-win-fd: ../../filed/restore.c:905-4308 Write uncompressed 304 bytes, total before write=7655
leodolter-win-fd: ../../filed/restore.c:1037-4308 Write 304 bytes, JobBytes=7959
leodolter-win-fd: ../../filed/restore.c:261-4308 Got hdr: Files=9 FilInx=137 size=196 Stream=5, Extended attributes.
leodolter-win-fd: ../../filed/restore.c:276-4308 Got stream: Extended attributes len=196 extract=1
leodolter-win-fd: ../../findlib/attribs.c:647-4308 Attribs C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/ = Q HJLSmleQcg HJLTIZTNRQ HJLSmuMYwQ A A
leodolter-win-fd: ../compat/compat.cpp:111-4308 Enter convert_unix_to_win32_path
leodolter-win-fd: ../compat/compat.cpp:162-4308 path=\\?\C:\bacula-restores\C\Dokumente und Einstellungen\All Users\Startmenü\Programme\Bacula\Configuration
leodolter-win-fd: ../compat/compat.cpp:171-4308 Leave cvt_u_to_win32_path path=\\?\C:\bacula-restores\C\Dokumente und Einstellungen\All Users\Startmenü\Programme\Bacula\Configuration
leodolter-win-fd: ../../findlib/attribs.c:686-4308 SetFileTime C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/
leodolter-win-fd: ../../findlib/attribs.c:696-4308 SetFileAtts C:/bacula-restores/C/Dokumente und Einstellungen/All Users/Startmenü/Programme/Bacula/Configuration/
leodolter-win-fd: ../../filed/restore.c:1096-4308 Stop extracting.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.