Question : SQL Server 2000 Backup File Size is Excessive

When applying changes to our web site's database, I make a backup first in case I need to roll back the changes. The database is at about 5.5 Gb in size. Until now, my manual backups have always created a backup file sized about 75 Mb. There is also a daily job which creates the backup around midnight each day and that backup file is also about 75 Mb.

But tonight, for some reason, the manual backup I generated came out to about 5 Gb in size. This took that drive to less than 5% free disk space which is how I found out about the problem.

As far as I know I created the manual backup the same as always. I verify upon completion, overwrite existing media, and save to a new disk file. I'm wondering if I did append instead of overwrite or forgot to remove the existing filename when entering the new one. Even so, I would only expect a doubling of the file size, not the full database sizing.

Can someone explain or guess at what I did or what could have happened? Thanks.

Answer : SQL Server 2000 Backup File Size is Excessive

in short, you can run following script right now and you will be done.

don't forget to change path and database name, moreover, you have to have write permission on the folder you specified for backup.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
--first transaction backup
BACKUP LOG AdventureWorks --database name
 TO  DISK = 'D:\Ritesh\adv-log.trn' --path and filename where you want to put your backup,
 WITH 
 NOUNLOAD, SKIP, NOFORMAT 
 
--full backup
BACKUP DATABASE AdventureWorks
 TO  DISK = 'D:\Ritesh\adv-fullbackup.bak'
 WITH INIT,  
 NOUNLOAD, SKIP, NOFORMAT 
Open in New Window Select All
Random Solutions  
 
programming4us programming4us