Add first implementation of local backups for a server

This commit is contained in:
Dane Everitt
2020-04-04 16:07:25 -07:00
parent 5fd138e188
commit 4ce2b73490
6 changed files with 272 additions and 0 deletions

View File

@@ -66,6 +66,9 @@ type SystemConfiguration struct {
// Directory where the server data is stored at.
Data string `default:"/srv/daemon-data" yaml:"data"`
// Directory where local backups will be stored on the machine.
BackupDirectory string `default:"/srv/daemon-data/.backups" yaml:"backup_directory"`
// The user that should own all of the server files, and be used for containers.
Username string `default:"pterodactyl" yaml:"username"`