Added PVE-to-PBS-Backup & OVHCloud-DDNS-API-Setup
This commit is contained in:
31
Linux/Proxmox/PVE-BackupToPBS/ReadMe.md
Normal file
31
Linux/Proxmox/PVE-BackupToPBS/ReadMe.md
Normal file
@@ -0,0 +1,31 @@
|
||||
## Instalation
|
||||
### PVE Setup
|
||||
Put the following files on the Proxmox-VE server
|
||||
* `pxarexclude` as `/.pxarexclude
|
||||
* `BackupScipt.sh` as `/opt/PVEtoPBS.sh`
|
||||
* `Backup.service` as `/etc/systemd/system/PVEtoPBS.service`
|
||||
* `Backup.timer` as `/etc/systemd/system/PVEtoPBS.timer`
|
||||
|
||||
Edit `/opt/PVEtoPBS.sh` to configure the backups.
|
||||
Edit `/etc/systemd/system/PVEtoPBS.timer` to set-up the schedule the backups,
|
||||
change OnCalendar (examples yearly,monthly,weekly,daily,hourly or *-01-01 00:00:00)
|
||||
|
||||
Run `systemctl enable --now PVEtoPBS.timer`.
|
||||
To run a backup now run `systemctl start PVEtoPBS.service` or `bash /opt/PVEtoPBS.sh`
|
||||
|
||||
### PBS Setup
|
||||
using name space for PVE with nested 1 for hostname,
|
||||
This is done for permission managment
|
||||
|
||||
### Required permission for api token/user
|
||||
| **Used for?** | **Path** | **Role** |
|
||||
|------------------------------|---------------------------------------------------|--------------------|
|
||||
| Basic usage | /system/status | Audit |
|
||||
| Creating backups | /datastore/`<datastoreName>`/PVE-Hosts/PVE-Hostname | DatastoreBackup |
|
||||
| Creating and purging backups | /datastore/`<datastoreName>`/PVE-Hosts/PVE-Hostname | DatastorePowerUser |
|
||||
| Run garbage collection | /datastore/`<datastoreName>` | DatastoreAdmin |
|
||||
|
||||
### Source/Inspriration
|
||||
* https://github.com/DerDanilo/proxmox-stuff/blob/master/prox_config_backup.sh
|
||||
* https://pbs.proxmox.com/docs/backup-client.html
|
||||
|
||||
Reference in New Issue
Block a user