mirror of
https://github.com/wofferl/proxmox-backup-arm64
synced 2025-12-06 00:13:41 +00:00
81 lines
1.8 KiB
Markdown
81 lines
1.8 KiB
Markdown
# proxmox-backup-arm64
|
|
Script for building Proxmox Backup Server 2.x for Armbian64 based on Bullseye<br />
|
|
At least 4 GB are required for compiling. On devices with low memory, SWAP must be used (see help section).
|
|
|
|
## Install build essentials and dependencies
|
|
```
|
|
apt-get install -y --no-install-recommends \
|
|
build-essential curl ca-certificates sudo git lintian \
|
|
pkg-config libudev-dev libssl-dev libapt-pkg-dev libclang-dev \
|
|
libpam0g-dev
|
|
```
|
|
## Install ``rustup``
|
|
```
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -sSf | sh -s
|
|
source ~/.cargo/env
|
|
```
|
|
|
|
## Start build script
|
|
```
|
|
./build.sh
|
|
```
|
|
|
|
The compilation can take several hours.<br />
|
|
After that you can find the finished packages in the folder packages/
|
|
|
|
## Install all needed packages
|
|
### Server
|
|
```
|
|
sudo apt install \
|
|
./libjs-extjs_*_all.deb \
|
|
./libjs-qrcodejs_*_all.deb \
|
|
./libproxmox-acme-plugins_*_all.deb \
|
|
./pbs-i18n_*_all.deb \
|
|
./proxmox-backup-docs_*_all.deb \
|
|
./proxmox-backup-server_*_arm64.deb \
|
|
./proxmox-mini-journalreader_*_arm64.deb \
|
|
./proxmox-widget-toolkit_*_all.deb \
|
|
./pve-xtermjs_*_arm64.deb
|
|
```
|
|
|
|
### Client
|
|
```
|
|
sudo apt install \
|
|
./proxmox-backup-client_*_arm64.deb \
|
|
# Optional: ./proxmox-backup-file-restore_*_arm64.deb
|
|
```
|
|
|
|
## Help section
|
|
### Console commands
|
|
|
|
to see PBS users:
|
|
|
|
```
|
|
proxmox-backup-manager user list
|
|
```
|
|
|
|
to update root user pwd:
|
|
|
|
```
|
|
proxmox-backup-manager user update root@pam --password {pwd}
|
|
```
|
|
|
|
more info: https://pbs.proxmox.com/docs/user-management.html
|
|
|
|
### Create SWAP (at least 4G on low memory systems like Raspberry PI)
|
|
from https://askubuntu.com/questions/178712/how-to-increase-swap-space/1263160#1263160
|
|
|
|
Check swap memory:
|
|
|
|
```
|
|
swapon --show or free -h
|
|
```
|
|
|
|
Create and enable 4G swap file:
|
|
|
|
```
|
|
sudo fallocate -l 4G /var/swap
|
|
sudo mkswap /var/swap
|
|
sudo swapon /var/swap
|
|
```
|