[Koha-bugs] [Bug 10999] New: koha-restore --force option to just overwrite easily a Koha instance with an older backup

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 4 22:06:44 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10999

            Bug ID: 10999
           Summary: koha-restore --force option to just overwrite easily a
                    Koha instance with an older backup
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: gmcharlt at gmail.com
          Reporter: pablo.bianchi at gmail.com
        QA Contact: testopia at bugs.koha-community.org

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?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list