I looked at the other question addressing this issue but I think I might have a different setup.
I too am trying to backup my Ubuntu machine, but here is the difference. I used Wubi to install Ubuntu 11.10 alongside Vista on my laptop. I have spent considerable time getting to this point in the setup that I decided that it was probably a good bet to back it all up to my external hard-drive.
So from various sources I gathered this: First I navigated to my external hard-drive then I created a backup folder on this drive and then I entered the following from the terminal:
sudo tar cvpzf mybackup.tgz2
--exclude="/host/*" --exclude="/media/*" --exclude="/mnt/*" --exclude="/proc/*" --exclude="/tmp/*" /
and the process ran for about 20 minutes when it finally kicked out with the exiting message. I did notice the there were some read errors early on .... but it carried on processing ... then it had three 'files changes as we were reading' and 3 to 4 minutes later it exited.
Anyone have suggestions as what I can do to get this backup?
After running the backup now only with sudo tar cpf and all the previous exclusions plus adding --exclude="/dev/" I got these error:
tar: removing '/' from front of names
tar: /sys/module/bnep/sections/__mount_loc: file sharnk by 4085 bytes; padding with zeroes …. a whole bunch of these the paths are different
tar: /home/tom/.gvfs: cannot stat: permission denied
tar: /run/synaptic.socket: socket ignored …. 8 of these different folders
tar: /var/lib/citadel/data: file changes as we read it …. 5 of these different folders
Hopefully someone understands what is happening because I am a little alarmed that I have these errors ... Thanks for any help or suggestions.