Validate kind when importing database backup

before any other action is performed (compressing, uploading backup) 

[#61208942]