5/46
Sign inSign up free

4. Create a Clean Backup Archive

easy 10 XP ~5 minHands-on lab100% acceptance

Before a risky migration you want a backup of the docs-site project, but the build leaves large temporary files around that should never be archived.

Task

Create the gzip-compressed archive /home/student/backups/docs-site.tar.gz that:

  • contains the directory /srv/lab/projects/docs-site, stored as docs-site/... (relative paths, no leading srv/lab/projects)
  • includes every file except files ending in .tmp
  • is a valid gzip-compressed tar archive

Do not modify or delete anything in the project directory.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.