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
netbenix 077459c6e0 Implemented MariaDB Connection
Not finished yet.
2021-11-22 21:28:49 +01:00
.github/workflows Update go.yml 2021-11-18 19:49:30 +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 Implemented MariaDB Connection 2021-11-22 21:28:49 +01:00
StorageTypes Added First Storage (Azure File) 2021-11-19 19:36:54 +01:00
Tools Moved Config to Tools 2021-11-22 21:27:39 +01:00
.gitignore Updated .gitignore 2021-11-18 19:06:37 +01:00
Compression.go Added compression 2021-11-19 19:35:55 +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 Added core functionality 2021-11-19 19:49:44 +01:00
README.md Updated README 2021-11-19 19:49:38 +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 (planned)
  • Upload the files to a remote storage of your choice (see Storage Types)

Database Types

  • MariaDB (soon)
  • MySQL (far future)
  • MS-SQL (far future)

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 SQL Server Type (not yet used)
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