Just a note: If you like your backups to be permanent, you might want to consider using "write all output" for all your FB backups rather than "write data". As Dave, in his widely acknowledged infinite wisdom, points out, write data has endian issues - and it also has version issues. For example, I recently had to dig out a G4 machine and install FrontBase 3 to restore an old backup created using "write data" (and even though using legacy hardware to restore old backups is fun in a nerdish kind of way, I'm too lazy to do it again, so I switched :-).

- hugi




On 9.8.2008, at 15:13, Florijan Stamenkovic wrote:

Yup, testing seems to confirm it, it is an endian issue.

Thanks David for the pointer,

F

On Aug 09, 2008, at 09:58, David Holt wrote:

Hi Flor,

This may be too obvious, but are you copying from PowerPC to Intel by any chance? If so, you need to do the backup as a "WRITE ALL OUTPUT ..." and restore on the other machine by running the script. Because of endian issues you cannot go between architectures using backup.

David

On 9-Aug-08, at 6:46 AM, Florijan Stamenkovic wrote:

Hi all,


I apologize for the off topic post, but neither google nor the FrontBase mailing list helped with this, so I figured I'd ask here, maybe somebody will be able to advise.

I am trying to port database from one computer to another. I am trying to do that by exporting backups, copying the backup to another computer, and restoring from that computer. However, I get a message:

Wrong magic number - not a backup file
Failed to restore...

Could someone point out to what "magic number" refers to, and how to work around this?

Or, if there is a better way to copy databases to and fro? An ASCII SQL dump is a pain, for multiple reasons.

Thanks,
Flor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to