Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DatabaseBackupService

DatabaseBackupService is a Windows Service built with .NET Framework that automatically performs scheduled backups of a SQL Server database without any user interaction.

The service runs silently in the background and ensures that your database is backed up at regular intervals, with full logging for traceability.


๐Ÿš€ Features

  • Runs as a Windows Service
  • Automatically backs up SQL Server databases
  • Works on a scheduled time interval
  • Saves backups to a defined directory
  • Creates time-stamped backup files
  • Logs every successful or failed operation
  • Low resource usage
  • Supports Console Mode for testing

๐Ÿง  How It Works

  1. The service starts automatically or manually
  2. A Timer triggers the backup process
  3. SQL Server backup command is executed
  4. Backup file is saved in the target folder
  5. Operation is written to log file

๐Ÿ›  Technologies

  • C# (.NET Framework)
  • Windows Service
  • SQL Server
  • System.Threading.Timer
  • Logging system

โš™๏ธ Installation

From Administrator Command Prompt:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe DatabaseBackupService.exe

About

A background Windows Service built with .NET Framework to schedule, execute, and log automatic SQL Server database backups.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages