Skip to content
  • Home
  • About Me
  • Collaborators

Nizar Idrissi

  • Home
  • About Me
  • Collaborators
  • Home
  • 2022
  • December
  • 19
  • Backup the SQL Database using SQLCMD
Technology

Backup the SQL Database using SQLCMD

December 19, 2022 Nizar

  1. Install the SQL CMD Utility tool https://learn.microsoft.com/en-us/sql/tools/sqlcmd-utility?view=sql-server-ver16
  2. CD to the SQLCMD Bin file
  3. Use the following command to backup the database
SqlCmd -E -S SERVERNAME –Q "BACKUP DATABASE [NAMEOFTHEDATABSE] TO DISK='\\MyDestination\Path\Databases[NAMEOFTHEDATABSE].bak'"

Related Posts

Technology

How to Use Terraform to Set Up VMs and Resource Groups on Azure

December 31, 2024December 31, 2024 Nizar
Technology

VMware – Renewing or Refreshing Certificates for ESXi Hosts

December 11, 2024December 11, 2024 Nizar

Post navigation

Previous: MAC Script (SCPT) – Auto mount the SMB shares 
Next: Capture a machine Image using DISM/WinePE

Recent Posts

  • How to Use Terraform to Set Up VMs and Resource Groups on Azure
  • VMware – Renewing or Refreshing Certificates for ESXi Hosts
  • Configuring VM-VM Anti-Affinity Policy in Nutanix
  • Nutanix CVM commands for managing VMs
  • Netapp SAN Storage – How to replace a failed drive
All Rights Reserved 2024.
Proudly powered by WordPress | Theme: Fairy by Candid Themes.
Share

Facebook

X

LinkedIn

WhatsApp

Copy Link
×