restoring backup

Ariel asgnucash at dsgml.com
Tue Mar 20 17:58:00 EDT 2007


On Tue, 20 Mar 2007, Arthur Dyck wrote:

> I had a hard drive failure and am now trying to reload my gnucash files.  I am
> using 2.0.1 on kubuntu edgy.

Ouch! I assume you recovered what you could? ddrescue is a good tool for 
that job.

> When I go to my saved files. I have a series of .log and .xac files which look
> like this:  2007accounts.20070317100305.log and
> 2007accounts.20070317100305.xac.  When I try to open the .xac file I get the
> following error message: The file type of
> file /home/arthur/Documents/gnucash/2007/2007 accounts.20070317100302.xac is
> unknown.

Run the command file * - it will tell you what the files are. .xac files 
are just gziped xml. If you can un-gzip them you'll be fine (just rename 
them to have a .gz extension, and you can work with them as regular 
gziped files).

> It also appears that all of my .log and .xac files are empty.

You mean 0 byte files? If they are empty there is nothing in them, and 
thus nothing to open.

> I also have some backup files from last year which look very differently:
> translog.20050605133832.log.20050611105017.xac.20050617130343.xac.20051028111030.xac.20051223081513.xac.20060105112611.
> These files open just fine.

Is that one very very very long filename?

Anyway, try running zless (or zmore) filename. If you can see the data 
that way you're OK.

 	-Ariel


More information about the gnucash-user mailing list