Use base command class in restoredb