• Lappuse 1 no 1
  • 1
[Pamaciba] DataBase Auto BackUp By SQL Job
Arturs897Date: Pirmdiena, 28.12.2009, 08:24 | Message # 1
Group: Dzēstās





MuServeriem Kuri Stav Uz LocalDisk(D)
1.Solis
Izveido mapi iek6 D:\MuServer\, Mapes Nosaukums ''DBAutoBackUp''
2.Solis
6o SQL Job Uzstadit pec pamacibas http://murders.times.lv >>Ka Uzstadit autoresetu!

Quote
DECLARE @ads varchar(70)
SET @ads = N'D:\MuServer\DBAutoBackUp\'+REPLACE(REPLACE(CAST(getdate() AS varchar), ' ', '_'), ':', '_')
SELECT @ads
BACKUP DATABASE [MuOnline] TO DISK = @ads WITH INIT , NOUNLOAD , NAME = N'MuOnline AutoBackUp', NOSKIP , STATS = 10, NOFORMAT

->Shedule noradit laiku pec cik ilga laika datubazes automatiski saglabajas! ( man stav ik paec 3 stundam)
MuServeriem Kuri Stav Uz LocalDisk©
->veikt tos pa6us Solus kAs ir Aprakstiti sakuma!
-> Izmantot 6itadu SQL Scriptu!

Quote
DECLARE @ads varchar(70)
SET @ads = N'C:\MuServer\DBAutoBackUp\'+REPLACE(REPLACE(CAST(getdate() AS varchar), ' ', '_'), ':', '_')
SELECT @ads
BACKUP DATABASE [MuOnline] TO DISK = @ads WITH INIT , NOUNLOAD , NAME = N'MuOnline AutoBackUp', NOSKIP , STATS = 10, NOFORMAT


Darbojas 100% pac testeju!

 
  • Lappuse 1 no 1
  • 1
Meklēšana:
Izvelne
Ieeja
Trešdiena
06.11.2024
08:36


Baneri
Top Site Statistika - TopSite.lv

free counters