Forums / Setup & design / upgrade site - Export/import of site content ?

upgrade site - Export/import of site content ?

Author Message

Alexandre Cunha

Friday 14 May 2004 9:24:39 am

Looking to a easy way to upgrade a developement site from 3.3-4 to 3.4 beta 1, i found in the "Highlights of eZ publish 3.4" the iten "Export/import of site content".

This seens a solution to export in the 3.3-4 engine and then import the site in the new version.

I cant see any visible options in the admin interfaces to do this.

Can someone point any solution ?

thanks

axel

http://AlexandreCunha.com

Willie Seabrook

Friday 14 May 2004 10:46:27 pm

Hi Axel,

I believe that export/import is only for content classes and not the objects themeselves.

For each version of ezPublish, there are scripts located in

./update/common (for scripts and the like)
./update/database (for db structure and the like)

If all your ini file modifications are done in overrides you should just be able to place the new version over the old version (take a backup first!!!) and then update the database with the appropriate scripts (also take a backup first!!!)

Regards,
Willie

Kåre Køhler Høvik

Sunday 16 May 2004 4:01:25 am

Hi

3.3 only supports import/export of content classes, while the new 3.4 supports import/export of content objects as well ( including binary files, images, etc. )

--
Kåre Høvik

Kåre Høvik

Alexandre Cunha

Sunday 16 May 2004 7:50:38 am

How mature is the import/export in the 3.4 beta 1 ?
Are the packadges (content class definitions) exported in the 3.3-4 compatible with 3.4 beta 1 ?

axel

http://AlexandreCunha.com

Willie Seabrook

Sunday 16 May 2004 2:54:52 pm

Hey Kåre,

I obviously didn't read the 3.4 changelog properly!

What are the new files - I'd like to have a look to find out how they are exported (xml)

How does the export content object etc handle node conflicts? IE if node id's are already taken, or does it just create new ones by default?

Regards,
Willie

Alexandre Cunha

Sunday 16 May 2004 3:25:23 pm

For me, unfortunately import (class and objects) is not working properly.
(3.4.0 beta 1 )
I have reported this bug.

My environment is: windows, php 4.3.4, apache 1.3.27

Willie, have you test this in a diferent environment with diferent results ?

http://AlexandreCunha.com

Willie Seabrook

Sunday 16 May 2004 8:50:06 pm

I havn't tried import/export yet, so you'll have to wait untill an ez Systems guy gets round to replying to this forum.

Whats the bug titled by the way - I'll have a quick look at it.

Regards
Willie

eZ debug

Timing: Jan 18 2025 16:21:14
Script start
Timing: Jan 18 2025 16:21:14
Module start 'content'
Timing: Jan 18 2025 16:21:14
Module end 'content'
Timing: Jan 18 2025 16:21:14
Script end

Main resources:

Total runtime0.1945 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.8438180.8125
Module start 'content' 0.00530.0042 768.656397.9297
Module end 'content' 0.00950.1849 866.5859526.2500
Script end 0.1944  1,392.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.0049200.0002
Check MTime0.00190.9560200.0001
Mysql Total
Database connection0.00050.265310.0005
Mysqli_queries0.144474.21811410.0010
Looping result0.00150.76321390.0000
Template Total0.184694.910.1846
Template load0.00130.681210.0013
Template processing0.183394.214910.1833
Override
Cache load0.00110.548010.0011
Sytem overhead
Fetch class attribute can translate value0.00060.300210.0006
XML
Image XML parsing0.00020.108510.0002
General
dbfile0.00864.4113200.0004
String conversion0.00000.002630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs