syncing databases


DashDave
 Share

Recommended Posts

I have been using BTSync for a few months now and would like to ask the following question. Can I use it to backup databases?  We have a CRM system that uses DBF as its database, along with seperate indexes and many other files that work together.

 

If I sync the folder that contains this application with a read only secret, the database when opened on the 2nd (sync'ed) PC is find but miles out of date.

 

If I use a normal secret the database gets errors on both PCs even though the 2nd machine is not used at all, just a backup really.

 

Should I be trying to use it like this?  What about open file backup?

 

Machine 1 is a Win 2003 server and Machine 2 is a Windows 2012 server (VM) both on gig lan.

 

Dave

Link to comment
Share on other sites

It's important to note that Sync won't sync files that are open/in use/locked by another application, as it common with databases. Sync will only be able to Sync them once they are closed by their respective applications.

 

Therefore, Sync is not ideal if you require databases to be constantly in-sync in "real-time".

Link to comment
Share on other sites

It's important to note that Sync won't sync files that are open/in use/locked by another application, as it common with databases. Sync will only be able to Sync them once they are closed by their respective applications.

 

Therefore, Sync is not ideal if you require databases to be constantly in-sync in "real-time".

I understand this and ideally would only sync the files over night if there was a way to schedule Syncing.  But the file are closed every night so I would have expeced that BTSync would catch up every 24 hours, but this is not the case.  If I open the database on the 2nd machine and compare recent updates, some are days or weeks behind.

 

I suspect that this is because the files are copied "when available" by BTSync and so the indexes and subordanate files get out of step. I could do with a way to prevent copying any of the files until all of them are closed.  I'll have a think...

 

Cheers!  Dave

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share