check for backupdir