Re: Trougleshooting .alb files
"rpu43" <[email protected]> Sat, 30 Jul 2005 16:58:28 -0000
| Newsgroups | gmane.comp.web.pixory |
|---|---|
| Message-ID | <[email protected]> |
I'm talking nonsense. It is not as trivial as that. Joe pretty much said it in: http://groups.yahoo.com/group/pixory-beta/message/681 I tested all by moving my "production images" from a pixory instance on Linux to a development pixory on Windows XP. Maintaning all the albums with text, rotation etc is pretty easy, so that backup works. The backup of the database should work too. But when moving to another machine there is the likelyhood of moving to another imagefolder. I found this to be impossible. I could not copy the database from 1 machine to another with another imagefolder. So you will loose your contacts etc. Loosing the contacts and share information is a bummer IMO. My usage conclusions: -Backup images and albums: easy. -Backup database: easy -Moving images and albums: easy -Moving contact data and other config data: tough and sometimes impossible if changing the structure Alon asked about a procedure: The procedure which works for me: On Linux I create a tar of the image folder(all images and .alb stuff) and the .pixory folder. When untarring I shutdown the appserver (Tomcat, Jetty or whatever) and then put everything back (sometimes removing the pixory.lck.lck file) My conclusions usage and codewise: -I think putting the image folder in the database has a negative effect on migrations. Joe the ALBUM_FACE and PX_CONFIGURATION_VALUE (haven't looked at the hibernate mapping) tables contain the imagefolder (f.i \home\tomcat\pics). When migrating to another imagefolder the database and the images don't match and Pixory refuses to start correctly. Is it an idea to move this value outside of the database (property or whatnot) and make this editable outside of Pixory? Perhaps I oversaw something. In that case I like to know. I'm not sure how much work Hibernate saves you, but it seems such an overkill: hypersonic and hibernate for this amount of data. But I'm a newbie and perhaps I'm not seeing it correctly. Ronald --- In [email protected], "rpu43" <rpu43@y...> wrote: > Moira, > > I can't see why this would not work. The state of Pixory is 1) in the > pictures, 2) in the .alb (your rotation f.i.) and 3) in the Hypersonic > data (under <somedir>/.pixory/data There is no special machine or > directory data stored in this state. And thus a transfer should be > relatively easy. > > But why don't you just try? > Just create a second instance of Pixory on 1 machine (either under > Jetty) or as a Webapp and just try it. This should be rather easy and > in 15 minutes you have your answer. > > regards, > > Ronald > ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hs686ra/M=362329.6886308.7839368.1510227/D=groups/S=1705144708:TM/Y=YAHOO/EXP=1122749916/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/pixory-beta/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/