From 27215d1cbc2d1d1748decb7100ab19eed0e04269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 10 Jul 2008 22:02:38 +0000 Subject: [PATCH] add templates for the new options --- debian/config | 2 ++ debian/templates | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/debian/config b/debian/config index d611ce17..eef12421 100644 --- a/debian/config +++ b/debian/config @@ -173,6 +173,8 @@ db_input low alternc/mysql/db || true db_input low alternc/mysql/user || true db_input low alternc/mysql/password || true db_input low alternc/mysql/client || true +db_input low alternc/sql/backup_type || true +db_input low alternc/sql/overwrite || true db_input low alternc/monitor_ip || true db_input low alternc/bind_internal || true db_input low alternc/mynetwork || true diff --git a/debian/templates b/debian/templates index 41e5a91e..e04e5b2a 100644 --- a/debian/templates +++ b/debian/templates @@ -89,6 +89,24 @@ _Description: The server to GRANT permissions to: to the hostname or IP the Apache server will appear as connecting from to the MySQL server. +Template: alternc/sql/backup_type +Type: select +Choices: rotate, date +_Description: The way backup rotation is executated + AlternC enables users to configure their own backups, on demand, with + automatic rotation. This option determines how the backups are rotated. + . + rotate - backup.sql, backup.sql.0, backup.sql.1 + date - backup.sql, backup.sql.20080709, backup.sql.20080708 + +Template: alternc/sql/backup_overwrite +Type: select +Choices: no, rename, overwrite +_Description: Behavior of the backup script when it encounters a unmanaged file + The SQL backups can rename or overwrite existing files it doesn't know + about when doing backups. The default behavior is to skip those files + and ignore it. + Template: alternc/public_ip Type: string _Description: The primary IP of this server: