diff --git a/frontend/public/json/urbackupserver.json b/frontend/public/json/urbackupserver.json index 37341c969..cfe6df4d8 100644 --- a/frontend/public/json/urbackupserver.json +++ b/frontend/public/json/urbackupserver.json @@ -35,6 +35,10 @@ { "text": "You probably want to drastically extend the storage space to fit whatever clients you want to back up", "type": "info" + }, + { + "text": "Directory `/opt/urbackup/backups` is set as initial backup path. Change it to your liking", + "type": "info" } ] } diff --git a/install/urbackupserver-install.sh b/install/urbackupserver-install.sh index 5d96f6122..7c0f97df7 100644 --- a/install/urbackupserver-install.sh +++ b/install/urbackupserver-install.sh @@ -14,9 +14,12 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt install -y coreutils +$STD apt install -y \ + coreutils \ + debconf-utils msg_ok "Installed Dependencies" + msg_info "Installing UrBackup Server" curl -fsSL https://download.opensuse.org/repositories/home:uroni/Debian_12/Release.key | gpg --dearmor -o /usr/share/keyrings/home-uroni.gpg cat </dev/null @@ -27,6 +30,8 @@ Components: Signed-By: /usr/share/keyrings/home-uroni.gpg EOF $STD apt update +mkdir -p /opt/urbackup/backups +echo "urbackup-server urbackup/backuppath string /opt/urbackup/backups" | debconf-set-selections $STD apt install -y urbackup-server msg_ok "Installed UrBackup Server"