Skip to content

cherttov/backup-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Backup Service - backup-client

  • This application runs as a continuous background service using Quartz.NET

Configuration

  • The configuration file config.json is created in the data/ directory on the first run
  • Change the sources and targets parameters after config.json is created

> Configuration Properties

Note: Parameters in parentheses are optional. Use the LinuxCRON or QuartzCRON standard

Property Description
sources List of source directories to backup
targets List of destination directories where backups are going to be stored
method Backup method: full, incremental or differential
timing CRON expression: (Second) Minute Hour Day Month Weekday (Year)
retention Policy settings: Count (History limit) and Size (Chain length)

> Example Config

[ { "sources": [ "C:\\Users\\User\\Documents" ], "targets": [ "D:\\Backups\\Documents" ], "method": "full", "timing": "0 5 1 * *", "retention": { "count": 10, "size": 5 } } ]

Note: When running in Debug mode in Visual Studio, the config.json file has to be created manually beforehand

> Example output

[Program] Backup scheduled on 1.1.2026 17:00:00 +01:00 |__[BackupExecutor] Running backup (method=FULL) |__[BackupExecutor] Full backup completed successfully. |__[Summary] Files: 6 | Size: 48 MB | Time: 0,03s [Program] Backup scheduled on 1.2.2026 17:00:00 +01:00 

About

Simple CLI backup client

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages