From cac8f94663a92520c8fede02e208af2e821725d4 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 29 Oct 2024 16:12:56 +0100 Subject: [PATCH] dfg --- group_vars/all.yml | 2 +- roles/mgrote_rsync/defaults/main.yml | 57 ++++++++++++++-------------- 2 files changed, 29 insertions(+), 30 deletions(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index 50ff39ef..61afd398 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -250,7 +250,7 @@ munin_node_plugins: ### mgrote_sync (für pbs + pve) rsync_mirror_user_group: "{{ rsync_mirror_user }}" rsync_mirror_user: rsync_mirror -rsync_mirror_bw_limit: "2m" # 2 Megabytes +rsync_mirror_bw_limit: "4m" # 4 Megabytes rsync_mirror_timer: '*-*-* 23:00:00' # jeden Tag um 2300 rsync_mirror_private_key: "{{ lookup('viczem.keepass.keepass', 'rsync_mirror_private_key', 'notes') }}" diff --git a/roles/mgrote_rsync/defaults/main.yml b/roles/mgrote_rsync/defaults/main.yml index 6b3a704b..e79db865 100644 --- a/roles/mgrote_rsync/defaults/main.yml +++ b/roles/mgrote_rsync/defaults/main.yml @@ -7,32 +7,31 @@ # rsync_mirror_private_key: "{{ lookup('viczem.keepass.keepass', 'rsync_mirror_private_key', 'notes') }}" # rsync_mirror_public_key: "{{ lookup('viczem.keepass.keepass', 'rsync_mirror_public_key', 'notes') }}" # -# rsync_mirror_dirs: # "/" beachten! -# - src: /hdd_data/tmp -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" -# - src: hdd_data/archiv -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/archiv" -# - src: hdd_data/backup -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/backup" -# - src: hdd_data/bilder -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/bilder" -# - src: hdd_data/buecher -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/buecher" -# - src: hdd_data/music -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/music" -# - src: hdd_data/papa_backup -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/papa_backup" -# - src: hdd_data/programme -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/programme" -# - src: hdd_data/pve_backup -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/pve_backup" -# - src: hdd_data/restic -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/restic" -# - src: hdd_data/scans -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/scans" -# - src: hdd_data/tmp -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" -# - src: hdd_data/videos -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos" -# - src: hdd_data/vm -# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm" +# rsync_mirror_dirs: # "/" beachten, bei Src+Dest "/" KEIN am Ende +# - src: /hdd_data/tmp +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" +# - src: hdd_data/archiv +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/archiv" +# - src: hdd_data/backup +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/backup" +# - src: hdd_data/bilder +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/bilder" +# - src: hdd_data/buecher +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/buecher" +# - src: hdd_data/music +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/music" +# - src: hdd_data/programme +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/programme" +# - src: hdd_data/pve_backup +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/pve_backup" +# - src: hdd_data/restic +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/restic" +# - src: hdd_data/scans +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/scans" +# - src: hdd_data/tmp +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" +# - src: hdd_data/videos +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos" +# - src: hdd_data/vm +# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm" +#