How to Back Up Parrot Linux With Timeshift and rsync

A fresh install of Parrot Linux takes you an hour. Rebuilding one from scratch after a failed disk, a botched upgrade or a careless rm -rf takes a weekend you will never get back. A working Parrot Linux backup routine is the cheapest insurance you can set up, and on a Debian-based system you really only need two tools: Timeshift for the operating system and rsync for your personal files. This guide shows you how to combine them so you can roll back a broken system without losing your documents.

Why you need two tools, not one

Beginners often assume one backup program covers everything. It does not, because system snapshots and file backups solve different problems and are restored in different ways.

  • Timeshift snapshots the operating system: the root filesystem, installed packages, and configuration in /etc. It is built to take you back to a moment before an update broke something. By default it deliberately excludes your home directory.
  • rsync copies your actual data: the files in /home, project folders, photos, and anything on external drives. It is a plain file copy you can read on any Linux machine, with no special format to decode.

Use Timeshift to recover the system and rsync to recover your life’s work. If a kernel update leaves you at a black screen, a Timeshift rollback is usually faster than reinstalling; see our guide on what to do when Parrot Linux won’t boot after an update for the recovery-mode side of that story.

Install Timeshift on Parrot Linux

Timeshift ships in the Debian repositories that Parrot Linux is built on, so installation is a single apt command. Open a terminal and run:

sudo apt update
sudo apt install timeshift

Before you take your first snapshot, decide which snapshot type fits your disk. Timeshift offers two modes:

  • RSYNC mode works on any filesystem (ext4, the common default). Snapshots use hard links, so the first one is a full copy and later ones only store what changed.
  • BTRFS mode only appears if your root is on a Btrfs filesystem with the Timeshift-compatible subvolume layout. It is near-instant and space-efficient, but most Parrot installs use ext4, so you will likely use RSYNC mode.

First snapshot and settings

Launch Timeshift from the menu or with sudo timeshift-gtk. The setup wizard asks for the snapshot type, then the destination drive. A few choices matter:

  • Destination: never store snapshots on the same partition you are protecting if you can avoid it. A separate internal disk or an always-connected external drive is far safer.
  • Schedule: for a daily-driver machine, Daily plus Boot snapshots with a sensible retention (for example 5 daily, 3 weekly) is a reasonable start.
  • Home directory: leave it excluded. Let rsync handle your data separately, as described below.

Create your first snapshot now, while the system is clean, by clicking Create or running:

sudo timeshift --create --comments "clean install" --tags D

That gives you a known-good baseline to return to. Take another one right before every major change, and especially before you update and upgrade Parrot Linux.

Back up your files with rsync

rsync is already installed on Parrot Linux. It copies only the differences between source and destination, which makes repeat backups fast. The core idea is simple: mirror your home directory to another drive.

Plug in an external drive and find its mount point with lsblk or findmnt. Suppose it mounts at /media/backup. A solid first command looks like this:

rsync -aAXv --delete 
  --exclude={".cache",".local/share/Trash",".thumbnails"} 
  /home/youruser/ /media/backup/home-youruser/

Here is what each flag does:

  • -a archive mode: preserves permissions, timestamps, symlinks and ownership.
  • -A -X keeps ACLs and extended attributes, which matters if you use them.
  • -v prints what it copies so you can watch progress.
  • --delete removes files from the backup that you deleted at the source, so the mirror stays exact. Leave this off if you would rather keep deleted files.
  • --exclude skips caches and trash that waste space and never need restoring.

Run it once by hand and read the output. The first run copies everything; later runs finish in seconds because rsync only moves changes.

A reusable backup script

Typing that command is error-prone, so put it in a script. Create ~/bin/backup-home.sh:

#!/bin/bash
set -euo pipefail
SRC="/home/$USER/"
DEST="/media/backup/home-$USER/"

if ! mountpoint -q /media/backup; then
  echo "Backup drive not mounted. Aborting." >&2
  exit 1
fi

rsync -aAX --delete 
  --exclude={".cache",".local/share/Trash",".thumbnails"} 
  "$SRC" "$DEST"

echo "Backup finished: $(date)"

The mountpoint check is the important part: it stops the script from silently “backing up” into an empty folder when the drive is not plugged in. Make it executable:

chmod +x ~/bin/backup-home.sh

Automate the file backup with cron or a systemd timer

Parrot Linux uses systemd, so you have two ways to schedule the script. Cron is simpler; a systemd timer is more flexible and logs cleanly to the journal.

For a daily cron job, run crontab -e and add:

30 20 * * * /home/youruser/bin/backup-home.sh >> /home/youruser/backup.log 2>&1

That runs at 20:30 every day and writes output to a log. For a systemd timer, create a service and timer pair under ~/.config/systemd/user/ and enable it with systemctl --user enable --now backup-home.timer. Timeshift handles its own scheduling, so you only need to automate the rsync side.

Test your restore before you need it

A backup you have never restored is a hope, not a backup. Test both tools while nothing is on fire.

For rsync, restoring is just the same command with source and destination swapped. To bring one folder back:

rsync -aAXv /media/backup/home-youruser/Documents/ /home/youruser/Documents/

For Timeshift, open the GUI, pick a snapshot, and click Restore. If the system is unbootable, boot a Parrot live USB, install Timeshift there, point it at your backup drive and restore from the live session. Practising this once means you will not be reading documentation in a panic later.

Good habits that make backups actually work

  • Keep snapshots off the main disk. A snapshot on the same failing drive disappears with it.
  • Follow 3-2-1 where you can: three copies, two kinds of media, one off-site. An encrypted copy on a drive you keep elsewhere covers theft and fire.
  • Encrypt the backup drive. If your system uses full disk encryption, your backups deserve the same. A plain external drive with your whole home directory is a privacy risk if lost.
  • Back up the VPS too. If you run Parrot Cloud Edition on a VPS, rsync over SSH to another host, or use your provider’s snapshot feature.
  • Watch disk space. rsync hard-linked Timeshift snapshots grow over time; check the destination occasionally and tune retention.

FAQ

Does Timeshift back up my personal files?

Not by default, and you should keep it that way. Timeshift excludes /home so a system rollback never wipes the documents you created since the snapshot. Use rsync for your files.

Can I use Timeshift snapshots to move to a new computer?

No. Timeshift is designed for restoring the same machine, not migrating to different hardware. For a new machine, do a clean install and copy your files back with rsync.

How much disk space do I need for backups?

Plan for at least the size of your used data plus room for several snapshots. For rsync mirrors, budget a little more than your home directory; for Timeshift, the first snapshot is a full copy and later ones only store changes. Check your current usage with df -h and du -sh /home.