neuer Backup-Server (Umzug) (#552)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #552
This commit is contained in:
Michael Grote 2023-07-17 22:20:44 +02:00
parent c11f27ac75
commit 7fba03c73a
6 changed files with 24 additions and 19 deletions

View file

@ -126,11 +126,11 @@ services:
target: "_blank" target: "_blank"
- name: "Proxmox Backup Server" - name: "Proxmox Backup Server"
logo: "assets/icons/pve.png" logo: "assets/icons/pve.png"
url: "https://192.168.2.239:8007" url: "https://pbs.grote.lan:8007"
target: "_blank" target: "_blank"
subtitle: "M93 Tiny" subtitle: "M93 Tiny"
- name: "Proxmox Backup Server - Test" - name: "Proxmox Backup Server - Test"
logo: "assets/icons/pve.png" logo: "assets/icons/pve.png"
url: "https://192.168.2.18:8007" url: "https://pbs-test.grote.lan:8007"
target: "_blank" target: "_blank"
subtitle: "Test" subtitle: "Test"

View file

@ -22,7 +22,7 @@ services:
dokuwiki2.grote.lan:dokuwiki2.grote.lan dokuwiki2.grote.lan:dokuwiki2.grote.lan
gitea.grote.lan:gitea.grote.lan gitea.grote.lan:gitea.grote.lan
docker10.grote.lan:docker10.grote.lan docker10.grote.lan:docker10.grote.lan
pbs.grote.lan:192.168.2.239 pbs.grote.lan:pbs.grote.lan
# z.B. # z.B.
# computer-test.grote.lan.test:192.68.2.4 # computer-test.grote.lan.test:192.68.2.4
# computer.grote.lan:computer.grote.lan # computer.grote.lan:computer.grote.lan

View file

@ -73,67 +73,67 @@
sanoid_syncoid_timer: '*-*-* *:00:00' # jede Stunde sanoid_syncoid_timer: '*-*-* *:00:00' # jede Stunde
sanoid_syncoid_bwlimit: 50M # 30MB/s sanoid_syncoid_bwlimit: 50M # 30MB/s
sanoid_syncoid_datasets_sync: sanoid_syncoid_datasets_sync:
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/pve_backup destination_dataset: backup/pve5/pve_backup
source_dataset: hdd_data_raidz/pve_backup source_dataset: hdd_data_raidz/pve_backup
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/videos destination_dataset: backup/pve5/videos
source_dataset: hdd_data_raidz/videos source_dataset: hdd_data_raidz/videos
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/music destination_dataset: backup/pve5/music
source_dataset: hdd_data_raidz/music source_dataset: hdd_data_raidz/music
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/tmp destination_dataset: backup/pve5/tmp
source_dataset: hdd_data_raidz/tmp source_dataset: hdd_data_raidz/tmp
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/archiv destination_dataset: backup/pve5/archiv
source_dataset: hdd_data_raidz/archiv source_dataset: hdd_data_raidz/archiv
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/bilder destination_dataset: backup/pve5/bilder
source_dataset: hdd_data_raidz/bilder source_dataset: hdd_data_raidz/bilder
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/hm destination_dataset: backup/pve5/hm
source_dataset: hdd_data_raidz/hm source_dataset: hdd_data_raidz/hm
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/scans destination_dataset: backup/pve5/scans
source_dataset: hdd_data_raidz/scans source_dataset: hdd_data_raidz/scans
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/restic destination_dataset: backup/pve5/restic
source_dataset: hdd_data_raidz/restic source_dataset: hdd_data_raidz/restic
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/backup destination_dataset: backup/pve5/backup
source_dataset: hdd_data_raidz/backup source_dataset: hdd_data_raidz/backup
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/buecher destination_dataset: backup/pve5/buecher
source_dataset: hdd_data_raidz/buecher source_dataset: hdd_data_raidz/buecher
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/programme destination_dataset: backup/pve5/programme
source_dataset: hdd_data_raidz/programme source_dataset: hdd_data_raidz/programme
- source_host: pve5.grote.lan - source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup destination_mount_check: backup
destination_dataset: backup/pve5/vm destination_dataset: backup/pve5/vm
source_dataset: hdd_data_raidz/vm source_dataset: hdd_data_raidz/vm
@ -159,3 +159,10 @@
recursive: 'no' recursive: 'no'
snapshots: true snapshots: true
template: '3tage' template: '3tage'
### mgrote.apt_manage_packages
apt_packages_internet:
- http://192.168.2.43:3344/bash-helper-scripts-mgrote-latest.deb # weil pbs den fqdn nicht auflösen kann
### mgrote.zfs_sanoid
sanoid_deb_url: http://192.168.2.43:3344/sanoid_3.0.0.deb # weil pbs den fqdn nicht auflösen kann

View file

@ -236,7 +236,7 @@
# mgrote.pbs_pve_integration # mgrote.pbs_pve_integration
pve_pbs_datastore: pve_pbs_datastore:
- name: pbs - name: pbs
server: 192.168.2.239 server: pbs.grote.lan
datastore: zfs_backup datastore: zfs_backup
username: user_pve5@pbs username: user_pve5@pbs
password: "{{ lookup('keepass', 'pbs_pve_user', 'password') }}" password: "{{ lookup('keepass', 'pbs_pve_user', 'password') }}"

View file

@ -32,7 +32,6 @@ all:
hosts: hosts:
pve5.grote.lan: pve5.grote.lan:
pbs.grote.lan: pbs.grote.lan:
ansible_host: 192.168.2.239
gitea: gitea:
hosts: hosts:
gitea.grote.lan: gitea.grote.lan:

View file

@ -5,7 +5,6 @@ prune: {{ item.name }}
keep-daily {{ item.keep_daily }} keep-daily {{ item.keep_daily }}
keep-hourly {{ item.keep_hourly }} keep-hourly {{ item.keep_hourly }}
keep-last {{ item.keep_last }} keep-last {{ item.keep_last }}
ns
schedule {{ item.schedule }} schedule {{ item.schedule }}
store {{ item.store }} store {{ item.store }}