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


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@282 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 17 years ago
parent 56968abc0c
commit 481012a2a9

@ -72,7 +72,8 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
{
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 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
unlink ("$backup");
fpassthru ($download_backup);
}
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?>

Loading…
Cancel
Save