gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] Problems restoring from a backup - directory ... does


From: Busser, Jim
Subject: Re: [Gnumed-bugs] Problems restoring from a backup - directory ... does not exist
Date: Wed, 14 Jan 2015 12:51:38 +0000

On 2015-01-14, at 4:48 AM, "Busser, Jim" <address@hidden> wrote:

On 2015-01-14, at 4:36 AM, "Busser, Jim" <address@hidden> wrote:


3) I also copied the hopefully-intact, 383 Mb backup into the root-owned server folder

cd /gnumed-server.19.8/server

cp /Users/djb/.gnumed/backup/backup-gnumed_v19-GNUmed_Team-dhcp-128-189-241-105.ubcsecure.wireless.ubc.ca-2015-01-12-09-59-25.tar .

OK. Can you double-check (and post) the permissions of that copy ?

=====================================================

-rw-r--r--  1 djb  staff  383343616 12 Jan 10:00

=====================================================

Sorry, the above permissions were for the source file, not the copy.

The copy has the same permissions and owner but the group changed from staff to wheel:

-rw-r--r--  1 djb  wheel  383343616 14 Jan 04:45 

which is different from the remainder in that directory which are owned by root:


MacBook-2:server djb$ ls -al
total 748936
drwxr-xrwx@ 27 root  wheel        918 14 Jan 04:45 .
drwxr-xrwx   5 root  wheel        170 14 Jan 04:11 ..
-rw-r--rw-@  1 root  wheel       6148 14 Jan 04:34 .DS_Store
-rw-r--rw-@  1 root  wheel      18092 30 Apr  2014 GnuPublicLicense.txt
drwxr-xrwx   3 root  wheel        102 13 Jan 00:30 Users
-rw-r--rw-@  1 root  wheel          1 30 Apr  2014 __init__.py
-rw-r--r--   1 djb   wheel  383343616 14 Jan 04:45 backup-gnumed_v19-GNUmed_Team-dhcp-128-189-241-105.ubcsecure.wireless.ubc.ca-2015-01-12-09-59-25.tar
drwxr-xrwx@ 50 root  wheel       1700 30 Apr  2014 bootstrap
drwxr-xrwx@ 18 root  wheel        612 30 Apr  2014 doc
drwxr-xrwx@  3 root  wheel        102 30 Apr  2014 etc
-rwxr-xrwx@  1 root  wheel       4887 30 Apr  2014 gm-adjust_db_settings.sh
-rwxr-xrwx@  1 root  wheel       3664 30 Apr  2014 gm-backup_data.sh
-rwxr-xrwx@  1 root  wheel       6820 30 Apr  2014 gm-backup_database.sh
-rwxr-xrwx@  1 root  wheel       1169 30 Apr  2014 gm-bootstrap_server
-rwxr-xrwx@  1 root  wheel       5853 30 Apr  2014 gm-dump_schema.sh
-rwxr-xrwx@  1 root  wheel       2093 30 Apr  2014 gm-fingerprint_db.py
-rwxr-xrwx@  1 root  wheel        803 30 Apr  2014 gm-fixup_server
-rwxr-xrwx@  1 root  wheel       2388 30 Apr  2014 gm-move_backups_offsite.sh
-rwxr-xrwx@  1 root  wheel       2444 30 Apr  2014 gm-pg_upgradecluster-helper
-rwxr-xrwx@  1 root  wheel       2351 30 Apr  2014 gm-remove_person.sh
-rwxr-xrwx@  1 root  wheel       3800 30 Apr  2014 gm-restore_data.sh
-rwxr-xrwx@  1 root  wheel       5305 13 Jan 00:39 gm-restore_database.sh
-rwxr-xrwx@  1 root  wheel        474 30 Apr  2014 gm-set_gm-dbo_password
-rwxr-xrwx@  1 root  wheel        798 30 Apr  2014 gm-upgrade_server
-rwxr-xrwx@  1 root  wheel       3009 30 Apr  2014 gm-zip+sign_backups.sh
drwxr-xrwx@ 29 root  wheel        986 30 Apr  2014 pycommon
drwxr-xrwx@ 77 root  wheel       2618 30 Apr  2014 sql
MacBook-2:server djb$


-- JIm



reply via email to

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