Comments (8)
Released 0.22.0.
from python-github-backup.
I believe the last argument should only be the organization name. If you want to back up a certain repo, you need to use
-R REPOSITORY, --repository REPOSITORY
So maybe something like github-backup -u ${USER} -p ${PASSWORD} -O -P -R ${REPO} ${ORG}
from python-github-backup.
@whwright If I do that with CEDIA-models for ${ORG} I get github-backup: error: unrecognized arguments: CEDIA-models
This is the exact command : github-backup -u USER francoislauger -P --issues --issue-comments -R repo1 -O CEDIA-models
from python-github-backup.
I think this might be an order or arguments thing? I did this with success on an org/repo I have access to
↪ github-backup -t ${GITHUB_TOKEN} --issues --issue-comments -R ${REPO} -P ${ORGANIZATION}
from python-github-backup.
Now with :
github-backup -t ${GITHUB_TOKEN} -O --issues --issue-comments CEDIA-models
I can backup public folder of CEDIA-models. However when I try to backup private repository with:
github-backup -t ${GITHUB_TOKEN} -O --issues --issue-comments -P -R simul CEDIA-models
I got this warning:
Authenticated user is different from user being backed up, thus private repositories cannot be accessed
The token loggeg to francoislauger
and I have full acces to CEDIA-models. I tried with and without the -O. Any idea?
from python-github-backup.
This is a bug that was fixed in #103 and is in master branch, but has not been released to pypi.
from python-github-backup.
@whwright Thank, I reinstall from github and it's working.
Note, the warning (Authenticated user is different from user being backed up, thus private repositories cannot be accessed
) still there but seem to be ignore.
from python-github-backup.
I think this can close now
from python-github-backup.
Related Issues (20)
- Procedures for Restore HOT 1
- Feature request: read personal access token (PAT) from stdin HOT 1
- The release script is broken HOT 1
- Personal Access Token (PAT) - Which scopes are need to backup an organiziation? HOT 1
- Add a --quiet option HOT 1
- Download watchers, forks, and stargazers of a repo
- A way to include the actual commits of backupped PRs?
- Add option to disable --prune when updating repository
- how to correctly update local backup? HOT 7
- Backup images and attachments in the issues
- Github-backup in 140 repository org backups nothing HOT 3
- Exclude specific repositories from backup HOT 1
- Add support for fine-grained tokens HOT 2
- Proposal to use API repository `pushed_at` instead of `update_at` field for `last_updated`
- something awry in --releases HOT 1
- When the `--lfs` option is used, after first clone non-lfs content is no longer fetched HOT 1
- Feature: offer docs how to run in docker HOT 4
- ERROR: 'gaierror' object is not iterable
- Automate releases HOT 5
- `--all-starred` does not backup anything HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-github-backup.