I have almost an entire day trying to create a mirror backup of the root folder of my ubuntu linux. Install the rsync and create a script with the following content:
#!bin/bash rsync -rtvpl / /home/julian/Escritorio/copiaRsync/
the big problem is that some files are copied, others are not, in some cases it shows me errors, the script I'm executing as root and I gave it execution permissions with the following command: chmod + x rsync.sh. Other problems is that they are copied with permissions that block the folders, I leave attached some images so that they see the backup copy.
What I can do? I do not know what to try so that the copy is generated exactly the same as the source files. the files of origin are not blocked and when the copy generates them to me with permissions, I do not understand.