Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Realm Works Forums > Realm Works Discussion
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
EightBitz
Senior Member
 
Join Date: May 2013
Posts: 1,458

Old April 14th, 2014, 06:43 AM
Quote:
Originally Posted by mantrasong View Post
[snip] I dislike the idea that I can't just make automatic copies of my database, like I do every other file, in a standard "backup changed files on my hard drive" backup system. While I am no database expert, it seems to me that a bit-by-bit binary backup, that I would restore post computer failure, ought to work regardless of hardware changes. If that isn't the case, it seems to be because it is designed in, and I'd like the reason why. At the end of the day, that's something I'd need to hear from a Lone Wolf staff, not speculation.
Nope. I've been managing backups for years. Even with professional, enterprise level backup software (the kind that costs more than most people make in a year), you can't just do a bit-by-bit backup of any database. You need specific backup agents for specific database types, and even versions.

Now, it would be nice to have a command line interface for the database export so it can be scripted and scheduled. You could put that in the feature request. Heck, maybe I will.
EightBitz is offline   #31 Reply With Quote
mirtos
Senior Member
 
Join Date: Oct 2011
Posts: 865

Old April 14th, 2014, 06:49 AM
I was thinking close to the same thing that EightBitz is saying. Since there is an export (and sync), I would like to see an auto-export/sync option. (Perhaps even based on time). I think ill put in the feature request.

Last edited by mirtos; April 14th, 2014 at 07:28 AM.
mirtos is offline   #32 Reply With Quote
davidp
Senior Member
Lone Wolf Staff
 
Join Date: Jun 2011
Posts: 1,090

Old April 14th, 2014, 07:10 AM
Quote:
Originally Posted by mantrasong View Post
I dislike the idea that I can't just make automatic copies of my database, like I do every other file, in a standard "backup changed files on my hard drive" backup system. While I am no database expert, it seems to me that a bit-by-bit binary backup, that I would restore post computer failure, ought to work regardless of hardware changes. If that isn't the case, it seems to be because it is designed in, and I'd like the reason why. At the end of the day, that's something I'd need to hear from a Lone Wolf staff, not speculation.
As long as the bit-by-bit binary backup is performed while Realm Works is NOT running, it will be fine. You would be able to restore it without a problem. If the backup is done while Realm Works is running, expect corruption and/or crashes in Realm Works when that backup is restored.
davidp is offline   #33 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old April 14th, 2014, 07:25 AM
Quote:
Originally Posted by davidp View Post
As long as the bit-by-bit binary backup is performed while Realm Works is NOT running, it will be fine. You would be able to restore it without a problem. If the backup is done while Realm Works is running, expect corruption and/or crashes in Realm Works when that backup is restored.
David, I think the main part of the question he's been concerned with earlier in this thread is if you did a backup, while Realm Works was not running, that had to be restored to a different mobo/hardware, would there be an issue?

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
Official (In the downloader)
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me)
zarlor is offline   #34 Reply With Quote
davidp
Senior Member
Lone Wolf Staff
 
Join Date: Jun 2011
Posts: 1,090

Old April 14th, 2014, 07:33 AM
Quote:
Originally Posted by zarlor View Post
David, I think the main part of the question he's been concerned with earlier in this thread is if you did a backup, while Realm Works was not running, that had to be restored to a different mobo/hardware, would there be an issue?
A request to the cloud server to get an ID used to generate ID's offline would be required in this case. This request doesn't require a cloud subscription and is needed so that if you ever do decide to sync to the server, there won't be any problems with ID's colliding with anyone else's ID's. That is the only purpose and it is not intended as a DRM mechanism in any fashion.
davidp is offline   #35 Reply With Quote
mantrasong
Junior Member
 
Join Date: Feb 2014
Posts: 11

Old April 14th, 2014, 08:31 AM
Quote:
Originally Posted by davidp View Post
A request to the cloud server to get an ID used to generate ID's offline would be required in this case. This request doesn't require a cloud subscription and is needed so that if you ever do decide to sync to the server, there won't be any problems with ID's colliding with anyone else's ID's. That is the only purpose and it is not intended as a DRM mechanism in any fashion.
So, just to be clear, in my particular case, this is what would be needed:


*Backup the database to wherever, when Realm Works is closed.
*<failure occurs/restore is needed>
*Restore that same copy of the database to the new/repaired computer
*Connect online to generate a new ID

Correct?
mantrasong is offline   #36 Reply With Quote
davidp
Senior Member
Lone Wolf Staff
 
Join Date: Jun 2011
Posts: 1,090

Old April 14th, 2014, 09:29 AM
Quote:
Originally Posted by mantrasong View Post
So, just to be clear, in my particular case, this is what would be needed:


*Backup the database to wherever, when Realm Works is closed.
*<failure occurs/restore is needed>
*Restore that same copy of the database to the new/repaired computer
*Connect online to generate a new ID

Correct?
Correct.
davidp is offline   #37 Reply With Quote
mantrasong
Junior Member
 
Join Date: Feb 2014
Posts: 11

Old April 14th, 2014, 09:56 AM
Awesome. Thanks David! And thanks again to zarlor/Lenny.

That is more or less the behavior I would expect, and not what the FAQ appears to say. I'm guessing that's intended to be the PR-speak for "don't do this", so I won't complain too much about it. That being said, I guess I need to go buy this now

Because I can't help but push my luck, what would happen if I did keep it on the network drive, and used two different computers to access it, as long as I'm only accessing the database from one computer at a time, presumably updating the ID as needed? (Again, all the usual caveats about how I know this is a bad idea, but I'm curious anyway)
mantrasong is offline   #38 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old April 14th, 2014, 10:31 AM
Quote:
Originally Posted by mantrasong View Post
Awesome. Thanks David! And thanks again to zarlor/Lenny.
You're welcome. Glad I could provide some useful info.

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
Official (In the downloader)
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me)
zarlor is offline   #39 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old April 14th, 2014, 04:55 PM
First of all, a big THANK YOU to all of the techies here who have taken the time to accurately explain the complexities of what we've already done and why putting the database on a network drive for multi-user access would be a disaster trying to happen.

Now, to clarify the concerns about the database being tied to local hardware. If you have a database on ComputerA and back it up, you can take that backup to ComputerB and restore, with NO ILL EFFECTS. If you've already logged into your account on ComputerB before doing this, everything works immediately. If ComputerB is a brand new installation that has never talked to our server, the very first thing ComputerB will require you to do is login to our server. That way, it can automatically fixup the few details that reference ComputerA in the database to now reference ComputerB - something that's done implicitly if ComputerB has already connected to our server. Once that's done, you're off and running.

As for the technical details behind this, remember that we have to be able to let users create content on multiple computers INDEPENDENTLY and OFFLINE. And we have to do this in a way that GUARANTEES that all content created on ComputerA can NEVER have an id that conflicts with content created on ComputerB. This requires that we uniquely identify each computer and coordinate that identity with our server to guarantee uniqueness. Once that's done, all new ids generated on a given computer are safely ensured to satisfy those requirements.

We key on a variety of variables to uniquely identify a given computer. If those variables change, the computer will need to contact our server to get a new "identity" value before new content can be created. Obviously, this occurs when you switch computers. However, this behavior will also occur if you're using the same machine and simply replace the network card, for example. Once the new identity is coordinated with the server, a few quick fixups are made and then you're running smoothly again, but nothing can be changed until a new "machine identity" is coordinated with the server.

There is absolutely nothing here motivated by DRM or control over how you access stuff, and it's personally very frustrating when that's the reaction many consumers have had to this architecture. In reality, it's all dictated by the desire to let users have MAXIMUM FLEXIBILITY in how and when they access their content, but we have to also guarantee that all that flexibility NEVER yields a conflict that will CORRUPT their data. It's a very difficult task that we could have simply solved by requiring users to always be online. But that wasn't our objective, and I'm very confident that allowing users to work offline is a huge benefit offered by Realm Works. The problem is that the flexibility has a trivial (IMO) cost, which is that we have to lock the client databases to specific machines in order to ensure everything works correctly.

I hope this all makes sense and helps alleviate the concerns over DRM and control.
rob is offline   #40 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:02 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.