What's necessary in the backup?

Author Message

K259

Wednesday 04 January 2006 1:26:28 am

Do I have to include var/cache in the backup? Or is it just ok with:
/var/log
/var/storage

Just want to get this confirmed, so I don't miss anything.

Gabriel Ambuehl

Wednesday 04 January 2006 1:43:25 am

cache isn't needed, it will get regenerated when you restore from backup.

Take care to store everything but cache in var though.

Visit http://triligon.org

J-A Eberhard

Wednesday 04 January 2006 2:42:38 am

You can use this contrib and set a cronjob for it
http://ez.no/community/contribs/3rd_party/ezpublish_site_backup_script

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Nabil Alimi

Wednesday 04 January 2006 6:38:42 am

Hi,

What do you exactly want to back up ?

Because backuping the var directory will basically only save images, files etc... uploaded via the admin interface (or via front-office if your site is design for this purpose).

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Per-Espen Kindblad

Wednesday 04 January 2006 6:51:23 am

I want to backup up everything I need if the disk get destroyed, but not cache which I can compile through the eztc script.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 11:49:10
Script start
Timing: Jan 19 2025 11:49:10
Module start 'layout'
Timing: Jan 19 2025 11:49:10
Module start 'content'
Timing: Jan 19 2025 11:49:11
Module end 'content'
Timing: Jan 19 2025 11:49:11
Script end

Main resources:

Total runtime1.2657 sec
Peak memory usage4,096.0000 KB
Database Queries69

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1563152.6250
Module start 'layout' 0.00630.0038 741.781339.4453
Module start 'content' 0.01011.2542 781.2266667.8594
Module end 'content' 1.26430.0014 1,449.085912.4766
Script end 1.2657  1,461.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2525160.0002
Check MTime0.00120.0987160.0001
Mysql Total
Database connection0.00080.066210.0008
Mysqli_queries1.204695.1663690.0175
Looping result0.00080.0625670.0000
Template Total1.228697.120.6143
Template load0.00200.156820.0010
Template processing1.226696.907720.6133
Template load and register function0.00020.017210.0002
states
state_id_array0.00130.105610.0013
state_identifier_array0.00230.179520.0011
Override
Cache load0.00160.1277220.0001
Sytem overhead
Fetch class attribute can translate value0.00080.066450.0002
Fetch class attribute name0.00130.105580.0002
XML
Image XML parsing0.00360.285250.0007
class_abstraction
Instantiating content class attribute0.00000.001080.0000
General
dbfile0.00290.2330240.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs