/    Sign up×
Community /Pin to ProfileBookmark

automatated mysql db

Ok i’ve looked in to making an automated backup thing for my server databases. mysql.com says a good thing to use is the mysqldump –opt but i can’t get it to work. I have a bat file created right now that automaticly backups ms access databases every monday and friday. we would like to have it backup the mysql ones to a sql file also.

anywho any help appriciated like always.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@silent11Nov 24.2004 — % mysqldump -hDatabaseServer -uUser -pPassword DatabaseToBackup > /path/to/dump.sql


works like a charm for me.
Copy linkTweet thisAlerts:
@GenixdeaeauthorNov 24.2004 — when i do that i get mysqldump is not a recognized command, document, ect.

what i would ulimatly like is to have it run in the batch(.bat) file and have it save with the date on it(that way we know which one it is).
×

Success!

Help @Genixdeae spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...