add function for backup directory
add function for backup directory