mirror of
https://github.com/borgbackup/borg.git
synced 2026-09-02 14:43:21 +02:00
The screencast is still typed by expect, but it now runs in a container (podman or docker) instead of a vagrant VM, see #8040. record.sh builds borg from the git tag given by BORG_VERSION, generates the demo data and records docs/misc/asciinema/borg2-demo.cast. The demo itself was rewritten for borg 2: repo-create, an archive series addressed by archive IDs, mount, delete/undelete, prune, compact, check. The demo data is generated (notes, logs, a database dump) instead of downloading wallpaper jpegs, so that compression is actually visible. Removes the borg 1.2 screencast scripts and recordings. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
10 lines
438 B
Text
10 lines
438 B
Text
# Start the recording in a terminal of a well-defined size, no matter how big
|
|
# the terminal is that ./record.sh was started from (asciinema records the size
|
|
# of its terminal and the players use it to size the screencast).
|
|
set stty_init "rows 30 cols 100"
|
|
set timeout -1
|
|
|
|
spawn -noecho asciinema rec --overwrite --idle-time-limit 2 \
|
|
--title "BorgBackup 2.0 demo" \
|
|
--command "expect -f /demo/demo.tcl" /tmp/borg2-demo.cast
|
|
expect eof
|