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

add time in output #529

Open
ChristophHoyer opened this issue Dec 3, 2019 · 1 comment
Open

add time in output #529

ChristophHoyer opened this issue Dec 3, 2019 · 1 comment

Comments

@ChristophHoyer
Copy link

@ChristophHoyer ChristophHoyer commented Dec 3, 2019

it might be useful to see, how long a restore takes.
Therefore it would be helpful, if the ghe-restore command could print out a timestamp at the beginning and the end of the run.
Something like:

Checking for leaked keys in the backup snapshot that is being restored ...

  • No leaked keys found
    Connect github.superserver.com:122 OK (v2.18.7)

WARNING: All data on GitHub Enterprise appliance github.superserver.com (v2.18.7)
will be overwritten with data from snapshot 20191203T011002.
Please verify that this is the correct restore host before continuing.
Type 'yes' to continue: yes

Starting restore of github.superserver.com:122 with backup-utils v2.18.0 from snapshot 20191203T011002
Start time: 2019-12-03 11:30
Stopping cron and github-timerd ...
Restoring UUID ...
Restoring MySQL database ...
Restoring Redis database ...
Restoring Git repositories ...
Restoring Gists ...
Warning: Gist backup missing. Skipping ...
Restoring GitHub Pages ...
Restoring SSH authorized keys ...
Restoring storage data ...
Restoring custom Git hooks ...
Restoring Elasticsearch indices ...
Restoring Audit logs ...
Restoring hookshot logs ...
Configuring appliance ...
Starting cron ...
Restoring SSH host keys ...
End time: 2019-12-03 12:00
Runtime: 00:30h

Restore of github.superserver.com:122 from snapshot 20191203T011002 finished.

@github github deleted a comment Dec 3, 2019
@github github deleted a comment Dec 3, 2019
@cainejette
Copy link
Contributor

@cainejette cainejette commented Jun 23, 2020

@ChristophHoyer that's a great idea! I'm not sure we have bandwidth right now to add this, but we would happily review a PR if you submitted one!

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.