[daisy] backup tool windows to linux
Parisi, Lou
Lou.Parisi at photomask.com
Tue Sep 25 15:28:29 CDT 2007
I have been doing some local development on my Windows machine and tried
to use the backup tool to migrate the daisy repository and wiki plugins
to a Linux server. The backup tool creates the backup zip files with
back slashes (\) as the path separator on Windows and when this is
expanded on Linux it creates directories like "blobstore\00\06" instead
of creating the original directory structure.
If I just use WinZip and create a zip file of the blobstore directory on
Windows, FTP it to Linux and then expand it, everything works OK.
WinZip uses a forward slash (/) for the path separator even on Windows
so this problem is avoided.
One other additional problem I ran into is that there are also some back
slashes for path designations in the myconfig.xml file so I had to
manually change all of them to forward slashes.
After manually creating all of the zip files that the backup tool would
have created and editing the myconfig.xml file on Windows to only use
forward slashes, the migration worked. I ran all of the restore by hand
running the database dump files created by the backup tool using the
mysql command line and then manually extracting the zip files to the
correct locations.
If the backup tool was modified to use forward slashes as the path
separator in the zip file I believe the backup tool could then be used
to migrate between Windows and Linux.
Thanks for your work on Daisy. It has proven to be very flexible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20070925/f1ae42e2/attachment.htm
More information about the daisy
mailing list