Page 1 of 3

XAMPP Auto Backup

PostPosted: 24. January 2023 03:40
by xiro911
How to automatically backup XAMPP? I am using XAMPP version 5.5.36 :)

Re: XAMPP Auto Backup

PostPosted: 24. January 2023 22:41
by Nobbie
There is no auto backup for Xampp.

Instead install a backup software and do a backup of c:/xampp on a regularly base.

Re: XAMPP Auto Backup

PostPosted: 25. January 2023 08:06
by xiro911
Nobbie wrote:There is no auto backup for Xampp.

Instead install a backup software and do a backup of c:/xampp on a regularly base.


I only need a specific database from XAMPP the MySQL database. It is so sad to hear this so we could not automate our XAMPP backup :(

Thanks for this anyway!

Re: XAMPP Auto Backup

PostPosted: 25. January 2023 20:16
by Nobbie
xiro911 wrote:It is so sad to hear this so we could not automate our XAMPP backup :(


You got that wrong. Of course you can (at least, I can), but Xampp itself does not provide a tool. But its more or less quite easy to implement a scheduled backup of your database. You only need any scheduler and trigger a backup of your data. Either simply copy the data folder, or use "mysqldump" from the MySQL binaries to backup certain databases. Actually, that is not a difficult task to implement.

Re: XAMPP Auto Backup

PostPosted: 25. January 2023 22:55
by Froosh
Sadly, many people seem to want everything, even with free software, taken care of everything for them.

There are plenty of ways this can be done with either backup software, or a shell script. Backup software might cost money, but perhaps simplifies things. Personally, I approach this with a Windows Task Scheduler and a script. Works like a charm, and cost nothing but my time to set it up.

Re: XAMPP Auto Backup

PostPosted: 26. January 2023 04:27
by xiro911
Froosh wrote:Sadly, many people seem to want everything, even with free software, taken care of everything for them.

There are plenty of ways this can be done with either backup software, or a shell script. Backup software might cost money, but perhaps simplifies things. Personally, I approach this with a Windows Task Scheduler and a script. Works like a charm, and cost nothing but my time to set it up.


How please research youtube nothing found :(

Re: XAMPP Auto Backup

PostPosted: 26. January 2023 06:41
by xiro911
xiro911 wrote:
Froosh wrote:Sadly, many people seem to want everything, even with free software, taken care of everything for them.

There are plenty of ways this can be done with either backup software, or a shell script. Backup software might cost money, but perhaps simplifies things. Personally, I approach this with a Windows Task Scheduler and a script. Works like a charm, and cost nothing but my time to set it up.


How please research youtube nothing found :(


Backup only MySQL database on XAMPP not the whole XAMPP folder only the *.ql file from the export. I don't find the setting to automate this :(

Re: XAMPP Auto Backup

PostPosted: 26. January 2023 16:56
by Froosh
Uh, no I will do no research on you behalf. The folks posting to this forum are just regular users, like you. I do my own research when needed. Youtube is but one resource, and for this, and many things, I doubt the best.

Re: XAMPP Auto Backup

PostPosted: 27. January 2023 01:49
by xiro911
I have already done the search for the topic and all I can see was it was not possible. :(

Then here I am wondering if there is someone here who has tried this :P

Thanks anyway pal .......

Re: XAMPP Auto Backup

PostPosted: 27. January 2023 10:27
by Altrea
google for mysqldump + xampp + windows + schedule

Re: XAMPP Auto Backup

PostPosted: 27. January 2023 15:32
by Froosh
To be clear I have tried it, and I have it working just fine. Mine is a combination of a PowerShell script that I can run manually, or scheduled using Windows Task Scheduler, so it is absolutely possible.

Re: XAMPP Auto Backup

PostPosted: 30. January 2023 06:30
by xiro911
Froosh wrote:To be clear I have tried it, and I have it working just fine. Mine is a combination of a PowerShell script that I can run manually, or scheduled using Windows Task Scheduler, so it is absolutely possible.


Ok cool.. any tag or keyword to search for?

Re: XAMPP Auto Backup

PostPosted: 30. January 2023 06:31
by xiro911
Altrea wrote:google for mysqldump + xampp + windows + schedule


I will try this :)

Thanks

Re: XAMPP Auto Backup

PostPosted: 30. January 2023 09:06
by xiro911
I have already backup using the mysqldump.exe my only concern is that the manual backup versus the auto backup the size of the two sql file is not the same. Any idea about this?


Image


The one on the left is the auto backup with mysqldump.exe and runs on a batch file and the image on the right is the manual backup I am doing every day any reason why this happens or any explanation for how this happens?

Has anyone experienced this or knows the problem?

Re: XAMPP Auto Backup

PostPosted: 30. January 2023 09:26
by Altrea
no