Hello everybody. There is a problem.
When I try to do automatic backups(sample copy of account):
Each new backup archive has the same mass. What am I doing wrong?Code:@echo off set user=my_login set pass=my_pass set path=d:\backup set dbname1=account c:\windows\system32\pdate.exe "\s\e\t \d\m\=H-M" > tmp.bat call tmp.bat del tmp.bat set cp_time=%dm% mkdir %path%\%dbname1%\%date% OSQL -U%user% -P%pass% -n -Q "BACKUP DATABASE %dbname1% TO DISK = '%path%\%dbname1%\%date%\%dbname1%_%date%-%cp_time%.backup'"
Sorry for my bad english


Reply With Quote


