Talk:Commands provided by the Debian packages

From Koha Wiki
Jump to navigation Jump to search

Koha-restore

For my work I appreciate very much precise and complete documentation. Specifically for koha-restore I miss important advices (The fact that all gurus know these doesnt help the novice)

   koha-restore must be preceeded by a koha-remove <instance> command. Of course I would prefer if this was not necessary
   koha-restore (and others) must be executed using sudo.
   koha-remove at least older versions does an incomplete job. To complete the job issue "sudo rm -r /var/lib/koha/<instance>

There is no advice, no warning that restoring *tar.gz and *sql.gz created with koha-dump must not be restored by koha-restore if the koha version has changed. I could not find any hint that koha-restore does required adaptions of data structures such as are done when apt-get install upgrades the koha version.