prepare backup to handle multiple repo types (github/gitlab)