My own backup tool I used for a while. Project I used to learn Golang
This repository has been archived on 2026-03-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
2021-11-28 12:35:47 +01:00
.github/workflows Update go.yml 2021-11-18 19:49:30 +01:00
Compressor Reverted multithreaded compression due to not wanting to work 2021-11-28 12:33:47 +01:00
config Added example configs 2021-11-19 19:10:14 +01:00
Logging Inital commit 2021-11-18 15:04:27 +01:00
SQL Updated SQL 2021-11-28 12:33:22 +01:00
StorageTypes Updated SQL 2021-11-28 12:33:22 +01:00
Tools Little refactor 2021-11-23 08:57:01 +01:00
.gitignore Updated .gitignore 2021-11-28 12:35:47 +01:00
go.mod New packages 2021-11-22 21:27:50 +01:00
go.sum New packages 2021-11-22 21:27:50 +01:00
main.go Removed todos 2021-11-28 12:35:20 +01:00
README.md Updated README.md 2021-11-23 09:40:33 +01:00

Scabiosa Backup Tool

Please keep in mind that this project is WIP.

What can it do?

  • Backup you stuff via a dynamic configuration (done!)
  • Log the Backup progress to a database (in progress)
  • Upload the files to a remote storage of your choice (see Storage Types)

Database Types

  • MariaDB (done!)
  • MySQL (soon)
  • MS-SQL (far future)
Database Type Config Type
MariaDB mariadb

Storage types

  • Local storage (soon)
  • Azure Blob Storage (planned)
  • Azure File Share (done!)
  • S3 Bucket (far future)
  • Dropbox (far future)
  • OneDrive (far future)
  • GDrive (far future)
Storage Type Config Type
Azure File Share azure-fileshare

Config Explaination

config.json

Field Type Description
localBackupPath string Path where local backups are stored
sqlConfig ---------------- ----------------------------------------------
sqlType string See DatabaseTypes
sql-address string Address to the SQL Server
sql-port uint16 SQL Server Port
database string Database name
db-user string SQL username from user which should be used
db-password string SQL password from user which should be used
foldersToBackup ---------------- ----------------------------------------------
backupName string .bak file name
folderPath string Path to folder which should be backed up
storageType string See StorageTypes
createLocalBackup boolean Sets if .bak file should also be saved locally