I have buying me a little home server for backup my personal files like pictures and other files. This server runs booting from USB stick. I have setup the system with RAID 1 with mdadm to mirroring my files on two hard drives.
While I'm not advanced in Linux and I'm afraid of damaging something in my system I want to backup my root directory / to my hard drives /mnt/disk/public. This directory containing all my files from my hard drives.
Now my question:
I have found some snippet:
rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /path/to/backup/folder
Would it be enough in my case to do a full backup with all permissions to simply backup and restore my server with all permissions and settings and exclude /mnt/disk/public to my disks in /mnt/disk/public?
Or is there a tool to do full system backups?