We are using Lyris Listsev, which runs on SQL Agent databse. We set up a backup job and code is below (all in one line) --
BACKUP DATABASE [TestLyris] TO DISK = N'E:\Backup\TestLyris.bak' WITH NOINIT , NOUNLOAD , NAME = N'TestLyris backup', NOSKIP , STATS = 10, DESCRIPTION = N'Weekly Backup', NOFORMAT
The job runs fine. However, the first night the backup file came up with 2GB. the next night, the backup file was repalced (which we want) but the file size came up with almost 4GB. The ffile size accumulates (doubles) every night. It's really scary.
Can somebody check the code? or tell me what's the proper way to do backup?
We did setup maintenance plan. Because the database is SQL agent, after making the plan into nightly job, it disappeared from the job list. And it never really ran.
thanks
BACKUP DATABASE [TestLyris] TO DISK = N'E:\Backup\TestLyris.bak' WITH NOINIT , NOUNLOAD , NAME = N'TestLyris backup', NOSKIP , STATS = 10, DESCRIPTION = N'Weekly Backup', NOFORMAT
The job runs fine. However, the first night the backup file came up with 2GB. the next night, the backup file was repalced (which we want) but the file size came up with almost 4GB. The ffile size accumulates (doubles) every night. It's really scary.
Can somebody check the code? or tell me what's the proper way to do backup?
We did setup maintenance plan. Because the database is SQL agent, after making the plan into nightly job, it disappeared from the job list. And it never really ran.
thanks