Bug 35501

Summary: Make koha-restore restore only files, not db
Product: Koha Reporter: Magnus Enger <magnus>
Component: Command-line UtilitiesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: robin
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34777
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 35502    

Description Magnus Enger 2023-12-06 09:33:15 UTC
Use case: 

We have Koha instances on a number of different virtual servers, and databases on separate/dedicated servers. Sometimes we need to move an instance from one server to another, without doing anything about the database. It would be nice if we could copy a .tar.gz backupfile from the old server to the new server, and recreate the site on the new server with something like: 

sudo koha-restore --onlyfiles mykoha-<date>.tar.gz

This is the opposite of bug 34777. :-)