Problem with backup after 9.0 install....need help!
Last night I did a fresh install of 9 from 8.2. Before I installed I backed up my /home directory to my windows drive (1.2GB in size). After the install I decided to get some stuff from my backup and when I tried to open it (I tar'd it), I got a notice saying the file doesn't exist. Now when I backed it up, I did the following "tar -czvf /mnt/windows/C/tmp/backup.zip /home/tom" When I look at my windows drive, I can see the file in there and the size is 1.2gb. I have another zip file which I did of my /srv directory and I can't access that either. My new fstab of the windows drive says it mounts to /windows/C while my old fstab has it at /mnt/windows/C. Could that be my problem? I also transfered a couple single files into the same location and those work fine...although they were not tar'd. Anyone have any thoughts????? Thanks, Tom -- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
On Fri, 2003-10-31 at 12:24, Tom Nielsen wrote:
Last night I did a fresh install of 9 from 8.2. Before I installed I backed up my /home directory to my windows drive (1.2GB in size). After the install I decided to get some stuff from my backup and when I tried to open it (I tar'd it), I got a notice saying the file doesn't exist.
Now when I backed it up, I did the following "tar -czvf /mnt/windows/C/tmp/backup.zip /home/tom" When I look at my windows drive, I can see the file in there and the size is 1.2gb. I have another zip file which I did of my /srv directory and I can't access that either.
My new fstab of the windows drive says it mounts to /windows/C while my old fstab has it at /mnt/windows/C. Could that be my problem? I also transfered a couple single files into the same location and those work fine...although they were not tar'd.
Anyone have any thoughts?????
Thanks, Tom
-- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
On Fri, 2003-10-31 at 12:24, Tom Nielsen wrote: <snippage>
Now when I backed it up, I did the following "tar -czvf /mnt/windows/C/tmp/backup.zip /home/tom" When I look at my windows drive, I can see the file in there and the size is 1.2gb. I have another zip file which I did of my /srv directory and I can't access that either.
I don't have an answer that you will like, but I can sympathize , and do. I lost a whole months work that way, tho in my case it was all Linux stuff <sigh> Someone told me then that there is (often?) trouble w/ tared archives. Tho I'm sure many never have even a sniff of a
On Friday 31 October 2003 07:37 pm, Tom Nielsen wrote: problem, I just bought more cd's and backup uncompressed files .. That is uncompressed unless the file is a download that I got tarred , zipped , gzipped etc. Those seem most of the time to be okay.. IT sounds like your files might still be intact. Mine gave the impression that everything was peachy.. it wasn't, adn to thig day I can't get anything more than I got when I tried to put it back onto a nice clean new install..
On Fri, 2003-10-31 at 14:50, jfweber@bellsouth.net wrote:
Now when I backed it up, I did the following "tar -czvf /mnt/windows/C/tmp/backup.zip /home/tom" When I look at my windows drive, I can see the file in there and the size is 1.2gb. I have another zip file which I did of my /srv directory and I can't access that either. I don't have an answer that you will like, but I can sympathize , and do. I lost a whole months work that way, tho in my case it was all Linux stuff <sigh> Someone told me then that there is (often?) trouble w/ tared archives. Tho I'm sure many never have even a sniff of a problem, I just bought more cd's and backup uncompressed files .. That is uncompressed unless the file is a download that I got tarred , zipped , gzipped etc. Those seem most of the time to be okay.. IT sounds like your files might still be intact. Mine gave the impression that everything was peachy.. it wasn't, adn to thig day I can't get anything more than I got when I tried to put it back onto a nice clean new install..
I'll try to log into windows and see if I can unzip from there. tom -- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
-----Original Message----- From: Tom Nielsen <tom@neuro-logic.com> To: Suse <suse-linux-e@suse.com> Date: Sat, 01 Nov 2003 09:47:43 -0800 Subject: Re: [SLE] Problem with backup after 9.0 install....need help! (anyone???)
On Fri, 2003-10-31 at 14:50, jfweber@bellsouth.net wrote:
Now when I backed it up, I did the following "tar -czvf /mnt/windows/C/tmp/backup.zip /home/tom" When I look at my windows drive, I can see the file in there and the size is 1.2gb. I have another zip file which I did of my /srv directory and I can't access that either. I don't have an answer that you will like, but I can sympathize , and do. I lost a whole months work that way, tho in my case it was all Linux stuff <sigh> Someone told me then that there is (often?) trouble w/ tared archives. Tho I'm sure many never have even a sniff of a problem, I just bought more cd's and backup uncompressed files .. That is uncompressed unless the file is a download that I got tarred , zipped , gzipped etc. Those seem most of the time to be okay.. IT sounds like your files might still be intact. Mine gave the impression that everything was peachy.. it wasn't, adn to thig day I can't get anything more than I got when I tried to put it back onto a nice clean new install..
I'll try to log into windows and see if I can unzip from there.
tom
You can't AFAIK use windows to "unzip" a tar file. It isn't in zip format it's tarred. That like trying to read an openoffice spreadsheet with vi, it just won't work. That fact the the file was given a ".zip" extension does not make it a zip file. Ken
On Saturday 01 November 2003 14:48, Ken Schneider wrote:
From: Tom Nielsen <tom@neuro-logic.com>
On Fri, 2003-10-31 at 14:50, jfweber@bellsouth.net wrote: You can't AFAIK use windows to "unzip" a tar file. It isn't in zip format it's tarred. That like trying to read an openoffice spreadsheet with vi,
Winzip handles tar archives just fine, see http://www.winzip.com/aboutzip.htm. I'm sure there are other Windows programs as well. Michael
-----Original Message----- From: Michael Siefritz <suse-linux-e@msiefritz.fastmail.fm> To: suse-linux-e@suse.com Date: Sat, 1 Nov 2003 14:59:52 -0800 Subject: Re: [SLE] Problem with backup after 9.0 install....need help! (anyone???)
From: Tom Nielsen <tom@neuro-logic.com>
On Fri, 2003-10-31 at 14:50, jfweber@bellsouth.net wrote: You can't AFAIK use windows to "unzip" a tar file. It isn't in zip
On Saturday 01 November 2003 14:48, Ken Schneider wrote: format
it's tarred. That like trying to read an openoffice spreadsheet with vi,
Winzip handles tar archives just fine, see http://www.winzip.com/aboutzip.htm. I'm sure there are other Windows programs as well.
Michael
I stand corrected. Don't use windows much unless I have to at work. Ken
I managed to get it working. I ran "tar xvzf ./backup.zip" and everything extracted to my /windows/C/tmp directory. It made a new folder called /home/tom/blah. I also managed to just extract certain folders, with the help of Sid Boyce. He suggested I run "tar jcBpfv /XXX/backup.zip /home" That didn't exactly work, but running "tar -xczf /backup.zip home/tom/images" did extract the files I wanted...just in the directory where the zip file was located. Not a big deal..I just cut and paste. If anyone has any questions....for heaven sakes, don't ask me. I've done so much tonight I can't remember why I was doing this at all. Thanks to all....and to all a good night. Tom On Sat, 2003-11-01 at 09:47, Tom Nielsen wrote:
On Fri, 2003-10-31 at 14:50, jfweber@bellsouth.net wrote:
Now when I backed it up, I did the following "tar -czvf /mnt/windows/C/tmp/backup.zip /home/tom" When I look at my windows drive, I can see the file in there and the size is 1.2gb. I have another zip file which I did of my /srv directory and I can't access that either. I don't have an answer that you will like, but I can sympathize , and do. I lost a whole months work that way, tho in my case it was all Linux stuff <sigh> Someone told me then that there is (often?) trouble w/ tared archives. Tho I'm sure many never have even a sniff of a problem, I just bought more cd's and backup uncompressed files .. That is uncompressed unless the file is a download that I got tarred , zipped , gzipped etc. Those seem most of the time to be okay.. IT sounds like your files might still be intact. Mine gave the impression that everything was peachy.. it wasn't, adn to thig day I can't get anything more than I got when I tried to put it back onto a nice clean new install..
I'll try to log into windows and see if I can unzip from there.
tom
On Friday, 31 October, 2003 14:50, jfweber@bellsouth.net wrote:
On Friday 31 October 2003 07:37 pm, Tom Nielsen wrote:
On Fri, 2003-10-31 at 12:24, Tom Nielsen wrote:
<snippage>
Now when I backed it up, I did the following "tar -czvf /mnt/windows/C/tmp/backup.zip /home/tom" When I look at my windows drive, I can see the file in there and the size is 1.2gb. I have another zip file which I did of my /srv directory and I can't access that either.
I apologize if I'm way off base on this, but so much for jumping into the middle of a thread. Have you checked the file permissions in both windoze and linux??? I have found that sometimes windoze throws its' own wonderful permissions on a file which prevent it from being accessed from linux. Nothing seems wrong with the file when looking at the permissions in linux, you just can't access the file. Boot into windoze, change the permissions of the files in windoze, then fire up linux and access the files. Give it a try. Again, if I'm off base with my suggestion, please forgive me for jumping in. Bernd -- "If you want to build a ship, don't drum up the men to gather wood, divide the work, and give orders. Instead, teach them to yearn for the vast and endless sea." Antoine de St. Exupery
On Saturday, 01 November, 2003 23:31, Bernd wrote:
On Friday, 31 October, 2003 14:50, jfweber@bellsouth.net wrote:
On Friday 31 October 2003 07:37 pm, Tom Nielsen wrote:
On Fri, 2003-10-31 at 12:24, Tom Nielsen wrote:
<snippage>
Now when I backed it up, I did the following "tar -czvf /mnt/windows/C/tmp/backup.zip /home/tom" When I look at my windows drive, I can see the file in there and the size is 1.2gb. I have another zip file which I did of my /srv directory and I can't access that either.
One other thought: You tarred a zip file and named it what? If you gzipped it with -z shouldn't it have the .gz extension? I have found that using Archive to view gzipped files, it shows absolutely nothing in the file unless it has the .gz extension. Again, if I'm off base with my suggestion, please forgive me for jumping into the middle of the thread. Bernd -- "If you want to build a ship, don't drum up the men to gather wood, divide the work, and give orders. Instead, teach them to yearn for the vast and endless sea." Antoine de St. Exupery
On Saturday 01 November 2003 12:37 am, Tom Nielsen wrote:
On Fri, 2003-10-31 at 12:24, Tom Nielsen wrote:
Last night I did a fresh install of 9 from 8.2. Before I installed I backed up my /home directory to my windows drive (1.2GB in size). After the install I decided to get some stuff from my backup and when I tried to open it (I tar'd it), I got a notice saying the file doesn't exist.
Now when I backed it up, I did the following "tar -czvf /mnt/windows/C/tmp/backup.zip /home/tom" When I look at my windows drive, I can see the file in there and the size is 1.2gb. I have another zip file which I did of my /srv directory and I can't access that either.
My new fstab of the windows drive says it mounts to /windows/C while my old fstab has it at /mnt/windows/C. Could that be my problem?
Yes, depending on the syntax used when using tar it can be fussy about only untarring to the same location. if you put /windows/fred in and ask for /win/fred out it says I do not have that file. I have used Konqueror to browse tar files to find what I want, but be warned on big files it can be _very_ slow. David
I also transfered a couple single files into the same location and those work fine...although they were not tar'd.
Anyone have any thoughts?????
Thanks, Tom
participants (6)
-
Bernd
-
david stevenson
-
jfweber@bellsouth.net
-
Ken Schneider
-
Michael Siefritz
-
Tom Nielsen