New
Back
Database Management

Reliable database management for modern, high-performance systems.

Back
Data Modernisation

Reliable database management for modern, high-performance systems.

Back
Data Engineering

Reliable database management for modern, high-performance systems.

Back
Analytics & Intelligence

Reliable database management for modern, high-performance systems.

Back
Data Strategy Consulting

Reliable database management for modern, high-performance systems.

Backing up a single table with its data from a database and restoring it on different database

Kiran Thangam
Published on
April 1, 2021

Step 1: Choose the database and its table for which you want to take the table backup. (In my example: I use database Kiran and table dbo.Customer)

Step 2: Next, right click on the database and select tasks -> Generate Scripts option.

Step 3: Generate and publish script dialogue box will pop up, now click next.

Step 4: Next, checkbox the particular table for which you want to take the backup then click next. (In my example: I used dbo.Customer table for the backup)

Step 5: Next, scripting options dialogue box will pop up, now click on the advanced button and scroll down to the 'Types of data to script' option and choose scheme and data option, then click ok.

Types of data to script option

Step 6: Review, the summary and click next.

Step 7: Next, click on finish to complete the wizard.

Step 8: Now, modify the database name on the script "use [database name]" where you want to restore the backed-up table and then execute the command.(In my example: I restored the table on database Geopits_demo)

Step 9: Finally, check whether the selected table had restored to the chosen database. (In my example: The table customer have been successfully restored on Geopits_demo database)

Further reading:

If you found this article helpful, you might want to check out these related resources,

Kiran Thangam

Our Latest Blogs

From monitoring to modernization, GeoPITS provides expert database management services that enhance performance, strengthen security, and reduce operational costs.

Ready to Transform Your Data?

Geopits works alongside your team as a strategic partner, starting with stabilizing your current databases, then modernizing your data infrastructure, and ultimately helping you unlock the full potential of AI.

170

Happy Clients so far

2100+

Databases Managed

142+

Successful Migrations

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.