Automatic backup to server / sync to cloud

Discuss New Feature Requests and Enhancements to Money Manager Ex

Moderator: Renato

Post Reply
florinbuda
New MMEX User
Posts: 5
Joined: Tue Sep 01, 2020 7:37 pm
Are you a spam bot?: No

Automatic backup to server / sync to cloud

Post by florinbuda »

Hello,

on windows I made a .bat file that automatically uploads my file to a backup server after each usage of MMEX.

Could somebody implement and "Command/script to run on start" and "Command/script to run after close"?

Because with this simple features it would easily implement the automatic backup/restore/cloud sync.
mikhailo2608il
Super MMEX User
Posts: 35
Joined: Tue Jun 12, 2018 3:36 am
Are you a spam bot?: No

Re: Automatic backup to server / sync to cloud

Post by mikhailo2608il »

I execute MMEX on a Windows PC which has a command line interface that can run executable commands like bat files. This is a stellar suggestion for Windows. I do not know how well that other platforms that MMEX runs on support such command line interfaces.
Nikolay
MMEX Developer
Posts: 1432
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Automatic backup to server / sync to cloud

Post by Nikolay »

Nikolay
MMEX Developer
Posts: 1432
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Automatic backup to server / sync to cloud

Post by Nikolay »

florinbuda
New MMEX User
Posts: 5
Joined: Tue Sep 01, 2020 7:37 pm
Are you a spam bot?: No

Re: Automatic backup to server / sync to cloud

Post by florinbuda »

Actually .bat file that make upload is simple:
mmex-1.3.5-win64c\bin\mmex.exe
TIMEOUT /T 10
curl-7.64.1\AMD64\curl.exe -F "fileToUpload=@money.mmb" http://someserver.ro/bk/bk.php
TIMEOUT /T 2
curl-7.64.1\AMD64\curl.exe -F "fileToUpload=@datorii.mmb" http://someserver.ro/bk/bk.php
TIMEOUT /T 5
First line opens the MMEX and waits until is stopped and I use CURL to upload things..

But i wanted to know if you like the ideea and embed this into MMEX
Post Reply