Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy Folder
Message
De
24/02/2017 02:43:35
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
24/02/2017 01:24:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01648453
Message ID:
01648455
Vues:
45
In general you don't want to try to copy the actual .MDF/.LDF files that represent your SQL Server database(s). If you try to do that you'll hit "file in use" errors such as you're seeing. Instead, use SQL Server's built-in backup function to create separate backup files, and then save those backup files someplace safe.

This is a task well suited to the SQL Agent:

https://blogs.msdn.microsoft.com/sqlagent/2010/10/12/create-a-database-backup-job-using-sql-server-management-studio/

https://blogs.msdn.microsoft.com/sqlagent/2010/10/14/creating-a-regularly-scheduled-job/

UPDATE: sorry, I had a bad link in the original post.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform