Sunday 14 February 2010 12:59:46 am
Hi Alain, Here what I found: I added this line to /settings/siteaccess/your_siteaccess/cronjob.ini.append.php:
[CronjobSettings]
Scripts[]=workflow.php
Scripts[]=backup_bdd.php <== this line and I did a litle script: #!/bin/bash
cd /home/xxxx/public_html/;
/usr/local/bin/php runcronjobs.php -s your_public_siteaccess;
exit 0
which is run by cron (as frequently you want).
In order to get a backup, you have to click on the "Create DB dump" button. This creates a creation.txt file in /var/your_siteaccess/log/. The dump is created only if this file exists Once the script is run, the dump will be created in /var/your_siteaccess/log/
However, nothing appears in the list of dumps (tab backupbdd).
It's the template design/admin/templates/backupbdd/list.tpl which is supposed to create the list of dumps, but the variable $listebdd (defined in modules/backupbdd/list.php) is empty. That's where I am ... Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
|