1. Manuel Alejandro
  2. ucg-development-buildout

Commits

Manuel Alejandro  committed 6982a3c

Se agregaron los recipes collective.recipe.backup y z3c.recipe.usercrontab para generar backups periodicamente

  • Participants
  • Parent commits 561b0e6
  • Branches master

Comments (0)

Files changed (2)

File buildout.cfg

View file
     zopeskel
     checkversions
     mkrelease
-
+    repozo
+    backup
+    specialblobbackup
+    ucg-plone-buildout-backup-cronjob
+	
 extends =
     packages.cfg
 
 [mkrelease]
 recipe = zc.recipe.egg
 eggs = jarn.mkrelease
+
+#bin/repozo is a zope script to make backups of your Data.fs
+[repozo]
+recipe = zc.recipe.egg
+eggs = ZODB3
+scripts = repozo
+
+#Easy zope backup/restore recipe for buildout
+[backup]
+recipe = collective.recipe.backup
+location = /var/zopebackup/ucg-plone-buildout
+blobbackuplocation = /var/zopebackup/ucg-plone-buildout-blobs
+snapshotlocation = /var/zopebackup/snapshotbackups
+keep = 0
+debug = true
+
+#Extra buildout part that creates a second set of backup scripts and locations
+[specialblobbackup]
+recipe =  collective.recipe.backup
+blob_storage = ${buildout:directory}/var/someblobstorage
+only_blobs = true
+
+#User Crontab install buildout recipe
+#Se hara un backup del sitio web con el recipe collective.recipe.backup todos los dias a las 12 del medio dia.
+[ucg-plone-buildout-backup-cronjob]
+recipe = z3c.recipe.usercrontab
+times = 0 12 * * *
+command = ${buildout:directory}/bin/backup

File versions.cfg

View file
 #fourdigits.portlet.twitter 0.9.1
 oauth2 = 1.5.211
 
+#Required for backup | Date 09/08/2012
+collective.recipe.backup = 2.5
+
+#Required for user cronjob 09/08/2012
+z3c.recipe.usercrontab = 1.1
+