# List of files/directories to exclude from backups
# See rsync's manual page for syntax details

# Nowadays those directories are tmpfs mounts, which are purposefully avoided
# by this script, but we explicitely exclude them in case we're backing up an
# ancient system
/proc/**
/run/**
/sys/**
/tmp/**
/var/lock/**
/var/run/**

# Mount points
/mnt/*/**

# MySQL is backed up differently
/var/lib/mysql/**

# These can be easily rebuilt
/var/cache/apt/*
/var/cache/apt/archives/*
/var/lib/apt/lists/*
/var/lib/apt/lists/partial/*
/var/lib/apt/lists/auxfiles/*
/var/lib/mlocate/**
/root/.cache/**
/home/*/.cache/**
/home/*/.thunderbird/**/*.msf
/home/*/.icedove/**/*.msf

# We don't want these
/home/*/.xsession-errors
