How to grab a copy of my sql 2012 database

I am no database administrator but our support company has requested we send them a copy of the sql database to our support company to help them investigate a fault on the system.

Can someone point me to a step by step on how to take a copy of an sql databse?
Thank you
Gospodin RasputinIT ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Deepak ChauhanSQL Server DBACommented:
No worry it is simple.

1. Connect SQL server using SSMS (SQL server management studio)
2. Click on New Query.
3 execute this command but please replace <databasename> with your database Name ,
backup file name and location.

 BACKUP DATABASE <DatabaseName> TO  
DISK = N'D:\Backup\DatabaseName_Date.bak'
WITH NOFORMAT, NOINIT, SKIP, NOREWIND, NOUNLOAD, COMPRESSION,  STATS = 10
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vitor MontalvãoMSSQL Senior EngineerCommented:
Or if you already have a backup maintenance plan just send them the last full backup file. They'll be able to restore it in their environment.
0
Gospodin RasputinIT  ManagerAuthor Commented:
Thanks that worked like magic. I also discovered their application has a DBMgmttool which I could use the following command (similar to yours above) from within the application installation directory so it backs up and zips the database:
DBMgmttool /BACKUP
    /AUTO
    /SERVER=<SERVER NAME>
    /DATABASE=<Database Name>
    /USER=<Application's user name>
    /PASSWORD=<Application's Users Password>
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.