Disk died - backup unreadable

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Disk died - backup unreadable

Andrew Greig
Hi All,
I have had a disk die the day after I saved all my data files from Gnucash to
DVD.  Unfortunately the the files on the CD have appropriate size, but on
trying to copy them to my new hard drive I get the message that the files
cannot be read.  On trying to open a 940K data file from the DVD I get the
warning about radonly files, but after proceeding a Gnucash message appears
which states that the file is empty.  I tried copying the whole iso to disk
and then mounting it in loopback, which was successful for most of my other
stuff.  I tried opening the last data file in vi but nothing showed up.  
Could not view it in mc.  Are there any answers to this dilemma?
--
Yours faithfully

Andrew Greig
Melbourne, Australia
_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: Disk died - backup unreadable

Derek Atkins
Um, what do you get from:

  ls -l

This sounds like a backup problem, not a gnucash problem...

-derek

Quoting Andrew Greig <[hidden email]>:

> Hi All,
> I have had a disk die the day after I saved all my data files from Gnucash to
> DVD.  Unfortunately the the files on the CD have appropriate size, but on
> trying to copy them to my new hard drive I get the message that the files
> cannot be read.  On trying to open a 940K data file from the DVD I get the
> warning about radonly files, but after proceeding a Gnucash message appears
> which states that the file is empty.  I tried copying the whole iso to disk
> and then mounting it in loopback, which was successful for most of my other
> stuff.  I tried opening the last data file in vi but nothing showed up.
> Could not view it in mc.  Are there any answers to this dilemma?
> --
> Yours faithfully
>
> Andrew Greig
> Melbourne, Australia
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>



--
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [hidden email]                        PGP key available

_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: Disk died - backup unreadable

Andrew Greig
Hi Derek,

It may be, but is it normal for the .xac files to be have very long names and
around 4 dates in them? The last of which is the latest save.  What viewer
should I be using to try and see if the data is useable?  

here is the ls -l output on the last couple of files:

-r-xr-xr-x  1 root root 962856 Apr 17 21:56
Andrew_Greig.20050805231538.xac.2005                                          
0831171718.xac.20051118160229.xac.20051129065021.xac.20051205075642.xac.20060420                                          
102619.xac*
-r--r--r--  1 root root   1408 Apr 28 14:29
Andrew_Greig.20050805231538.xac.2005                                          
0831171718.xac.20051118160229.xac.20051129065021.xac.20051205075642.xac.20060428                                          
142944.log
-r-xr-xr-x  1 root root 968385 Apr 20 10:26
Andrew_Greig.20050805231538.xac.2005                                          
0831171718.xac.20051118160229.xac.20051129065021.xac.20051205075642.xac.20060428                                          
142956.xac*
-r-xr-xr-x  1 root root 270127 Dec  5 07:57 gnucash_helpwithPetty_Cash.pdf*
-r-xr-xr-x  1 root root 252839 Dec  5 07:57 Gnucash_vendor_payments_tip.pdf*

Thanks
Andrew

On Thu, 4 May 2006 01:17 am, Derek Atkins wrote:

> Um, what do you get from:
>
>   ls -l
>
> This sounds like a backup problem, not a gnucash problem...
>
> -derek
>
> Quoting Andrew Greig <[hidden email]>:
> > Hi All,
> > I have had a disk die the day after I saved all my data files from
> > Gnucash to DVD.  Unfortunately the the files on the CD have appropriate
> > size, but on trying to copy them to my new hard drive I get the message
> > that the files cannot be read.  On trying to open a 940K data file from
> > the DVD I get the warning about radonly files, but after proceeding a
> > Gnucash message appears which states that the file is empty.  I tried
> > copying the whole iso to disk and then mounting it in loopback, which was
> > successful for most of my other stuff.  I tried opening the last data
> > file in vi but nothing showed up. Could not view it in mc.  Are there any
> > answers to this dilemma? --
> > Yours faithfully
> >
> > Andrew Greig
> > Melbourne, Australia
> > _______________________________________________
> > gnucash-user mailing list
> > [hidden email]
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > -----
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.

--
Yours faithfully

Andrew Greig
0418 581 649
_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: Disk died - backup unreadable

David Hampton-2
On Wed, 2006-05-03 at 19:51 +1000, Andrew Greig wrote:
> Hi Derek,
>
> It may be, but is it normal for the .xac files to be have very long names and
> around 4 dates in them?

No. It means that more than once you opened a backup file ans started
using it as  your regular data file.

> The last of which is the latest save.  What viewer
> should I be using to try and see if the data is useable?  
>
> here is the ls -l output on the last couple of files:
>
> -r-xr-xr-x  1 root root 962856 Apr 17 21:56
> Andrew_Greig.20050805231538.xac.2005                                          
> 0831171718.xac.20051118160229.xac.20051129065021.xac.20051205075642.xac.20060420                                          
> 102619.xac*

The original data file was Andrew_Greig.  On or after 8/5/2005 you
opened a backup file and started using that as your main data file, thus
your backups now have two dates in them.  On 8/31, you opened another
backup file and started using that, so your backups now have three dates
in them.  And so on.

David


_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: Disk died - backup unreadable

Stewart Wright
In reply to this post by Andrew Greig
G'day Andrew,

* Andrew Greig <[hidden email]> [060503 17:09]:
> It may be, but is it normal for the .xac files to be have very long names and
> around 4 dates in them? The last of which is the latest save.  What viewer
> should I be using to try and see if the data is useable?  


You can see the type of any file (or a good guess) with the 'file'
command.  For example I just did:
  $ file Dummy.20060423162130.xac
  Dummy.20060423162130.xac: XML document text

As the .xac files, your account file(s) and the log files are all text
you can use your favourite text viewer.  I prefer 'less' for just
viewing things, but everyone has different opinions.


As for the multiple dates in the file names...  That sounds strange.
Were you using the .xac file for your accounts rather than the base
file?
  i.e Is the multi-date .xac file a .xac of a .xac of a .xac file?


Good luck.


Cheers,

S.

_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

attachment0 (302 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Disk died - backup unreadable

Dale Alspach
In reply to this post by Andrew Greig
This is slightly off topic but I noticed that the owner and group of
your files is root. Unless this is a side effect of your backup
and recovery procedure, this indicates that you are running gnucash as root.
Running any application (unless unavoidable) as root seems like asking for
trouble.

Dale Alspach


_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: Disk died - backup unreadable

Andrew Greig
On Thu, 4 May 2006 09:49 am, Dale Alspach wrote:
> This is slightly off topic but I noticed that the owner and group of
> your files is root. Unless this is a side effect of your backup
> and recovery procedure, this indicates that you are running gnucash as
> root. Running any application (unless unavoidable) as root seems like
> asking for trouble.
>
> Dale Alspach
Hi,

I will knock off a couple of issues in this one message.  I wanted my gnucash
file to be in a normal folder in my ~/ directory.  I was unaware that I was
opening a back up folder.  I did not start up gnucash by clicking on a file
but just by opening it.  I would normally save around six times in a session
and it seemed to me that the file revealed the time as well as the date.  How
do I avoid this when I set it up again, please?

Secondly the files are all showing root:root because that info was pulled from
an iso9660 fs in loopback - the DVD I was unable to copy from.  I never run
in a GUI as root - ever (honest!)  The fs is readonly and because it was just
a copy to DVD rather than a backup permissions were not preserved.  I merely
copied rather than tarred because I knew I had heaps of room, but in
hindsight that may have caused my problem.

I am advertising on the Linux lists in AU looking for the same drive so that I
may be abler to swap the controller and have some hope of recovering my data
- all 9 months of it :-(
--
Yours faithfully

Andrew Greig
0418 581 649
_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.