This program was developed for help administrators of Fivem servers for Windows and who wish
to implement a daily, weekly or monthly database backup policy.
You could use the command mysqldump blah blah blah, but probably the process would be
manual and the application of a different name for each backup would be great.
The source code is available at: https://github.com/galoocego/BackupBase-Fivem.git
GaloCego - BackupBase-Fivem
Portuguese manual in https://github.com/galoocego/BackupBase-Fivem.git
On github folder you will are found executable folder, in this folder you are found exe and dll for execute this program like this manual.
1. First Configuration
To start the configuration, you need run BackupBase.exe to add the necessary information for
the backup.
Image 1 shows the BackupBase.exe program open.
Image01
• Bin folder of MySQL: location where your server’s mysqldump.exe file is located, for those using Xamp, the folder is usually in c:\xamp\MySQL\bin
• Path to save file: the folder you want to save the backup, you can use a folder from OneDrive or GoogleDrive to save already in the Cloud.
• User: user of your database, usually root
• Password: if you have a password at the database, this field must be filled out.
• Database name: name of your base, vrpex, essentialmode whatever.
Image 2
After saving the data a file called conf.json will be created in the folder.
NOTE: I am not encrypting the password, probably only you have access to the server
Create a new task scheduler on Windows
The execution schedule for the database backup will be done by Windows, where you can choose whether the backup will occur daily, weekly, monthly, etc …
Open the start and type Task Scheduler.
Image 3: Start > Task Scheduler
The scheduler screen is the one in image 4, look for the Create Task button and click on it.
Image 4
Add name for your scheduler.
Image 5
Go to the Triggers tab and click New.
Image 6
In this screen you will configure when Windows should perform the Backup.
Image 7
After configuring the execution according to your needs, click on the Actions tab and then on the New button
Image 8
Now look for the program called Agendador.exe that is contained in this downloadable file
Image 9
Image 10
Image 11
Image 12
Now your Windows is ready to backup your database.
The generated file will be saved in the location you configured in item 1 of this manual.
Whenever the backup is being made, the screen of image 13 will be presented. Don’t worry, it will close on its own after 30 seconds.
Image 13
NOTE: The generated file will have the name backup<date_and_hour> .sql
GaloCego#9290