https://ostechnix.com/backup-entire-linux-system-using-rsync/
How To Backup Your Entire Linux System Using Rsync