Sometimes there is a need to backup not only data, but also the operating system itself.
It makes sense to copy the operating system if you have installed some additional programs, have many special settings, etc.
This can be done in several ways, the simplest of which is to copy the entire partition.
For example, using the dd command.
sudo dd if=/dev/sdXY bs=1M conv=noerror | gzip -c> /folder/folder/part.dd.gz
The resulting file is a byte-by-byte copy of your partition, including not only the files, but the file system type.
From this it is clear that if the system and data, for example, the ibatyr database and screenshots, are on the same partition, this method is not suitable for you.
Of course, like any copy, it needs to be stored on another device.