[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c)
From: |
Jim Busser |
Subject: |
Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c) |
Date: |
Fri, 21 Oct 2011 17:08:06 -0700 |
instead of copying the backup scripts into
/etc/gnumed
I tried running them from their current location in a downloaded tarball .
After trying to run
sh gm-backup_database.sh
(even after commenting out the sanity check, on account of Mac su: illegal
option -- c) I end up with
could not identify current directory: Permission denied
presumably on account of the user postgres having no read or write permissions
on that directory but when I did cd to a shared directory and ran from there
MacBook-2:Shared root# sh
/Users/djb/Downloads/gnumed-server.16.rc7/server/gm-backup_database.sh
Password:
Backing up database gnumed_v15.
However, a newer database seems to exist:
Password:
gnumed_v10 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v11 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v12 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v13 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v14 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v15 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v16 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v2 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v3 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v4 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v5 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v6 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v7 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v8 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v9 | gm-dbo | UTF8 | en_CA | en_CA |
Make sure you really want to backup the older database !
Password for user gm-dbo:
Password:
chown: root: Invalid argument
MacBook-2:Shared root# open
/Users/djb/Downloads/gnumed-server.16.rc7/server/
and provided the passwords for postgres (twice) and gm-dbo (twice) is there
some reason I cannot find any .sql file or tar file written?
-- Jim
- Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c),
Jim Busser <=