About 763,000 results
Open links in new tab
  1. Create a Transact-SQL snapshot backup - SQL Server

    Aug 16, 2024 · Here's a sample PowerShell script, which demonstrates an end-to-end solution of backing up and restoring a database in an Azure SQL IaaS Virtual Machine. The sample uses the T-SQL snapshot backup capabilities introduced in SQL Server 2022 (16.x).

  2. Full database backups (SQL Server) - SQL Server | Microsoft Learn

    Example (Transact-SQL) The following example shows how to create a full database backup by using WITH FORMAT to overwrite any existing backups and create a new media set. Then, the example backs up the transaction log.

  3. SQL Server Backup Playbook: From Basics to Advanced Strategies

    Dec 16, 2024 · This comprehensive guide explores various aspects of SQL Server backup, from basic concepts to advanced techniques. We’ll examine different backup types, methodologies, and best practices to help you develop an effective …

  4. How can I create backup script from diagram in SQL Server?

    Oct 31, 2013 · I use SQL Server 2012 and SQL Server 2008 R2. I create a script from all object (tables / trigger / stored procedure / function ...) in my database. I generated this script from SQL Server Management Studio. I can recreate my database with this scrips on the other server.

  5. Getting started with SQL Server database diagrams

    Aug 14, 2009 · Currently there is no method provided by Microsoft for migration of SQL Server database diagrams from one instance to another or from one database to another. However you may copy diagrams to some other file format and save it as a backup. Diagrams can directly be printed using the print option in the file menu of SSMS.

  6. Backup SQL Database Code and SSMS Examples

    Nov 18, 2021 · Learn how to use the SSMS GUI and T-SQL to create SQL Server full, differential and transaction log backups.

  7. Different Ways to Restore a SQL Server Database

    Oct 29, 2013 · Below are 3 examples of common database restore scenarios to learn the SQL Server restore behavior. Recovery path options to restore the database backup to point-in-time P8. In this example, the fastest database recovery path to point-in-time P8 would be Option 1.

  8. Working with Database Snapshots in SQL Server - SQL Table Talk

    3 days ago · When you create a snapshot, SQL Server adds a sparse file for every data file in the source database. At the moment of creation, the sparse file is almost empty. As new changes hit the source, SQL Server copies each original 8-KB page into the …

  9. Backup SQL Server 2008 diagrams - Stack Overflow

    Jan 16, 2011 · For example, if you copy the authors table from one database diagram to another, each diagram references the same authors table in the database. To copy a table from another database diagram. Make sure you are connected to the database whose table you want to copy.

  10. Backup Database in MS SQL Server - GeeksforGeeks

    Sep 20, 2024 · In Microsoft SQL Server, we can create full database backups using either SQL Server Management Studio (SSMS) or Transact-SQL (T-SQL). In this guide, we will learn an overview of the methods for performing full backups, highlight the necessary permissions and prerequisites, and explain how to handle backups using both SSMS and T-SQL.