Topic: backup not working from settings

when I backup from a remote folder I save the app database and not that of the folder specified in the settings path.

Domebil

Re: backup not working from settings

Unfortunately I can't understand the question.

Dmitry.

3 (edited by domebil 2017-10-17 15:59:03)

Re: backup not working from settings

I have to make a backup from a remote folder

Post's attachments

Attachment icon backup.jpg 37.12 kb, 213 downloads since 2017-10-17 

Domebil

Re: backup not working from settings

domebil,

I'm not sure if there is a function within MVD to determine the active database for a project. However, the settings.ini file contains a line with the filepath to your active database if you have renamed your database or your database is in another drive or path. It is the 4th line down in the settings.ini file and it contains "server=....\....db"


I put together the attached project to demonstrate how to retrieve that line and use it to do a backup. When you run it, change the database location in the Options/Settings dialog box, then close the project and rerun it. Your database location will be displayed on the form. The backup button allows you to select the folder to place the backup.

Post's attachments

Attachment icon Backup Remote DB.zip 581.49 kb, 407 downloads since 2017-10-20 

Re: backup not working from settings

thank you so much!
ehwagner

Domebil