gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Mini-HOWTO to back-up and recover GNUmed


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Mini-HOWTO to back-up and recover GNUmed
Date: Thu, 30 Jul 2009 13:03:38 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Very nice !

Karsten

On Wed, Jul 29, 2009 at 02:13:37PM -0300, Rogerio Luz Coelho wrote:
> Subject: [Gnumed-devel] Mini-HOWTO to back-up and recover GNUmed
> 
> So I had the missfortune to have my laptop die, since I had the backups it
> all goes down to installing Debian Testing all over again and doing the
> recovery of the back-up ... so I decided to document... (hey Jim this seems
> very Wiki-interesting :) )
> 
> 1) install Debian Testing (Squeeze) WITHOUT Database Server enabled (the
> instalation WITH this option enabled is bugged and PostgreSQL does not start
> any cluster at boot
> ** -bug = This is apparently caused by a bug in udev;There are two existing
> bugs tracking the problem, one is #517389 (udev), the other #533528
> (debian-installer).
> 
> 2) After instalation of base system, do a "aptitude install psotgresql
> gnumed-client"
> 
> 3) Alter pg_hba in "/etc/postgresql/8.3/main/" as in
>  http://wiki.gnumed.de/bin/view/Gnumed/ConfigurePostgreSQL#AnchorSetupDAR
> 
> *** Observe that if you only want a localhost DB this is the ONLY
> modification in the PostgreSQL config files you need. Other alterations i.e.
> to "postresql.conf" and "pg_ident.conf" are unnecessary.
> 
> 4) DOWNLOAD the server tarball you want to recover (if you were using the
> v10 server it is the v10.6 tarball, and so forth)
> 
> 5) Inside the tarball you go to "GNUmed-server.v10.6/server/etc/" and copy
> the files "gnumed-bakup.conf.example" and "gnumed-restore.conf.example" to
> your systems' /etc/gnumed , and then change their names so that the .example
> are removed, so they will lie in the folder as "gnumed-restore.conf" and
> "gnumed-backup.conf".
> 
> *** Now you are ready to backup and restore from the scripts provided with
> the tarball.
> 
> 6) run "sh gm-restore_database.sh x" where x is the name of the backup file
> WITH the path something like:
> /back-up-folder/backup-gnumed_v10-GNUmed_Team-your-team-2009-07-24-19-29-18.tar.bz2.
> 
> 
> 7) Connect to the database and try out some of the patients to make sure
> everything is ok.
> 
> CONGRATS !! you have made it work.
> 
> 
> Rogerio Luz Coelho.
> 
> PS: I use a script that makes all this process automated , and I include it
> in the following tarball, just extract all the contents it in a folder
> anywhere and run the fix-bk-rest.sh script, any problems let me know.


> _______________________________________________
> Gnumed-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnumed-devel


-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]