XAMPP Auto Backup

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP Auto Backup

Postby xiro911 » 24. January 2023 03:40

How to automatically backup XAMPP? I am using XAMPP version 5.5.36 :)
xiro911
 
Posts: 20
Joined: 24. January 2023 02:58
XAMPP version: 5.6.36
Operating System: Windows Server 2019

Re: XAMPP Auto Backup

Postby Nobbie » 24. January 2023 22:41

There is no auto backup for Xampp.

Instead install a backup software and do a backup of c:/xampp on a regularly base.
Nobbie
 
Posts: 12705
Joined: 09. March 2008 13:04

Re: XAMPP Auto Backup

Postby xiro911 » 25. January 2023 08:06

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!
xiro911
 
Posts: 20
Joined: 24. January 2023 02:58
XAMPP version: 5.6.36
Operating System: Windows Server 2019

Re: XAMPP Auto Backup

Postby Nobbie » 25. January 2023 20:16

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.
Nobbie
 
Posts: 12705
Joined: 09. March 2008 13:04

Re: XAMPP Auto Backup

Postby Froosh » 25. January 2023 22:55

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.
User avatar
Froosh
 
Posts: 89
Joined: 27. March 2022 17:56
XAMPP version: 8.1.6
Operating System: Windows 11 Pro

Re: XAMPP Auto Backup

Postby xiro911 » 26. January 2023 04:27

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 :(
xiro911
 
Posts: 20
Joined: 24. January 2023 02:58
XAMPP version: 5.6.36
Operating System: Windows Server 2019

Re: XAMPP Auto Backup

Postby xiro911 » 26. January 2023 06:41

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 :(
xiro911
 
Posts: 20
Joined: 24. January 2023 02:58
XAMPP version: 5.6.36
Operating System: Windows Server 2019

Re: XAMPP Auto Backup

Postby Froosh » 26. January 2023 16:56

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.
User avatar
Froosh
 
Posts: 89
Joined: 27. March 2022 17:56
XAMPP version: 8.1.6
Operating System: Windows 11 Pro

Re: XAMPP Auto Backup

Postby xiro911 » 27. January 2023 01:49

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 .......
xiro911
 
Posts: 20
Joined: 24. January 2023 02:58
XAMPP version: 5.6.36
Operating System: Windows Server 2019

Re: XAMPP Auto Backup

Postby Altrea » 27. January 2023 10:27

google for mysqldump + xampp + windows + schedule
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11743
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: XAMPP Auto Backup

Postby Froosh » 27. January 2023 15:32

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.
User avatar
Froosh
 
Posts: 89
Joined: 27. March 2022 17:56
XAMPP version: 8.1.6
Operating System: Windows 11 Pro

Re: XAMPP Auto Backup

Postby xiro911 » 30. January 2023 06:30

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?
xiro911
 
Posts: 20
Joined: 24. January 2023 02:58
XAMPP version: 5.6.36
Operating System: Windows Server 2019

Re: XAMPP Auto Backup

Postby xiro911 » 30. January 2023 06:31

Altrea wrote:google for mysqldump + xampp + windows + schedule


I will try this :)

Thanks
xiro911
 
Posts: 20
Joined: 24. January 2023 02:58
XAMPP version: 5.6.36
Operating System: Windows Server 2019

Re: XAMPP Auto Backup

Postby xiro911 » 30. January 2023 09:06

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?
xiro911
 
Posts: 20
Joined: 24. January 2023 02:58
XAMPP version: 5.6.36
Operating System: Windows Server 2019

Re: XAMPP Auto Backup

Postby Altrea » 30. January 2023 09:26

no
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11743
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 93 guests