Hello to everyone
I need an help about what is the best procedure to backup an entire linux system over an external Drive.
I was thinking to use tar with the following option:
tar -cvzpf /media/user/externaldisk/full_backup_linux.tar.gz --exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/lost+found --exclude=/media /
and if i need to create a log is correct the followinf comand?
tar -cvzpf /media/user/externaldisk/full_backup_linux.tar.gz --exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/lost+found --exclude=/media / &> /media/error.log
But i really don't know if it is the best way to do it. we just need to save the systems because the data and the config files of this workstation are spread everywhere in the file system.
Thanks for the help