Make sure that BACKUP_DIR value ends with /