ASP.NET & .NET Development

A Quick Guide to Backing Up Your ASP.NET Website Using Plesk on Windows Server 2019

By the Domain India teamPublished 5 min read
Knowledge base article
Contents (5 sections)

Backing up an ASP.NET website means copying three things: the published files in httpdocs, every database the site uses, and the settings that live outside your code. On Domain India Windows (Plesk) hosting you can do it with Plesk's Backup Manager where your panel offers it, or by hand on any plan.

The full backup guide

This is the quick version for ASP.NET sites. For everything about backups on Windows hosting, including restores, read Creating Backups in Plesk.

Key takeaways

Backups included with Domain India shared hosting, Windows included, are weekly, and there is no backup add-on to buy; to restore from them, open a ticket. For your own copies, use Backup Manager under Websites & Domains if your Plesk shows it, then download the file. If it doesn't, download httpdocs over FTP with explicit TLS and export your MSSQL databases. Always keep a copy off the server, and make one before every deployment.

1. What an ASP.NET backup must include

Published files
Everything in httpdocs: web.config, the bin folder, views and static files.
Runtime data
App_Data, uploads and any files your app creates while running.
Databases
Every MSSQL or MySQL database the site connects to.
Settings
Connection strings, app settings held outside httpdocs, scheduled tasks and DNS changes you made.

Keep your source code in your own repository too. A backup of the server holds compiled DLLs, not the code you would need to fix a bug.

2. Back up with Plesk Backup Manager

  1. Open Plesk.
    In the client area, open your hosting services, pick the Windows service and click the Plesk button.
  2. Find Backup Manager.
    In Websites & Domains, look for Backup Manager or Backup & Restore, or type "backup" into the search box at the top of Plesk.
  3. Back up.
    Choose what to include; for a full copy, select files, databases and mail. Start it and wait until it shows as finished.
  4. Download it.
    Click the backup in the list and save it to your computer, then delete old copies from the list so they don't use your disk space.

If Backup Manager isn't in your Plesk, your subscription doesn't include it. Use section 3.

3. Back up by hand (every plan)

  • Files: connect with FTP on port 21 using Require explicit FTP over TLS, and download the whole httpdocs folder. Or, in the Plesk File Manager, add the folder's contents to a ZIP and download it. Windows hosting has no SSH or SFTP.
  • Databases: open Databases in Plesk and use the export or backup option for your database if one is offered. If not, ask support for a copy and name the database and date.
  • Configuration: save a copy of web.config and appsettings.json somewhere private. They contain passwords, so never leave copies in httpdocs.

4. Before every deployment

Most restores are needed because of an update, not a disaster. Before you publish a new version:

  • download the current httpdocs, or at least bin, web.config and your views;
  • export the database if the update changes its structure;
  • note the time, so you know which backup to go back to.

If the update breaks the site, upload the old files again. Taking the site offline with app_offline.htm while you do this avoids "file in use" errors; see how to deploy an ASP.NET application in Plesk.

5. Getting a restore

To restore a backup you made yourself, see restoring from a Plesk backup. To restore from Domain India's weekly backups, use live chat or open a ticket with the domain, what to restore and the date you need. A restore overwrites what is there now, so download your current files first.

The live card shows today's price for the Windows plan most sites start on, excluding 18% GST.

ASP Business
₹328.83/mo + GST
  • 30 GB Storage
  • 150 GB Monthly Bandwidth
  • 5 Websites
  • 50 Email Accounts
See plan details
How do I back up my ASP.NET website in Plesk?

If your Plesk shows Backup Manager or Backup and Restore under Websites and Domains, back up files, databases and mail, then download the file. If it doesn't, download httpdocs over FTP with explicit TLS or as a ZIP from the File Manager, and export each database.

Does Domain India back up Windows hosting?

Yes. Backups included with Domain India shared hosting, Windows included, are weekly, and there is no separate backup add-on. To restore from them, open a support ticket with the domain, what to restore and the date.

Is backing up httpdocs enough for an ASP.NET site?

No. Most ASP.NET sites keep their data in an MSSQL or MySQL database, and some keep files in App_Data or an uploads folder. Back up the databases and those folders too, and keep your source code in your own repository.

Where should I keep my backups?

Off the server: on your computer and one other place, such as an external drive or cloud storage. A backup stored only on the hosting doesn't help if the server has a problem, and it uses your disk space.

Can I use SFTP to download my site from Windows hosting?

No. Windows hosting has no SSH or SFTP. Use FTP on port 21 with explicit TLS, or the Plesk File Manager.

Ready to protect your site? Make a copy before your next deployment, read the full Plesk backup guide, or open a ticket if you need a restore.

Need a restore?

Tell us the domain, what to restore and the date you need, and we will take it from there.

Open a ticket

Was this article helpful?

Your answer helps us decide what to improve next.

Still need help? Open a support ticket and our team will reply.

Prefer an app? Add this site to your home screen.Get the app
Back Up an ASP.NET Website in Plesk: Quick Guide