[FIX] Bugfix database restore error on stdout to logfile