You are here: Home » Questions & Answers » How to / Code / Applications » How to Create Backup of Database in Sql Server using script files.

How to Create Backup of Database in Sql Server using script files.

Databases are one of the most important block in today’s age of technology. About 70% of the world’s technologies relies on a database and this demand is continuously increasing. As these database structures are massively growing, it’s a good habit to take continuous backups of your data so as to recover any loss or physical damage.

In this article, i am going to show you how to take backup of your database using script files if you are using Microsoft Sql Server. Scripts files are very small in size ( almost in kb) and hence they are one, suited for this job.

1. First open your SQL Server Management Studio from Start:

Create database backup

2. After this, point to your database on left side inside object explorer.

Right click on your database name and choose —————>  Tasks  ———–>  Generate scripts.

script files

 

3. After clicking on the Generate scripts, a new window will pop up. Click Next.
Now it is asking you that if you want to generate script for whole database or particular tables. Choose the appropriate option and again click next.
After this choose the desired location you want your script to be saved at.
It should look like this:

generate script files

 

4. Finally click next on the summary and then click finish.

You have finally generated your script files to save them as your backup. Enjoy.

About Ansh

Ansh is Webloggerz.com's Founder & Editor. His interests include WordPress Theme Development, Blogging & Traveling. You can be friend with him on:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv badge
Scroll To Top