Linux
You can use the pbs-client from Proxmox to backup a normal linux host. All the content here is taken from the Official Documentation.
Install the Proxmox Backup Client
On a Debian or Ubuntu host, add the Proxmox APT Repositories:
$ wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
$ echo "deb http://download.proxmox.com/debian/pbs-client bookworm main" | tee -a /etc/apt/sources.list.d/pbs-client.list
now, update and install:
$ apt-get update
$ apt-get install -y proxmox-backup-client
After this, you should be able to use the proxmox-backup-client
command.
Setup Cronjob
We want to schedule a backup for the host for every day at 3am. To do this, we can use cron to auto-execute commands with a given schedule. Start by opening the cron-editor with EDITOR=nano crontab -e
. Input the following:
0 3 * * * PBS_PASSWORD={your_password_here} proxmox-backup-client backup root.pxar:/ --repository {user}@pbs@{fsn1-1.pbs-host.de}:{datastore-id} --exclude /tmp
Make sure to replace the values in brackets with the actual information from the remote-backups.com dashboard. You can also manually execute the command to see if it works as expected. Sometimes you might see that files cannot be opened, and you need to --exclude
them.
For more information about the proxmox-backup-client
I recommend checking out the Documentation.
Do you require help?
Wether you have encountered a Bug, ran into a problem setting something up or require generall assistance using some of the features, we want to help you with that.
On our Discord-Server you can ask for help of any kind, suggest new ideas for our products or just hangout and chat!