proxmox:pbs:backup-server
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| proxmox:pbs:backup-server [2026/08/24 14:45] – [iSCSI] gsys | proxmox:pbs:backup-server [2026/10/03 14:14] (current) – [SMB] gsys | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Proxmox Backup Server ====== | ====== Proxmox Backup Server ====== | ||
| + | |||
| + | ===== Install on Proxmox VE ===== | ||
| + | |||
| + | ==== No Subscription ==== | ||
| + | |||
| + | < | ||
| + | cat <<EOF >> / | ||
| + | |||
| + | Types: deb | ||
| + | URIs: http:// | ||
| + | Suites: trixie | ||
| + | Components: pbs-no-subscription | ||
| + | Signed-By: / | ||
| + | EOF | ||
| + | apt update | ||
| + | apt install proxmox-backup-server | ||
| + | </ | ||
| + | |||
| + | ==== Enterprise ==== | ||
| + | |||
| + | < | ||
| + | cat <<EOF >> / | ||
| + | |||
| + | Types: deb | ||
| + | URIs: https:// | ||
| + | Suites: trixie | ||
| + | Components: pbs-enterprise | ||
| + | Signed-By: / | ||
| + | EOF | ||
| + | apt update | ||
| + | apt install proxmox-backup-server | ||
| + | </ | ||
| ===== iSCSI ===== | ===== iSCSI ===== | ||
| Line 88: | Line 120: | ||
| iscsiadm --mode node --targetname iqn.2004-04.com.qnap: | iscsiadm --mode node --targetname iqn.2004-04.com.qnap: | ||
| </ | </ | ||
| + | |||
| + | ===== SMB ===== | ||
| + | < | ||
| + | apt update | ||
| + | apt install | ||
| + | </ | ||
| + | |||
| + | test mount smb share | ||
| + | < | ||
| + | mount -t cifs -o user=< | ||
| + | </ | ||
| + | |||
| + | create credentials file | ||
| + | < | ||
| + | cat <<EOF >> ~/ | ||
| + | user=username | ||
| + | password=password | ||
| + | EOF | ||
| + | </ | ||
| + | |||
| + | make file only readable by root / current user | ||
| + | < | ||
| + | chmod 0400 ~/ | ||
| + | </ | ||
| + | |||
| + | add to ''/ | ||
| + | < | ||
| + | //< | ||
| + | #//< | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | proxmox-backup-manager datastore create remote-smb /backup | ||
| + | </ | ||
| + | |||
| + | ===== Client ===== | ||
| + | |||
| + | < | ||
| + | proxmox-backup-client backup etc.pxar:/ | ||
| + | </ | ||
| + | |||
| + | <file sh backup-pve-config.sh> | ||
| + | #!/bin/bash | ||
| + | export PBS_REPOSITORY=pbs-pveuser@pbs!pve-config-backup@pbs01: | ||
| + | export PBS_PASSWORD=< | ||
| + | export PBS_FINGERPRINT=< | ||
| + | |||
| + | / | ||
| + | </ | ||
proxmox/pbs/backup-server.1787575521.txt.gz · Last modified: by gsys