Andreas Tille
2015-02-09 10:30:30 UTC
Author: tille
Date: 2015-02-09 10:30:29 +0000 (Mon, 09 Feb 2015)
New Revision: 18743
Modified:
trunk/packages/gnumed-server/trunk/debian/changelog
trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf
trunk/packages/gnumed-server/trunk/debian/conf/gnumed-restore.conf
Log:
Update config files according to upstream
Modified: trunk/packages/gnumed-server/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/changelog 2015-02-09 09:54:38 UTC (rev 18742)
+++ trunk/packages/gnumed-server/trunk/debian/changelog 2015-02-09 10:30:29 UTC (rev 18743)
@@ -1,3 +1,9 @@
+gnumed-server (20.2-2) UNRELEASED; urgency=medium
+
+ * debian/config: Update config files according to upstream
+
+ -- Andreas Tille <***@debian.org> Mon, 09 Feb 2015 11:29:50 +0100
+
gnumed-server (20.2-1) experimental; urgency=medium
* New upstream version
Modified: trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf 2015-02-09 09:54:38 UTC (rev 18742)
+++ trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf 2015-02-09 10:30:29 UTC (rev 18743)
@@ -1,7 +1,4 @@
#------------------------------------------------------------
-# $Source: /sources/gnumed/gnumed/gnumed/client/etc/gnumed/gnumed-backup.conf.example,v $
-# $Id: gnumed-backup.conf.example,v 1.3 2009/01/08 21:12:28 ncq Exp $
-#------------------------------------------------------------
#
# This is a shell fragment sourced by backup shell scripts.
#
@@ -12,28 +9,28 @@
# password you will have to configure that using a .pgpass
# file (see the PG manual for how to do that):
#
-# http://www.postgresql.org/docs/9.1/static/libpq-pgpass.html
+# http://www.postgresql.org/docs/current/static/libpq-pgpass.html
#------------------------------------------------------------
#------------------------------------------------------------
-# those need to be changed in most if not all cases
+# the following need to be changed in most if not all cases
#------------------------------------------------------------
# options for *taking* backups:
# identify the logical/business-level owner of this
# GNUmed database instance, such as "ACME GP Office",
-# do not use spaces: "ACME_GP_Offices"
+# BUT do not use spaces, rather say: "ACME_GP_Offices"
INSTANCE_OWNER="GNUmed_Team"
# where to eventually store the backup
BACKUP_DIR="/var/lib/gnumed/server/backups"
# which database to backup
-GM_DATABASE="gnumed_v18"
+GM_DATABASE="gnumed_v20"
# user/group the backup is eventually owned by
-BACKUP_OWNER="$USER.$USER"
+BACKUP_OWNER="$USER:$USER"
# options for *offsiting* backups:
@@ -103,55 +100,3 @@
GNOTARY_TAN="free"
#============================================================
-# $Log: gnumed-backup.conf.example,v $
-# Revision 1.3 2009/01/08 21:12:28 ncq
-# - remove /bin/bash
-#
-# Revision 1.2 2008/12/01 12:11:22 ncq
-# - bump db version
-#
-# Revision 1.1 2008/08/28 15:11:48 ncq
-# - moved here
-#
-# Revision 1.13 2008/08/01 10:08:49 ncq
-# - /bin/sh -> /bin/bash
-#
-# Revision 1.12 2008/01/07 19:45:11 ncq
-# - bump db version
-#
-# Revision 1.11 2007/12/02 11:42:48 ncq
-# - improved docs
-# - add options for moving backups offsite
-#
-# Revision 1.10 2007/10/22 12:37:02 ncq
-# - default database change
-#
-# Revision 1.9 2007/09/24 18:25:45 ncq
-# - VERIFY_TAR
-#
-# Revision 1.8 2007/06/11 20:14:59 ncq
-# - bump database version
-#
-# Revision 1.7 2007/06/05 14:57:03 ncq
-# - add compression level variable
-#
-# Revision 1.6 2007/05/17 15:14:54 ncq
-# - better default backup target dir in line with the rest of GNUmed
-#
-# Revision 1.5 2007/05/14 21:28:09 ncq
-# - better docs
-# - add GM_HOST
-#
-# Revision 1.4 2007/05/07 08:00:52 ncq
-# - default backup location $HOME rather than /
-#
-# Revision 1.3 2007/05/01 19:40:08 ncq
-# - add URL
-#
-# Revision 1.2 2007/05/01 16:45:24 ncq
-# - improved
-#
-# Revision 1.1 2007/05/01 16:34:45 ncq
-# - needed by gm-backup_database.sh
-#
-#
\ No newline at end of file
Modified: trunk/packages/gnumed-server/trunk/debian/conf/gnumed-restore.conf
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/conf/gnumed-restore.conf 2015-02-09 09:54:38 UTC (rev 18742)
+++ trunk/packages/gnumed-server/trunk/debian/conf/gnumed-restore.conf 2015-02-09 10:30:29 UTC (rev 18743)
@@ -1,6 +1,5 @@
#------------------------------------------------------------
-# $Source: /sources/gnumed/gnumed/gnumed/client/etc/gnumed/gnumed-restore.conf.example,v $
-# $Id: gnumed-restore.conf.example,v 1.2 2009/01/08 21:12:42 ncq Exp $
+# GNUmed database restore configuration
#------------------------------------------------------------
#
# this is a shell fragment used by gm-restore_from_backup.sh
@@ -12,38 +11,24 @@
# have to configure that using a .pgpass file (see the PG
# manual for how to do that)
#
-# http://www.postgresql.org/docs/9.1/static/libpq-pgpass.html
+# http://www.postgresql.org/docs/current/static/libpq-pgpass.html
#
#------------------------------------------------------------
-# if your PostgreSQL server is running on another port
+# if your PostgreSQL server is running on different port
+# then you need to configure that here,
+# note that setting PGPORT elsewhere doesn't cut it
GM_PORT="5432"
# set this to a writable directory on a drive where
# there is plenty of disk space available
-WORK_DIR_BASE="${HOME}/gnumed"
+WORK_DIR_BASE="/tmp/gnumed"
# where to store log files,
# note that if you chose to write logs to the work
-# directory they will get lost during cleanup if the
+# directory they may get lost during cleanup if the
# restore process succeeds
-LOG_BASE="."
+LOG_TS=`date +%Y-%m-%d`
+LOG_BASE="${HOME}/.gnumed/logs/restore-${LOG_TS}"
#============================================================
-# $Log: gnumed-restore.conf.example,v $
-# Revision 1.2 2009/01/08 21:12:42 ncq
-# - remove /bin/bash
-#
-# Revision 1.1 2008/08/28 15:11:48 ncq
-# - moved here
-#
-# Revision 1.3 2008/08/01 10:08:49 ncq
-# - /bin/sh -> /bin/bash
-#
-# Revision 1.2 2007/07/03 09:57:29 ncq
-# - WORK_DIR_BASE, LOG_BASE
-#
-# Revision 1.1 2007/05/08 11:57:40 ncq
-# - new
-#
-#
\ No newline at end of file
Date: 2015-02-09 10:30:29 +0000 (Mon, 09 Feb 2015)
New Revision: 18743
Modified:
trunk/packages/gnumed-server/trunk/debian/changelog
trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf
trunk/packages/gnumed-server/trunk/debian/conf/gnumed-restore.conf
Log:
Update config files according to upstream
Modified: trunk/packages/gnumed-server/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/changelog 2015-02-09 09:54:38 UTC (rev 18742)
+++ trunk/packages/gnumed-server/trunk/debian/changelog 2015-02-09 10:30:29 UTC (rev 18743)
@@ -1,3 +1,9 @@
+gnumed-server (20.2-2) UNRELEASED; urgency=medium
+
+ * debian/config: Update config files according to upstream
+
+ -- Andreas Tille <***@debian.org> Mon, 09 Feb 2015 11:29:50 +0100
+
gnumed-server (20.2-1) experimental; urgency=medium
* New upstream version
Modified: trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf 2015-02-09 09:54:38 UTC (rev 18742)
+++ trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf 2015-02-09 10:30:29 UTC (rev 18743)
@@ -1,7 +1,4 @@
#------------------------------------------------------------
-# $Source: /sources/gnumed/gnumed/gnumed/client/etc/gnumed/gnumed-backup.conf.example,v $
-# $Id: gnumed-backup.conf.example,v 1.3 2009/01/08 21:12:28 ncq Exp $
-#------------------------------------------------------------
#
# This is a shell fragment sourced by backup shell scripts.
#
@@ -12,28 +9,28 @@
# password you will have to configure that using a .pgpass
# file (see the PG manual for how to do that):
#
-# http://www.postgresql.org/docs/9.1/static/libpq-pgpass.html
+# http://www.postgresql.org/docs/current/static/libpq-pgpass.html
#------------------------------------------------------------
#------------------------------------------------------------
-# those need to be changed in most if not all cases
+# the following need to be changed in most if not all cases
#------------------------------------------------------------
# options for *taking* backups:
# identify the logical/business-level owner of this
# GNUmed database instance, such as "ACME GP Office",
-# do not use spaces: "ACME_GP_Offices"
+# BUT do not use spaces, rather say: "ACME_GP_Offices"
INSTANCE_OWNER="GNUmed_Team"
# where to eventually store the backup
BACKUP_DIR="/var/lib/gnumed/server/backups"
# which database to backup
-GM_DATABASE="gnumed_v18"
+GM_DATABASE="gnumed_v20"
# user/group the backup is eventually owned by
-BACKUP_OWNER="$USER.$USER"
+BACKUP_OWNER="$USER:$USER"
# options for *offsiting* backups:
@@ -103,55 +100,3 @@
GNOTARY_TAN="free"
#============================================================
-# $Log: gnumed-backup.conf.example,v $
-# Revision 1.3 2009/01/08 21:12:28 ncq
-# - remove /bin/bash
-#
-# Revision 1.2 2008/12/01 12:11:22 ncq
-# - bump db version
-#
-# Revision 1.1 2008/08/28 15:11:48 ncq
-# - moved here
-#
-# Revision 1.13 2008/08/01 10:08:49 ncq
-# - /bin/sh -> /bin/bash
-#
-# Revision 1.12 2008/01/07 19:45:11 ncq
-# - bump db version
-#
-# Revision 1.11 2007/12/02 11:42:48 ncq
-# - improved docs
-# - add options for moving backups offsite
-#
-# Revision 1.10 2007/10/22 12:37:02 ncq
-# - default database change
-#
-# Revision 1.9 2007/09/24 18:25:45 ncq
-# - VERIFY_TAR
-#
-# Revision 1.8 2007/06/11 20:14:59 ncq
-# - bump database version
-#
-# Revision 1.7 2007/06/05 14:57:03 ncq
-# - add compression level variable
-#
-# Revision 1.6 2007/05/17 15:14:54 ncq
-# - better default backup target dir in line with the rest of GNUmed
-#
-# Revision 1.5 2007/05/14 21:28:09 ncq
-# - better docs
-# - add GM_HOST
-#
-# Revision 1.4 2007/05/07 08:00:52 ncq
-# - default backup location $HOME rather than /
-#
-# Revision 1.3 2007/05/01 19:40:08 ncq
-# - add URL
-#
-# Revision 1.2 2007/05/01 16:45:24 ncq
-# - improved
-#
-# Revision 1.1 2007/05/01 16:34:45 ncq
-# - needed by gm-backup_database.sh
-#
-#
\ No newline at end of file
Modified: trunk/packages/gnumed-server/trunk/debian/conf/gnumed-restore.conf
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/conf/gnumed-restore.conf 2015-02-09 09:54:38 UTC (rev 18742)
+++ trunk/packages/gnumed-server/trunk/debian/conf/gnumed-restore.conf 2015-02-09 10:30:29 UTC (rev 18743)
@@ -1,6 +1,5 @@
#------------------------------------------------------------
-# $Source: /sources/gnumed/gnumed/gnumed/client/etc/gnumed/gnumed-restore.conf.example,v $
-# $Id: gnumed-restore.conf.example,v 1.2 2009/01/08 21:12:42 ncq Exp $
+# GNUmed database restore configuration
#------------------------------------------------------------
#
# this is a shell fragment used by gm-restore_from_backup.sh
@@ -12,38 +11,24 @@
# have to configure that using a .pgpass file (see the PG
# manual for how to do that)
#
-# http://www.postgresql.org/docs/9.1/static/libpq-pgpass.html
+# http://www.postgresql.org/docs/current/static/libpq-pgpass.html
#
#------------------------------------------------------------
-# if your PostgreSQL server is running on another port
+# if your PostgreSQL server is running on different port
+# then you need to configure that here,
+# note that setting PGPORT elsewhere doesn't cut it
GM_PORT="5432"
# set this to a writable directory on a drive where
# there is plenty of disk space available
-WORK_DIR_BASE="${HOME}/gnumed"
+WORK_DIR_BASE="/tmp/gnumed"
# where to store log files,
# note that if you chose to write logs to the work
-# directory they will get lost during cleanup if the
+# directory they may get lost during cleanup if the
# restore process succeeds
-LOG_BASE="."
+LOG_TS=`date +%Y-%m-%d`
+LOG_BASE="${HOME}/.gnumed/logs/restore-${LOG_TS}"
#============================================================
-# $Log: gnumed-restore.conf.example,v $
-# Revision 1.2 2009/01/08 21:12:42 ncq
-# - remove /bin/bash
-#
-# Revision 1.1 2008/08/28 15:11:48 ncq
-# - moved here
-#
-# Revision 1.3 2008/08/01 10:08:49 ncq
-# - /bin/sh -> /bin/bash
-#
-# Revision 1.2 2007/07/03 09:57:29 ncq
-# - WORK_DIR_BASE, LOG_BASE
-#
-# Revision 1.1 2007/05/08 11:57:40 ncq
-# - new
-#
-#
\ No newline at end of file