Simple backup using tar

tar cvpzf /backup/backup.tgz –exclude=/backup –exclude=/bordel –exclude=/dev –exclude=/home –exclude=/media –exclude=/proc –exclude=/tmp –exclude=/cdrom –exclude=/mnt –exclude=/pom –exclude=/sys /

tar xvpfz backup.tgz -C /

Comments are closed.