2025-01-20 14:02:43 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2026-01-06 13:28:12 +01:00
|
|
|
# Copyright (c) 2021-2026 community-scripts ORG
|
2025-01-20 14:02:43 +01:00
|
|
|
# Author: Kristian Skov
|
|
|
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
2025-03-04 17:54:20 +01:00
|
|
|
# Source: https://www.urbackup.org/
|
2025-01-20 14:02:43 +01:00
|
|
|
|
2025-03-24 14:20:56 +01:00
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
2025-01-20 14:02:43 +01:00
|
|
|
color
|
|
|
|
|
verb_ip6
|
|
|
|
|
catch_errors
|
|
|
|
|
setting_up_container
|
|
|
|
|
network_check
|
|
|
|
|
update_os
|
|
|
|
|
|
|
|
|
|
msg_info "Installing Dependencies"
|
2025-12-10 18:40:26 +01:00
|
|
|
$STD apt install -y debconf-utils
|
2025-01-20 14:02:43 +01:00
|
|
|
msg_ok "Installed Dependencies"
|
|
|
|
|
|
2025-12-10 18:40:26 +01:00
|
|
|
setup_deb822_repo \
|
|
|
|
|
"urbackup" \
|
|
|
|
|
"https://download.opensuse.org/repositories/home:uroni/Debian_13/Release.key" \
|
|
|
|
|
"http://download.opensuse.org/repositories/home:/uroni/Debian_13/" \
|
|
|
|
|
"./" \
|
|
|
|
|
""
|
|
|
|
|
|
|
|
|
|
msg_info "Setting up UrBackup Server"
|
2025-10-25 08:36:39 +02:00
|
|
|
mkdir -p /opt/urbackup/backups
|
|
|
|
|
echo "urbackup-server urbackup/backuppath string /opt/urbackup/backups" | debconf-set-selections
|
2025-10-09 19:43:23 +02:00
|
|
|
$STD apt install -y urbackup-server
|
2025-12-10 18:40:26 +01:00
|
|
|
msg_ok "Setup UrBackup Server"
|
2025-01-20 14:02:43 +01:00
|
|
|
|
|
|
|
|
motd_ssh
|
|
|
|
|
customize
|
2025-11-22 17:27:13 +01:00
|
|
|
cleanup_lxc
|