This works on a Pi 4, and should work on a Pi 3, but to work on a Pi Zero you would have to figure out how to compile your own client. More info in this thread on the Proxmox forums.
Run the following command. If you get arm64
, it's 64bit, otherwise you'll see armv7l
which is 32bit.
uname -m
Check for the latest release here. Then wget the PBS client, depending on if you need 32bit or 64bit.
wget https://github.com/ayufan/pve-backup-server-dockerfiles/releases/download/v1.1.9/proxmox-backup-client-v1.1.9-arm32v7.tgz
Extract the archive and move it to /usr/local/bin or wherever you'd like:
tar xvfz proxmox-backup-client-v1.1.9-arm32v7.tgz
mv proxmox-backup-client-v1.1.9 /usr/local/bin/pbs_client
Create a new script to do your backups at /usr/local/bin/pbs_backup.sh
See the docs for more info on authentication:
#!/bin/bash
export PBS_REPOSITORY=pbs_client@[email protected]:mydatastore
export PBS_PASSWORD=mypassword
export PBS_FINGERPRINT="02:39:10:2d:23:59:5a:29:13:95:43:ad:d9:e7:d2:13:e5:f7:3e:fd:10:2e:38:9b:12:a3:1e:9e:4a:32:de:23"
apt clean cache
cd /usr/local/bin/pbs_backup
./proxmox-backup-client.sh backup root.pxar:/
Create /etc/cron.d/pbs_backup with:
# Run every day at 00:05
5 0 * * * root /usr/local/bin/pbs_backup.sh
I understand, andrewfraley - I saw the same info on a search... its weird, cause I can use proxmox-backup-client.sh to send a very small sub-directory... but once it hits a large file [6GB, I'm thinking the 4GB max NTFS???] but none of the drives are NTFS ; they are all, both remote and PBS, ext4. Weird... I'm on armv7l - am I correct in using the proxmox-backup-client-v2.1.5-arm32v7.tgz??
I'll post a question on the Proxmox/PBS forum ; this is a great tool, lol - I just hope I can get it w0rking for what I wanted to... backing up the huge NAS drives on this openmediavault machine. Heck, worst case I guess its just pushing me to move the NAS over to my PVE server... lol.