Sign in to follow this  
[COI]Naaaath

SQL Backup

5 posts in this topic

Hello,

 

I thought I would share an SQL Backup .bat file, make sure you run this with Task Scheduler and change the directories to your preferences.

 

SET backupTime="%date:~0,2%-%date:~3,2%-%date:~6,6%_%time:~0,2%-%time:~3,2%"

mysqldump --user=root --password=[password] exile > E:\Backup\SQL\%backupTime%.sql

 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.