// The bundle is on disk and holds the database; the exit status fails
// the timer's run so the gap shows in systemctl and the journal, and
// the panel and the watchdog read it from the record and the manifest.
fmt.Fprintf(stdout,"felis db backup: wrote %s\n",path)
fmt.Fprintf(stderr,"felis db backup: %v\n a restore from %s brings back the database but no servers; check `k3s kubectl get minecraftservers -A`, then run `felis db backup` again\n",err,filepath.Base(path))
@@ -891,6 +898,9 @@ func fetchDB(ctx context.Context, b offsite.Bucket, key []byte, arg, dir string,
ifm.Counts.Fresh(){
fmt.Fprintln(stdout," This database holds no servers and at most one account, like a new install's. Check it is the state to restore before `felis db restore`.")
}
ifm.ServersError!=""{
fmt.Fprintf(stdout," This bundle lacks the MinecraftServer objects (%s): `felis db restore` brings back the database, and the servers come from k8s/minecraftservers.json in the newest bundle `felis offsite list` shows without that gap.\n",m.ServersError)