Showing posts with label backup. Show all posts
Showing posts with label backup. Show all posts

tar complete system backup

#!/bin/bash tar -zcvpf /backups/fullbackup-`date +"%F"`.tar.gz / --exclude=/proc --exclude=/sys --exclude=/dev/pts --exclude=/backups --exclude=/tmp --exclude=/run --exclude=/var/run --exclude=/lost+found  --exclude=/dev --exclude=/sys --exclude=/boot/grub --exclude=/etc/fstab --exclude=/etc/network/interfaces --exclude=/etc/udev/rules.d/70-persistent-net.rules