https://github.com/kvaps/3par-backup
Script to backup 3par volumes
https://github.com/kvaps/3par-backup
Last synced: 8 months ago
JSON representation
Script to backup 3par volumes
- Host: GitHub
- URL: https://github.com/kvaps/3par-backup
- Owner: kvaps
- License: apache-2.0
- Created: 2021-11-15T18:51:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-10T20:53:12.000Z (over 4 years ago)
- Last Synced: 2024-12-28T02:32:14.958Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 3par-backup
Script to backing up 3par volumes
Example usage with restic:
```bash
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-.*|" ]
```