-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
Renew asciinema/screencasts #2835
Conversation
Created with borg v1.1.0, so more up-to-date and split into different parts (install, basic, advanced)β¦ Fixes #669
(An existing asciicast can easily be uploaded to another account using |
That's interesting. I did not know that you can edit them and upload to the same URL. (Or did you want to say something different?) |
The (On the current demo page there is no extra text - but we can also easily host it ourselves, so the JSON recordings would simply live as regular files in git, see borgbackup.github.io repository). |
I know, I've used it enough in the last two days, but your still not answering my questionβ¦
Ah, so do you actually plan this?
Never saw this page before, BTW. I only saw your linked screenshots in Readme etc. and thought you'll stay with this system⦠But for me it does not matter. |
thanks for updating this stuff! some issues: "basic" link is same as "install" link. also, i watched the asciinema casts and they contained a lot of typos / small errors. so, if they are already fixed, please provide new links. if not, please watch them and fix the obvious stuff yourself (including removing typo fixes you did interactively from the json file, so one does not replay the typos), then update the links to the fixed version. i'll review then again and point you to any remaining issues (if any). |
Upps, yeah. I've corrected it.
I thought some small typos would make the more natural/humanβ¦ π
Okay, I'll do. |
I updated the install script. Sorry for adding the dev/temp files there, I'll remove them in the next commit. |
|
You can probably edit the latter out. The former should be possible by editing the ANSI escapes in the JSON. |
I did both and also removed many typos, so everything looks smooth. I updated the asciinema links in the OP. |
typos in advanced:
After fixing these, maybe watch the videos again. There were also some cases of plural vs. singular and some interactively fixed typos ("ΓΌ"). |
Thanks, I've fixed them.
Yeah, already fixed that in the previous commit.
Also already fixed, could not find this. I also looked at advanced again and could not find any further issues. |
docs/misc/asciinema/advanced.sh
Outdated
@@ -1,7 +1,7 @@ | |||
# For the pro users, here are some advanced features of borg, so you can impress your friends. ;) | |||
# Note: This screencast was made with borg version 1.1.0 β older or newer borg version may behave differently. | |||
|
|||
# First of all, we can use several envorimental variables for borg. | |||
# First of all, we can use several environmental variables for borg. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*environment (without -al)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, right, fixed.
Should I fake/post-edit the screenshots to show the new line in |
@rugk if you like... (not required, over time there might be other differences also). |
Okay, edited. Also updated the asciinema links. |
btw, if one compares these screencasts with the old one, one notices:
|
Yeah, but one thing causes the other one (i.e. colors make the JSON more unreadable, because of the needed escape sequences). I did not copy & paste anything (except of one time), I just used the auto-completion (up key) and entered the completed comments before, so that they could be "autocompleted". Some more differences, BTW:
BTW thanks to "autocompleting" the comments, you can mostly easily search and edit them as they have no escape sequences inside itself. |
Ah, interesting idea of previously feeding the stuff so it can be autocompleted. |
BTW now I understood this thing about special files and also see why |
And updated script fort basic, as I forgot it.
So I've fixed your issues and two or three other typos I also spotted when doing so. |
ah, you are right about encryption, we require manual choice now (since 1.1). about --read-special: not sure what you mean by "does not work". It opens and reads the contents of special files (like it was a regular file), not just backing up the device file itself (== its metadata). |
Ah so |
It should work, creating a regular file called dev/loop0 in your backup that has all the contents read from /dev/loop0. It's especially nice if you backup multiple block devices, like snapshot LVs from lvm for example. |
Okay, it does indeed work⦠|
basic:
advanced:
can you do the next iterations on your own? just look at the stuff you produce (twice, if once is not enough), the stuff I keep finding is rather obvious. update the online versions after you don't find anything yourself any more, for a final review. |
some more ideas in #2909 (as this is new, it is not required to complete the bounty you've already started, but we could put another bounty on it). |
You are just that good of finding tiny tasks. And as I said I already fixed some other flaws in the previous iterations. And as you see messing with the files again and again may introduce some display issues. Now I also understand why: In the lines you mentioned I removed the compression thing. That results in the "new line"/line break being at a different position and in these issues. So maybe I have to rerecord that pieceβ¦ π (fortunately, only that part)
If I knew this previously, I would have certainly considered itβ¦ π |
would be nice if we had this in a good state at 1.1.0 release time (next is rc2). |
Is it really necessary the remove that |
@rugk ok, revert it. we can fix it in a later iteration. |
It is required by new borg versions.
Asciinema links updated. |
basic thumbnail: 2:26s (so one sees the dedup) |
can you do the backport to 1.1-maint branch also? |
crap. i'll fix the tons of fix, fix, fix in master first..... ok, done. |
Thanks for bearing with us! :) |
Yeah, I hope I did it correctly: #2937 |
Created with borg v1.1.0, so more up-to-date and split into different
parts (install, basic, advanced)β¦
Fixes #669
As @enkore did before I also tried to clean up the JSON files manually a bit afterwards (also shortened the tar.gz creation e.g.), but a second look on them cannot hurt. π
Also a general suggestion: Maybe create a new asciinema account called "BorgBackup" or something general (as this GitHub organisation) in order not to tie the screencasts to a single user/member. (Also so one can see they are "official".)
install
link: https://asciinema.org/a/D2fMg1HPUgLMxGPIYuRoYjlQC
title: Install the BorgBackup (borg) standalone binary
for description:
suggested thumbnail frame: 40s
basic
link: https://asciinema.org/a/aQGBdQzxpD4LiFNOITfleCqIv
title: BorgBackup (borg) β basic usage
for description:
suggested thumbnail frame: 126s (02:06)
advanced
link: https://asciinema.org/a/vpiMAH0nxexgHW9Ba5tV4ZWZ0
title: BorgBackup (borg) β advanced usage
for description:
suggested thumbnail frame: 218s (03:38)