health
[Top][All Lists]
Advanced

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

[Health] GNUHealth back-up


From: Yusif Suleiman
Subject: [Health] GNUHealth back-up
Date: Thu, 24 Feb 2022 22:46:02 +0000

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]