[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Disable "server-data/dirty-objectdb-backup" files  XML
Forum Index -> Terracotta Platform
Author Message
Nautiyal

neo

Joined: 01/20/2014 06:20:13
Messages: 7
Offline

Is there a need to take a backup of local database in terracotta , if it determines there is a synchronization problem. It is going to fetch latest copy of data from active server and use it anyways. So what is the point in taking a backup at that time?

Is there a way to disable the whole mechanism, i.e disabling dirtyDb files?

Thanks in advance !!

-Nautiyal
twu

journeyman

Joined: 10/18/2011 12:48:09
Messages: 21
Offline

There's a tc.property (l2.nha.dirtydb.backup.enabled) that controls this. You can put it into your tc-config.xml in a <tc-properties> element like so:

Code:
   <tc-properties>
      <property name="l2.nha.dirtydb.backup.enabled" value="false"/>
   </tc-properties>
 

Nautiyal

neo

Joined: 01/20/2014 06:20:13
Messages: 7
Offline

Thank you !!

one more query :)
what are the impacts if we disable this ?

-Nautiyal
Nautiyal

neo

Joined: 01/20/2014 06:20:13
Messages: 7
Offline

what exactly DirtyDb files contains and how these file create ?

Thanks in Advance !!

-Nautiyal
twu

journeyman

Joined: 10/18/2011 12:48:09
Messages: 21
Offline

These dirty db backups are kept around as a safety net in case the server automatically deletes something that might have been useful.

With an active/passive setup you'll always have a live backup. This is only useful in cases of a failure of both active and passive and something else goes wrong causing both servers to decide to delete their databases prior to starting up.
 
Forum Index -> Terracotta Platform
Go to:   
Powered by JForum 2.1.7 © JForum Team