dronethought
asked on
SQL...what happens when a service is stopped and someone is logged on
Hello,
Question. I have a SQL database. It is new and currently how I back it up is I log everyone out, stop the sQL services and the database service, and drag and drop the instance (DATA) to an SSD drive.
What happens if I stop the SQL services when people are logged in? Does this lead to database corruption?
I know Symantec's backup product has an agent that backs up the database for me while people are logged in and I do not have to stop the services. The product is finally stable.
How do you backup your SQL databases, what is the best way? I watched several TECHNET videos on the subject.
Thanks,
Question. I have a SQL database. It is new and currently how I back it up is I log everyone out, stop the sQL services and the database service, and drag and drop the instance (DATA) to an SSD drive.
What happens if I stop the SQL services when people are logged in? Does this lead to database corruption?
I know Symantec's backup product has an agent that backs up the database for me while people are logged in and I do not have to stop the services. The product is finally stable.
How do you backup your SQL databases, what is the best way? I watched several TECHNET videos on the subject.
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dear Carl,
Forgot to ask, the syntax is used in which program...I am new to SQL.
Thanks.
DT
Forgot to ask, the syntax is used in which program...I am new to SQL.
Thanks.
DT
Normally it would be through SQL Server Management Studio, sqlcmd (command-line client), or as part of a scheduled SQL Server Agent job.
ASKER
Thank you!!
ASKER