Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backup Shrink Logs
Message
De
28/01/2013 17:25:14
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Copies de sauvegarde
Titre:
Backup Shrink Logs
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01564409
Message ID:
01564409
Vues:
61
Someone has asked me a question about backups and it has been too long since I have worked with MSSql. He has an application that has about 50 databases and there is a script that runs every night to back everything up except, he has not been truncating the logs. No they are about to run out of disk space and need to recover most of the space used by the logs. Here one line of the script he is using now.
BACKUP DATABASE DATABASE_1 TO DISK = 'd:\SQLBACKUP_day1\DATABASE_1.bak' With INIT
It is my understanding that "truncate log" does not shrink the file. How can I automate the shrink file as well?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform