This simple tool had been created for my needs to archive minecraft server world save and send it to my WebDAV server
world_path = "/opt/minecraft/world"
[webdav]
webdav_host = "http://localhost"
webdav_save_path = "sample/backup_dir/"
use_auth = true
[webdav.auth]
username = "username"
password = "password"
Just run:
go build github.com/k0tletka/minecraft-reserve-copy
And then:
./minecraft-reserve-copy -c /path/to/configuration.toml