Script to backing up 3par volumes
Example usage with restic:
export RESTIC_PASSWORD="aeseiNgamaiyei6Aelah"
export CMD='set -x; export RESTIC_REPOSITORY="/backups/$VV"; restic init 2>/dev/null; dd bs=4M if="$DEV" | timeout 3h restic backup --no-cache --tag="$VV" --stdin'
export JOBS=8
export FIRST_LUN=100
3par-backup 10.9.8.7 'dev.one.*.vv'
Also it's better to add iscsi and multipath devices to LVM filter in /etc/lvm/lvm.conf
:
global_filter = [ "r|/dev/disk/by-path/ip-.*|", "r|/dev/disk/by-id/dm-uuid-.*mpath-.*|" ]