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

Logging / verbose / tail #85

Closed
kMikaZu opened this issue Apr 17, 2018 · 3 comments
Closed

Logging / verbose / tail #85

kMikaZu opened this issue Apr 17, 2018 · 3 comments

Comments

@kMikaZu
Copy link

kMikaZu commented Apr 17, 2018

Hi

Is there some way to export a log-file at the end of a backup-job? I would like to send a report to a Slack channel through a WebHook.

Thanks

@josegonzalez
Copy link
Owner

Thats something I probably wouldn't build into this. You might look into wrapping this with a shell script that captures the output to a file via tee, then uploads that file to wherever you need it.

@kMikaZu
Copy link
Author

kMikaZu commented Jul 30, 2018

I've managed to add logging to a file and upload that file to a Slack Channel with Slackify. But, that file is huge and contains a lot of info. Would it be possible to implement some kind of summary at the end of a GitHub-backup command? Then it would be possible for me to filter. I actually only need to know how much repos were copied, etc. and if errors occurred.

@josegonzalez
Copy link
Owner

Feel free to submit a pull request.

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