Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 417  / 3 Years ago, mon, may 10, 2021, 10:30:47

I have been trying to backup my Ubuntu machine which is a Wubi installed Ubuntu alongside Vista.



So far I have done the following
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 cpf mybackup.tgz2



    --exclude="/host/*" 
--exclude="/media/*"
--exclude="/mnt/*"
--exclude="/proc/*"
--exclude="/tmp/*"
--exclude="/sys/*"
--exclude="/home/*/gvfs/*" / (I have also tried, "/home/.../.gvfs")


and the process runs through but eventually gives me this message:
Exiting with failure status due to previous error.



I have seen on this forum, that permission denied, could be a reason for a failure status, also, I visited this site: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/225361, where there is some discussion about .gvfs as having a bug of some sort or another... the discussion is beyond me but it seems this could be the reason that I have a failure notice, (if you go to the end of the discussion on this bug site you will see that Ubuntu 11.10 still has some problem with this issue).



So my question is, does anyone know how I can get around this issue and get a clean reliable backup? I mean a backup with a failure status is not one that inspires me with confidence.



Thanks for any help,



railguide48


More From » tar

 Answers
0

To preform a complete wubi system backup copy your root.disk file from your ubuntu folder within windows to another location, if something bad happens you just need to replace the current file with the one you backed up and your system will be back to what it was at the time of the backup.



You can even mount the root.disk file within Ubuntu if you want to partially restore some files only:



sudo mkdir /mnt/rootdisk
sudo mount -o loop <path to share in windows>/root.disk /mnt/rootdisk


Will mount your root.disk to a the path /mnt/rootdisk.


[#42136] Tuesday, May 11, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tubequ

Total Points: 11
Total Questions: 113
Total Answers: 115

Location: Equatorial Guinea
Member since Thu, Oct 7, 2021
3 Years ago
;