Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Replace BAK file on each backup job

$
0
0

Hi,

The thing is that my command doesn´t replace the file and it adds the backup to the previous one, so it grows and grows in the time. Any ideas?

thanks!

BACKUP DATABASE [mydb] TO  DISK = N'C:\Users\Administrador.Documents\Visual Studio 2010\Projects\BAKs BBDD\mybackup.bak' WITH NOFORMAT, NOINIT,  NAME = N'my_backup', SKIP, REWIND, NOUNLOAD,  STATS = 10


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>