I use a variant of the simple script below from the Community Ubuntu Documentation described
tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/proc --exclude=/lost+found --exclude=/sys --exclude=/mnt --exclude=/media --exclude=/dev /
I used it again on Ubuntu 12.04 and I saw some files from the /run being skipped by the script.
I want to restore a complete tar backup of Ubuntu 12.04 with all my customizations, documents, installed software, etc. to a different machine.
I am trying to create a tar backup script.
Hi,
I'm trying to run a command from an ubuntu howto page, but there's something wrong with it that i dont understand?
Can you point it out please?
Thanks
root@nnjond-desktop:/# tar -cvpzf backup.tar.gz -exclude=/backup.tar.gz --exclude=/proc --exclude=/lost+found --exclude=/sys --exclude=/mnt --exclude=/media --exclude=/dev /
Im new to linux backup.
Im thinking of full system backup of my linux server using tar.
I came up with the following code:
tar -zcvpf /archive/fullbackup.tar.gz
--exclude=/archive
--exclude=/mnt
--exclude=/proc
--exclude=/lost+found
--exclude=/dev
--exclude=/sys
--exclude=/tmp
/
and if in need of any hardware problem, restore it with
cd /
tar -zxpvf fullbackup.tar.gz
But does my ab
Hi,
One of the system that I have has lot of disk errors. To be safe, I want to backup the system in case of disaster. To backup the system, I did this tar command but it's also doing the NFS mount on the system. Please advice, how to exclude all the NFS mount point, and only tar the system itself.
I have written a rsync-based system backup for my Linux system. The aim is to be able to redeploy the system entirely from the saves, so I don't only backup homedirs. I have excluded a few top-level directories from the backup: /proc, /sys, /mnt, /tmp.
I wonder whether I can exclude /run and still be able to get a viable save?
I have a old laptop I installed Ubuntu 12.04 on.
Hi,
I created a system restore file.
code:
tar cvpzf sysrestor.tgz --exclude=/proc --exclude=/lost+found --exclude=/sysrestor.tgz --exclude=/mnt --exclude=/sys /
And hav tried out:
ctl alt F4
root@ desktop:# tar -cxvpfz sysrestor.tgz /