Skip to content

Commit f6638b0

Browse files
Minarca (#5058)
1 parent 6a1738c commit f6638b0

File tree

4 files changed

+131
-0
lines changed

4 files changed

+131
-0
lines changed

ct/headers/minarca

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
__ ____
2+
/ |/ (_)___ ____ _______________ _
3+
/ /|_/ / / __ \/ __ `/ ___/ ___/ __ `/
4+
/ / / / / / / / /_/ / / / /__/ /_/ /
5+
/_/ /_/_/_/ /_/\__,_/_/ \___/\__,_/
6+

ct/minarca.sh

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#!/usr/bin/env bash
2+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
3+
# Copyright (c) 2021-2025 community-scripts ORG
4+
# Author: Slaviša Arežina (tremor021)
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+
# Source: https://minarca.org/en_CA
7+
8+
APP="Minarca"
9+
var_tags="${var_tags:-backup}"
10+
var_cpu="${var_cpu:-2}"
11+
var_ram="${var_ram:-4096}"
12+
var_disk="${var_disk:-10}"
13+
var_os="${var_os:-debian}"
14+
var_version="${var_version:-12}"
15+
var_unprivileged="${var_unprivileged:-1}"
16+
var_fuse="${var_fuse:-yes}"
17+
18+
header_info "$APP"
19+
variables
20+
color
21+
catch_errors
22+
23+
function update_script() {
24+
header_info
25+
check_container_storage
26+
check_container_resources
27+
28+
if [[ ! -d /opt/minarca-server ]]; then
29+
msg_error "No ${APP} Installation Found!"
30+
exit
31+
fi
32+
msg_info "Stopping ${APP}"
33+
systemctl stop minarca-server
34+
msg_ok "${APP} Stopped"
35+
36+
msg_info "Updating ${APP} LXC"
37+
$STD apt-get update
38+
$STD apt-get upgrade -y
39+
msg_ok "Updated ${APP} LXC"
40+
41+
msg_info "Starting ${APP}"
42+
systemctl start minarca-server
43+
msg_ok "Restarted ${APP}"
44+
exit
45+
}
46+
47+
start
48+
build_container
49+
description
50+
51+
msg_ok "Completed Successfully!\n"
52+
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
53+
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
54+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}"

frontend/public/json/minarca.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "Minarca",
3+
"slug": "minarca",
4+
"categories": [
5+
7
6+
],
7+
"date_created": "2025-05-27",
8+
"type": "ct",
9+
"updateable": true,
10+
"privileged": false,
11+
"interface_port": 8080,
12+
"documentation": "https://nexus.ikus-soft.com/repository/archive/minarca/6.0.3/doc/index.html",
13+
"config_path": "/etc/minarca/minarca-server.conf",
14+
"website": "https://minarca.org/en_CA",
15+
"logo": "https://minarca.org/web/image/1256-3f4f1dad/logo_principal-negatif.svg",
16+
"description": "Minarca is a self-hosted open source data backup software that allows you to manage your computer and server backups for free from a direct online accessible centralized view of your data with easy retrieval.",
17+
"install_methods": [
18+
{
19+
"type": "default",
20+
"script": "ct/minarca.sh",
21+
"resources": {
22+
"cpu": 2,
23+
"ram": 4096,
24+
"hdd": 10,
25+
"os": "Debian",
26+
"version": "12"
27+
}
28+
}
29+
],
30+
"default_credentials": {
31+
"username": "admin",
32+
"password": "admin123"
33+
},
34+
"notes": []
35+
}

install/minarca-install.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/usr/bin/env bash
2+
3+
# Copyright (c) 2021-2025 community-scripts ORG
4+
# Author: Slaviša Arežina (tremor021)
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+
# Source: https://minarca.org/en_CA
7+
8+
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
9+
color
10+
verb_ip6
11+
catch_errors
12+
setting_up_container
13+
network_check
14+
update_os
15+
16+
msg_info "Installing Dependencies"
17+
$STD apt-get install -y \
18+
apt-transport-https \
19+
ca-certificates \
20+
lsb-release
21+
msg_ok "Installed Dependencies"
22+
23+
msg_info "Installing Minarca"
24+
curl -fsSL https://www.ikus-soft.com/archive/minarca/public.key | gpg --dearmor >/usr/share/keyrings/minarca-keyring.gpg
25+
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/minarca-keyring.gpg] https://nexus.ikus-soft.com/repository/apt-release-$(lsb_release -sc)/ $(lsb_release -sc) main" >/etc/apt/sources.list.d/minarca.list
26+
$STD apt-get update
27+
$STD apt-get install -y minarca-server
28+
msg_ok "Installed Minarca"
29+
30+
motd_ssh
31+
customize
32+
33+
msg_info "Cleaning up"
34+
$STD apt-get -y autoremove
35+
$STD apt-get -y autoclean
36+
msg_ok "Cleaned"

0 commit comments

Comments
 (0)