SQL Server: Set up a backup plan


In this article, I will explain how to set up a backup plan with SQL Server.

In this tutorial, we will use the wizard available in SSMS to configure the database to save as well as the schedule and then we will modify the plan to indicate the location.


  • SQL Server (no Express backup plans do not work)
  • A location to store backups, in the case of a network share, the computer object must have NTFS rights
  • The SQL Agent must be started.
  • Access to the server through the SQL Server Management Studio (SSMS) console.

Configuration of the backup plan

From the SSMS console, expand the Management folder 1 , then right click on Maintenance Plan 2 and click on Maintenance Plan Assistant 3 .
SSMS - lauch wizard

When launching the wizard, click Next 1 .
Wizard maintenance

Name maintenance plan 1 , it is also possible to put a description if necessary. Click Next 2 .
Name plan

Choose the maintenance plan tasks, check the box Save the database (complete) 1 and click Next 2 .
Select task

Click Next 1 . In the case where several tasks are configured one can choose the order of execution.
task order

Click Select one or more 1 , check the databases to save 2 and click OK 3 .
select db

Click Edit 1 to configure the schedule.
Config schedule
Configure the schedule to save 1 and click OK 2 .

Now that the databases are selected and the schedule configured, click Next 1 .
Config OK

Configure reports as needed and click Next 1 .
Report config
Click Finish 1 to create the maintenance plan.
Plan configured

The maintenance plan is created 1 , click on Close 2 .
plan created

Now that the plan is created, we will configure the backup storage location. Open the plan by clicking on 1 and double click on the backup task 2 .
Edit plan

Go to the Destination tab 1 , choose the option Create a backup file for each database 2 . It is possible to create subfolders for each database. Then enter the UNC path of the network share 3 .
config share network

Then go to the Options tab 1 , configure the expiration of a backup set 2 and click OK 3 .
Expire delay

Save the maintenance plan by clicking on diskette 1 .
save plan

The databases will be saved according to the configured plan.

Related Posts

Enable Windows Active Directory Recycle Bin 2012/2016/2019
Introduction The Active Directory Recycle Bin is a feature that came with Windows 2008R2, which is disabled by default. To activate the recycle bin, the domain and drill level must be at least 2008R2. Once the trash is activated, it is not possible t

MDT: saving user profiles with USMT
Introduction In this article, we will have how to back up user profiles with MDT during a deployment. Use of this feature is useful in the following cases: Change of computer of a user. Reinstalling the computer Upgrade version of Windows. To save th

Install WSUS with a SQL Server database
Presentation Since Windows 2016 server, it is possible to install the Windows Server Update Service (WSUS) directly with a SQL Server database. In this article we will see how to proceed. Prerequisites To install WSUS with a SQL Server database you n

Leave a Comment