Thanks Steve and Jonathan D.,
In response to Steve's questions:
" We have not tried the sync mechanism on Windows 7. Can you fill us
in
what is involved with that? Later in the message you mentioned Windows
Live Sync. Is that what you were using? "
I am using Windows Live Sync, which is free and allows syncing of
folders. As long as user names, drive letters, and folder structure
is the same on both computers, it can work with files where the path
name must be maintained (ie., in this case, both computers would store
SIL's data files in exactly the same location, as both are Windows 7
computers and I work under the same username on each).
"You're not trying to sync edits that you have done on both machines,
right?"
Right -- basically, I have one database and I am the only user.
Currently I've returned from an extended period of field research and
I have a lot of material in Word files, including notes on language
(word definitions, etc) that I manage with FLEX. As I go through
these word documents, I enter material into FLEX. Usually I work on
my desktop, but sometimes I am on the road with the laptop. Prior to
leaving, and after returning from trips, I sync data across the two
computers. So, essentially, I pass the same database back and forth,
and use it serially first on one computer and then on the other.
Unfortunately, I often forget to backup my project, especially on my
desktop, prior to going out on the road.
"I'm surprised that you managed to delete the files of that directory.
Usually the database engine, SQL Server, has those in use, and refuses
to give you the opportunity to do that. Typically you have to shut
down
the database engine first. But maybe you did that? "
Hmmm, not sure about this. I deleted to files when Fieldworks was not
running (but I don't know if the database engine was running in the
background anyway?). My guess was that Fieldworks would have to be
off, for just the reason you mention, ie., that if the files were in
use they could not be accessed/copied/written. The intention is to
have the files sync after each save/exit, and not during use (ie., not
real time synching of entries on simultaneously running instances of
fieldworks). For this reason, there would always have been .mdf
and .ldf files in existence in the folder, and Fieldworks / SQL would
never have to create a new one.
Jonathan D.: I will look at whether it is possible to get Live Sync
to run as an adminstrator, although it operates very much in the
background (it starts up with startup programs, and keeps folders in
sync by continually monitoring them and then insuring that the synced
folders on each computer always have the latest version of a a given
file). Thanks.
So, I think for now I will stick with the Backup/Restore process,
although sync-ing, and cloud computing generally, would be an
interesting future direction for Fieldworks. If anyone figures out
how to do this, though, I'd be grateful for your help.
Thank you,
jonathan