Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error calling http://localhost:8080/database/backup from commandline #29

Open
grafzahlx opened this issue Jun 14, 2020 · 1 comment
Open

Comments

@grafzahlx
Copy link

I tried using the backup script provides here https://github.com/gitbucket/gitbucket/wiki/Backup
but the curl statement for starting the database export doesn't work. If i call the site myself in a browser like firefox it works like a charm. So I tried curl -v and saw that it responds an 401 Unauthorized code.

So I tried with authorization like the following:
curl -u : http://localhost:8080/database/backup
but this also doesn't work.

I am using the acutal versions of gitbucket 4.33 and the plugin 1.8

Please provide some help on this issue.

@c0llab0rat0r
Copy link
Contributor

If you're still having trouble with this, try using authorization tokens, documented on the updated readme: https://github.com/gitbucket-plugins/gitbucket-h2-backup-plugin/blob/ad16096355b22329c8d8f86ee412eb6da6017828/README.MD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants