mirror of
https://github.com/bashclub/miyagi-pbs-zfs.git
synced 2025-12-06 06:28:43 +00:00
Update pbs-zfs-daily.sh
Prunejob auto Detect
This commit is contained in:
@@ -16,7 +16,7 @@ ZPOOLDST=rpool #This pulling Machines Pool/Tank
|
|||||||
PBSHOST='192.168.0.171' #IP from your Proxmox Backupserver
|
PBSHOST='192.168.0.171' #IP from your Proxmox Backupserver
|
||||||
BACKUPSTORE=backup #Datastorename configured in your Proxmox VE System to be backuped and replicated daily
|
BACKUPSTORE=backup #Datastorename configured in your Proxmox VE System to be backuped and replicated daily
|
||||||
BACKUPEXCLUDE='103,104,109,110' #Machines to be excluded from Proxmox Backup
|
BACKUPEXCLUDE='103,104,109,110' #Machines to be excluded from Proxmox Backup
|
||||||
PRUNEJOB='s-88c45b79-77a4' #proxmox-backup-manager prune-job list
|
PRUNEJOB=$(ssh $PBSHOST proxmox-backup-manager prune-job list --output-format json-pretty | grep -m 1 "id" | cut -d'"' -f4)
|
||||||
|
|
||||||
SSHPORT='22' #SSH Port, usually default 22 internally
|
SSHPORT='22' #SSH Port, usually default 22 internally
|
||||||
SCRIPTPATH=/usr/bin #Location of bashclub-zfs Tool - https://raw.githubusercontent.com/bashclub/bashclub-zfs-push-pull/master/bashclub-zfs
|
SCRIPTPATH=/usr/bin #Location of bashclub-zfs Tool - https://raw.githubusercontent.com/bashclub/bashclub-zfs-push-pull/master/bashclub-zfs
|
||||||
|
|||||||
Reference in New Issue
Block a user