Backup framework in bash