Nethserver - How do you backup and RESTORE

Hi

Yes, I’d remove the Firebird-Superserver… It’s probably the same issue as with the USB Disk during the restore…
If you do something the server is not expecting, even if you’re only doing what it will do itself, it refuses… :frowning:

So remove firebird, (check if the folders/files are really gone!) and redo the restore…

Restore from CLI: It should work with a command, but I honestly have no idea - always used the GUI so far!

Are there any options for restore-data except of the -b? I.e. overwrite?

EDIT: from the gui: Warnung : Bei der Wiederherstellung werden alle Daten überschrieben.

From tail -f /var/log/messages:

Not only the firebird… starting the restore-data again brings up the same errors for all files which have been already restored at the first try.

I’d say, this is a bug,

Agreed, it should just overwrite them, as configured…

You should report the Bug, adding in some details.
I’m sure Stephdl, Markus or someone else will fix that error real fast!

:slight_smile:

@mrmarkuz
@stephdl

Restore is still running. Is there a chance of a quick fix? I assume there’s a script behind of restore-data… Who could help with that?

Giacomo, Stephdl, Davide, or Markus are a few who could help…

You can find restore-data script source code (thanks to OpenSource) on github or on your server. Sorry I can’t help much ATM.

@dnutan

Well, thank’s for jumping in. As I’m not a programmer or an IT professional I do feel unsafe diving to deep in coding, I can read logs and try to understand switches or options i.e. rsync or other basics.

Therefore i’d really appreciate any hints to get this IMVHO basic task of every server distro done.

Right now I removed programs I installed manually before the restore. As I remeber i.e. nethserver-hylafax, nethserver-sogo, nethserver-hotsyc but also firebird-superserver and qemo-guest-agent.

If (and only if) this would do the trick, for me this is not clearly pointed out in the backup manual/pages. But we’ll see…

In any other way I’d really appreciate a safe way to restore the backup to the new server. Even if a specialist tells me to boot both machines (in this case server and client) with a rescue iso, and rsync the root volume. I’d be able to follow this if it would lead to success.

BUT having a backup and NOT beeing able to restore, is more than odd. For a server-distro, it’s unacceptable. Or somebody tells me where I followed the wrong path.