python-github-backup icon indicating copy to clipboard operation
python-github-backup copied to clipboard

backup a github user or organization

Results 51 python-github-backup issues
Sort by recently updated
recently updated
newest added

GitHub are allowing fine grained tokens and it seems like tokens with read-only access to the repositories that need to be backed up would be amazing for this project. However,...

- Replace local `log_info` and `log_warning` functions with a module `logger` and `logger.info`/`logger.warning` - Add support for `--quiet` flag by setting the level on the logger - Resolves #190 -...

Hi, I want to update local backup repos, but maybe I'm using the wrong command? Thanks for helping! The code I'm using: ` github-backup ma-ji --incremental --token xxx --output-directory ./...

github-backup prai-org -t _TOKEN_redacted --organization --private --all 2022-05-20T14:57:20.874: Backing up user prai-org to /home/mars/github_backup 2022-05-20T14:57:20.874: Requesting https://api.github.com/user?per_page=100&page=1 2022-05-20T14:57:21.094: Retrieving repositories 2022-05-20T14:57:21.095: Requesting https://api.github.com/orgs/prai-org/repos?per_page=100&page=1 2022-05-20T14:57:22.566: Requesting https://api.github.com/orgs/prai-org/repos?per_page=100&page=2 2022-05-20T14:57:23.295: Filtering repositories 2022-05-20T14:57:23.296:...

Support changing the log level to the desired value easily. For example, this is useful to suppress progress messages but keep logging warnings and errors.

Hi thanks for the tool! A feature that is needed is that the images and attachments should be also backuped as well, since an issue cannot be understand without corresponding...

**Example repository**: https://github.com/jellyfin/jellyfin-docs/releases Log --- ```python 2020-10-28T22:59:57.670107: Retrieving jellyfin/jellyfin-docs releases 2020-10-28T22:59:57.670280: Requesting https://api.github.com/repos/jellyfin/jellyfin-docs/releases?per_page=100&page=1 2020-10-28T22:59:58.499290: Requesting https://api.github.com/repos/jellyfin/jellyfin-docs/releases?per_page=100&page=2 2020-10-28T22:59:59.272206: Requesting https://api.github.com/repos/jellyfin/jellyfin-docs/releases?per_page=100&page=3 2020-10-28T23:00:00.436950: Requesting https://api.github.com/repos/jellyfin/jellyfin-docs/releases?per_page=100&page=4 2020-10-28T23:00:02.109340: Requesting https://api.github.com/repos/jellyfin/jellyfin-docs/releases?per_page=100&page=5 2020-10-28T23:00:03.173632: Requesting https://api.github.com/repos/jellyfin/jellyfin-docs/releases?per_page=100&page=6 2020-10-28T23:00:03.682053: Saving...

It would be grate to have an option to disable prune remote-tracking branches no longer on remote when updating a repositoty. Snippet code of how it is implemented: ``` if...

It would be grate to have a --quiet option to suppress any output despite warnings/errors, e.g. when running the backups as cron job.

I've noticed that taking a backup of PRs doesn't include their actual commits in the git repository backup. Is there a way to do this already that I might be...