File Backup System

The File Backup System is a desktop application born out of a need for automation in file copying tasks. It features a compact yet powerful form with a local database system built on XML files, enabling CRUD operations through an XMLDataHandler class.

StrahinjaMay 15, 2023
Project image
Project image
Project image
Project image
Project image
Click on the image to see it in full screen

FileBackup is a C# Windows Forms application that allows you to backup files and directories based on specified criteria. It provides a user interface to select source and destination directories, choose file extensions to include/exclude, set time criteria for file modification, and perform the backup operation.

Getting Started

To get started with FileBackup, follow these steps:

  1. Clone the repository or download the source code.
  2. Open the solution in Visual Studio.
  3. Build the project to restore NuGet packages and compile the application.
  4. Run the application.

Features

  • Select source and destination directories.
  • Choose specific file extensions to include/exclude from the backup.
  • Set time criteria for file modification to include only files modified within a certain time period.
  • Option to compress the backup files using different compression levels.
  • Save and load user settings for future use.
  • Start/Stop the backup operation.
  • Real-time progress updates and estimated time remaining.

Requirements

  • .NET Framework 4.7.2 or later.

Usage

  1. Launch the FileBackup application.
  2. Select the source directory by clicking the "Choose Source Directory" button.
  3. Select the destination directory by clicking the "Choose Destination Directory" button.
  4. Choose the file extensions to include/exclude from the backup by checking/unchecking the corresponding checkboxes.
  5. Set the time criteria for file modification using the trackbar. You can choose between hours and days.
  6. Optional: Check the "Compress Backup Files" checkbox to enable file compression. Choose the compression level using the radio buttons.
  7. Optional: Save the current settings by entering a name for the setting and clicking the "Save settings" button.
  8. Optional: Load previously saved settings from the dropdown menu.
  9. Click the "Start" button to begin the backup operation. Click the "Stop" button to stop the operation.
  10. Monitor the progress using the progress bar, labels, and estimated time remaining.
  11. Once the backup is complete, you can find the backup files in the specified destination directory.