netcmd: Use dbcheck to fix DB problems introduced by restore itself