/[smecontribs]/rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.restore.patch
ViewVC logotype

Annotation of /rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.restore.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Tue Nov 25 16:20:28 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/etc/e-smith/templates/etc/e-smith/pgsql/init/00_restore_backup mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates/etc/e-smith/pgsql/init/00_restore_backup
2     --- smeserver-postgresql-0.0.1/root/etc/e-smith/templates/etc/e-smith/pgsql/init/00_restore_backup 1969-12-31 19:00:00.000000000 -0500
3     +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates/etc/e-smith/pgsql/init/00_restore_backup 2006-06-28 16:28:16.000000000 -0400
4     @@ -0,0 +1,4 @@
5     +#! /bin/sh
6     +
7     +exec < /home/e-smith/db/pgsql/pgsql.dump
8     +exec chpst -u postgres psql -f - template1
9     diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/etc/e-smith/templates.metadata/etc/e-smith/pgsql/init/00_restore_backup mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates.metadata/etc/e-smith/pgsql/init/00_restore_backup
10     --- smeserver-postgresql-0.0.1/root/etc/e-smith/templates.metadata/etc/e-smith/pgsql/init/00_restore_backup 1969-12-31 19:00:00.000000000 -0500
11     +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates.metadata/etc/e-smith/pgsql/init/00_restore_backup 2006-06-28 16:15:05.000000000 -0400
12     @@ -0,0 +1 @@
13     +PERMS=0500
14     diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/var/service/postgresql/run mezzanine_patched_smeserver-postgresql-0.0.1/root/var/service/postgresql/run
15     --- smeserver-postgresql-0.0.1/root/var/service/postgresql/run 2006-06-28 16:28:44.000000000 -0400
16     +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/var/service/postgresql/run 2006-06-28 16:16:35.000000000 -0400
17     @@ -8,6 +8,10 @@
18     then
19     echo "*** Initialising postgresql in data directory ${DATA}"
20     chpst -u postgres /usr/bin/initdb --pgdata=${DATA}
21     + if [ -f /home/e-smith/db/pgsql/pgsql.dump ]
22     + then
23     + /sbin/e-smith/expand-template /etc/e-smith/pgsql/init/00_restore_backup
24     + fi
25     fi
26     echo "*** Starting postgresql on data ${DATA}"
27     exec \

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed