Local copy

Author Message

Kristoffer Karlsson

Monday 05 March 2007 6:42:04 am

Hi!

I would like to make a local copy of my site for testing purposes.

I have installed ezPublish ver. 3.8 on my local computer (which is the version I use for my site). What folders do I have to copy from the server to get my site running on my local computer?

I hope someone can help me with this or maybe give me a link to a topic in the forum that explains how to do this.

_____________________________________
Blog: http://www.kristofferkarlsson.com
Website: http://www.spelkanalen.com

Michael Maclean

Monday 05 March 2007 7:00:08 am

The easiest thing to do would be to copy the entire site from the server, along with the contents of the database. Then, import the database on your own machine, and edit all the site.ini.append.php files under settings/siteaccess/ to match the database information for your machine.

If you want to know anyway, the important folders are probably var (it's a good idea to clear the cache before you download this one), settings/override, settings/siteaccess, design/, and perhaps extension/ if you have any extensions enabled on your site. Doing it in bits like this though is more likely to go wrong, so just download everything - it'll be far simpler.

eZpedia community documentation project | http://ezpedia.org

Kim Johansen

Monday 05 March 2007 8:33:30 am

Check out this article: http://ez.no/ezpublish/documentation/configuration/backup_restore/move_to_new_provider

Try out Free eZ Publish 4.0 Trial Hosting for 14 days:
http://webdealhosting.com/ez-publish-trial-hosting

High quality eZ Publish Hosting since 2001!

Xavier Dutoit

Monday 05 March 2007 9:15:31 am

If you have to copy between the prod and the dev and the otherway around on a regular basis (eg once you've updated your local design and want to put in in production), rsync comes very handy.

X+

P.S. If I'm right, it only works on modern operating systems (proselytism intended ;)

http://www.sydesy.com

Heath

Monday 05 March 2007 5:24:47 pm

While a more advanced topic of discussion might include the tools and configuration to doing this on a more repeatable basis ... and examples.

I did notice today a set of additions to the ezsvn extension.

Which while an uncommented commit, it clearly shows added improvements for win32 systems to use ezsvn and rsync to mirror an installation.

<i>http://pubsvn.ez.no/websvn/listing.php?repname=community&path=%2F&rev=1536&sc=1</i>

hth

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

eZ debug

Timing: Jan 18 2025 10:27:48
Script start
Timing: Jan 18 2025 10:27:48
Module start 'content'
Timing: Jan 18 2025 10:27:48
Module end 'content'
Timing: Jan 18 2025 10:27:48
Script end

Main resources:

Total runtime0.1447 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.6875180.8438
Module start 'content' 0.00520.0054 768.531397.7578
Module end 'content' 0.01060.1340 866.2891525.9766
Script end 0.1446  1,392.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00342.3443200.0002
Check MTime0.00140.9536200.0001
Mysql Total
Database connection0.00060.393410.0006
Mysqli_queries0.100969.74431410.0007
Looping result0.00140.93931390.0000
Template Total0.133792.410.1337
Template load0.00090.604910.0009
Template processing0.132891.809810.1328
Override
Cache load0.00060.414010.0006
Sytem overhead
Fetch class attribute can translate value0.00100.705710.0010
XML
Image XML parsing0.00030.228810.0003
General
dbfile0.00241.6887200.0001
String conversion0.00000.002830.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