Backup and restore script created in bash