anchor.diff:  init([]) ->
       start(),
       {ok, _Pid} = nsync:start_link(logplex_app:nsync_opts()),
  +    spawn_link(fun backup_timer/0),
       {ok, []}.
   
   %%--------------------------------------------------------------------
  
positive.code: -behaviour(gen_server).
  
  %% gen_server callbacks
  -export([start_link/0, init/1, handle_call/3, handle_cast/2, 
  	     handle_info/2, terminate/2, code_change/3]).
  
  -include_lib("logplex.hrl").
  
  -define(BLANK_SCHEMA, {0,0}).
  
  %% API functions
  start_link() ->
      gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
  
  %%====================================================================
  %% gen_server callbacks
  
negative.code:     [mnesia:add_table_copy(T, node(), Type) || {T, Type} <- Copies],
      mnesia:wait_for_tables(mnesia:system_info(tables), 60000),
      ok.
  
  backup_timer() ->
      timer:sleep(60 * 1000),
      backup(),
      backup_timer().
  