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 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 am trying to create a tar backup script.
I have two hard drives--a system drive and a data drive. The path to the data drive is /storage. Following this post, I went to the root of my filesytem and executed the following command:
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys --exclude=/storage /
Note that I excluded the data drive (--exclude=/storage) from the backup.
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,
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 /
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.
Fedora 14 server
I run dirvish to backup every night.
in my master.conf and default.conf for dirvish I exclude /var/backup/**
Every night after the backup completes I see in the tree directory my backup folder which contains every back up that was done.
Some folks do a manual backup, then they leave the big file, eg. backup-9.23.2012_18-55-42_user.tar.gz in their subweb, then later they do another manual backup....
I'm sure you get where I'm going here, each backup archive expands exponentially in size because it includes a backup, of the previous backup archive, of the previous backup archive, etc. etc.