Backing up the SD card of the Raspberry Pi is really time consuming. Switch off the Raspberry, remove the card, insert the card into the computer, create an image of the SD card, switch the card back into the Raspberry, switch it on again. Lots of manual work and downtime for the duration of the backup. Reason enough to do it all remotely via terminal session. These are the instructions for creating and restoring the backup. Works for backups of SD cards on any Linux system.