Added backup command
Added backup function, partial restore function