SF.net SVN: postfixadmin: [282] trunk/backup.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2007-12-30 19:14:31
|
Revision: 282 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=282&view=rev Author: christian_boltz Date: 2007-12-30 11:14:35 -0800 (Sun, 30 Dec 2007) Log Message: ----------- backup.php - also backup vacation_notification table Reported by Johan Hendriks (sylhouette) - thanks! https://sourceforge.net/tracker/index.php?func=detail&aid=1860193&group_id=191583&atid=937964 Modified Paths: -------------- trunk/backup.php Modified: trunk/backup.php =================================================================== --- trunk/backup.php 2007-12-30 18:49:18 UTC (rev 281) +++ trunk/backup.php 2007-12-30 19:14:35 UTC (rev 282) @@ -72,7 +72,8 @@ { fwrite ($fh, $header); - $tables = array('admin','alias','config','domain','domain_admins','log','mailbox','vacation'); + $tables = array('admin','alias','config','domain','domain_admins','log','mailbox','vacation','vacation_notification'); + # TODO: also backup fetchmail table for ($i = 0 ; $i < sizeof ($tables) ; ++$i) { @@ -115,4 +116,5 @@ unlink ("$backup"); fpassthru ($download_backup); } +/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |