health
[Top][All Lists]
Advanced

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

Re: [Health] GNUHealth back-up


From: Gerald Wiese
Subject: Re: [Health] GNUHealth back-up
Date: Fri, 25 Feb 2022 11:31:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Dear Yusif,

those characters '<' and '>' are placeholders. Please try it again without them 
and those brackets [].

Besides I'd recommend to use an absolute path like /home/yourusername/Desktop

Also there is GNU Health 3.8 and even 4.0 beta, if you want to upgrade.

About your second question regarding the invoice: Please tell what steps you did, otherwise it's difficult to say if you missed one.

Best

Gerald

On 2/24/22 23:46, Yusif Suleiman wrote:
Dear All,
While working with gnuhealth on a laboratory for production, we decided to 
back-up the data.
I followed the documentation on Wiki Control Center, in order to back up my db 
before going to the production Dbase, and I have these errors.

Someone should please help me. 'Desktop' is directory for saving the backup, 
and 'UCHealth' is the name of the database on my system.

# gnuhealth-control version
3.6.5.1-openSUSE

usage: gnuhealth-control command [options]

Command:
   version : Show version
   backup  : Backup the gnuhealth kernel, attach dir and database
   update  : Download and install the patches
   getlang : Get and install / update the language pack code
   status  : Show environment and GNU Health Tryton server status

Options:
  --backdir  : destination directory for the backup file
  --dry-run  : Check, download and preview, but don't actually update process
  --database : database name to use with the backup command

# gnuhealth-control backup --database
2022-02-24 22:11:56 [INFO] Environment variables
2022-02-24 22:11:56 [INFO] PYTHONPATH =
Usage : gnuhealth-control backup --backdir <directory> --database <dbname>

# gnuhealth-control backup --backdir <desktop> --database <UCHealth>
bash: syntax error near unexpected token `newline'

# gnuhealth-control backup --backdir <desktop> --database <UCHealth>
bash: syntax error near unexpected token `newline'

# gnuhealth-control backup --backdir <desktop> --database [UCHealth]
bash: desktop: No such file or directory

# gnuhealth-control backup --backdir [desktop] --database [UCHealth]
2022-02-24 22:15:44 [INFO] Environment variables
2022-02-24 22:15:44 [INFO] PYTHONPATH =
2022-02-24 22:15:44 [ERROR] Backup directory [desktop] not found !

  # gnuhealth-control backup --backdir [Desktop] --database [UCHealth]
2022-02-24 22:16:00 [INFO] Environment variables
2022-02-24 22:16:00 [INFO] PYTHONPATH =
2022-02-24 22:16:00 [ERROR] Backup directory [Desktop] not found !

Secondly, it was very easy to generate invoice on Demo database, but I try to 
generate an invoice on my installed database I couldn't. Maybe I miss a step.

looking forward for your support.
Regards.
Yusuf





reply via email to

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