Bug 10999 - koha-restore --force option to just overwrite easily a Koha instance with an older backup
Summary: koha-restore --force option to just overwrite easily a Koha instance with an ...
Status: RESOLVED DUPLICATE of bug 9754
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-04 20:06 UTC by Pablo AB
Modified: 2014-03-03 15:53 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo AB 2013-10-04 20:06:44 UTC
Right now for eg
koha-restore /var/spool/koha/myInstance/myInstance-2013-09-23.sql.gz  /var/spool/koha/myInstance/myInstance-2013-09-23.tar.gz
gives 78 lines starting with "ERROR: File exists:" and a "adduser: The user `myInstance' already exists."
It would be great to just overwrite whatever needs to have the dump runing again, without having to koha-remove.

BTW, even using koha-remove before koha-restore, a username problem that
GRANT ALL PRIVILEGES ON `koha_myInstance` . * TO 'koha_myInstance'@'localhost';
fix. Something to do with bug 10517?
Comment 1 Mirko Tietgen 2014-03-03 15:53:41 UTC

*** This bug has been marked as a duplicate of bug 9754 ***