Table of Contents

VSC-3

Derzeitiges Off-Site Backup

Derzeitiges Off-Site Backup (2)

Struktur der Daten

Struktur der Daten (2)

Struktur der Daten (3)

Struktur der Daten (4)

Backup-Maschine

Filesystem

Backup Sofware

# Configuration File for the backup script
# Server  Source            Destination    ProcessCount  ZFS Snapshot  Log-File
nfs01     /mntbackup/nfs01  /backup/nfs01  4             1             /backup/log/nfsbackup_nfs01
nfs02     /mntbackup/nfs02  /backup/nfs02  1             1             /backup/log/nfsbackup_nfs02
nfs03     /mntbackup/nfs03  /backup/nfs03  1             1             /backup/log/nfsbackup_nfs03

Backup Software (2)

[root@fh100 ~]# /backup/bin/new/vsc_show_backupstate
+++++++++++++++++++++++++++++++++++++++++
+Current Backup-State of VSC-2 and VSC-3+
+++++++++++++++++++++++++++++++++++++++++
nfs01: Backup running since 2019-04-30.
nfs02: Backup running since 2019-04-30.
nfs03 completed at 2019-04-23 with a runtime of  58729 Seconds. Next Backup already queued on 2019-04-23
+++++++++++++++++++++++++++++++++++++++++
+       Backup-Pools Space Report       +
+++++++++++++++++++++++++++++++++++++++++
backup: 35.3T available
backup2: 49.7T available
tank7NG: 23.5T available

Bash/Rsync Magic (1)

rsync -avHAXS --delete src/ dest/

Bash/Rsync Magic (2)

for i in {1..10}
do 
    rsync -avHAXS --delete src/server${i}/ dest/server${i}/ & 
done

Bash/Rsync Magic (3)

Bash/Rsync Magic (4)

# Sync Directory Structure
rsync -avHAXS -f"+ */" -f"- */*" src/server/ dest/server/ &
# Create Filelists
( find src/server/ ! -type d > filelist.txt
sort -R filelist.txt > filelist2.txt
split -d -a6 -n r/$numProcesses filelist2.txt > filelist.scrambled.txt ) &
# Delete obsolete files
rsync -r --delete --existing --ignore-existing src/server/ dest/server/ &
wait
# Sync Files in Filelist
for ((i=0; i<$numProcesses; i++))
do 
  rsync -avHAXS --files-from=filelist.scrambled.txt.${i} src/server/ dest/server/ & 
done

Bash/Rsync Magic (5)

Bash/Rsync Magic (6)

Bash/Rsync Magic (7)

Bash/Rsync Probleme

Ausblick

Ausblick (2)

Ende