Sign inSign up free

3. Restore One File from a Backup Archive

easy 10 XP ~5 minHands-on lab100% acceptance

Someone overwrote a config file and you need the version from last night's backup. The backup is large, so you must not unpack all of it.

The archive /srv/lab/bundle/payload.tar.gz contains a payload/ directory tree.

Task

  • Extract only payload/conf/telemetry.conf into /home/student/restore, keeping the archive's directory structure.
  • The file must end up at /home/student/restore/payload/conf/telemetry.conf and be owned by student.
  • Do not extract any other member, and leave the archive in place.

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.

Part of Linux Foundations. Next step: Create a Clean Backup Archive

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.