- Joined
- May 11, 2004
- Messages
- 3,252
- Reaction score
- 6
Hi to all MU Server admin, this guide will help you backup your database using sql job agent.
Above is the Script which will backup your database
now go to Start>All programs>Microsoft SQL Server>Enterprise Manager
Follow the image below.
Note: ON the Script above(the one has red color) it must exist or else the job will gives you a error.
1.
2.
3.
4.
5.
6.
7.
8.
Ok, when you finish, you may Right Click the Job and select Start Job
The job continue to occure depends on the Occure Time you set for that Job.
Credits:
mafiux for the new script
DWT
Code:
DECLARE @file varchar(70)
SET @file = N'D:\BACKUP'+REPLACE(REPLACE(CAST(getdate() AS varchar), ' ', '_'), ':', '_')
SELECT @file
BACKUP DATABASE [MuOnline] TO DISK = @file WITH INIT , NOUNLOAD , NAME = N'MuOnline backup', NOSKIP , STATS = 10, NOFORMAT
Above is the Script which will backup your database
now go to Start>All programs>Microsoft SQL Server>Enterprise Manager
Follow the image below.
Note: ON the Script above(the one has red color) it must exist or else the job will gives you a error.
1.
2.
3.
4.
5.
6.
7.
8.
Ok, when you finish, you may Right Click the Job and select Start Job
The job continue to occure depends on the Occure Time you set for that Job.
Credits:
mafiux for the new script
DWT
Last edited:
It shows no erorr but it wont start.. :bad:
