Backup code needs consolidating.
Opened this issue · 1 comments
danhale-git commented
internal/backup provides functions for restoring craft backup zips (Restore) and restoring from a .mcworld zip (RestoreMCWorld). It also provides functions for running save hold|query|resume
.
craft/backup.go provides functions for exporting server data to craft backup zips (CopyBackup) and exporting world data to .mcworld files (ExportMCWorld).
CopyBackup, ExportMCWorld, Restore and RestoreMCWorld should be alongside each other, probably in the server package.
craft.copyFiles should be moved to internal/backup
FileTime can probably be moved from internal/backup to
danhale-git commented
Also consider: #23