Creating the download file

The download file contains the data to be synchronized. To create the download file, set up your file-definition database and consolidated database as described above. Run dbmlsync with the -bc option and supply a file name with the extension .df. For example,

dbmlsync -c "uid=DBA;pwd=sql;eng=fbdl_eng;dbf=fdef.db" -v+
   -e "sv=filebased" -bc file1.df

You can also choose to specify options when you create the download file:

  • -be option   Use -be to add a string to the download file that can be accessed at the remote database using the sp_hook_dbmlsync_validate_download_file stored procedure.

    See -be option and sp_hook_dbmlsync_validate_download_file.

  • -bg option   Use the -bg option to create a download file that can be used by remotes that have never synchronized.