Sending out a couple of scripts for backing up entire disks and files for Linux. We are currently backing up to a ZFS Appliance share since we don't have enough ports for a backup network. Each of these scripts will do a count of existing backup files and remove anything older. dd_backup.sh #/bin/bash source="sda" dest="/zfssa/os_backup" … Continue reading Backup Scripts for Linux
Category: ZFS
ZFS command line reference (Cheat sheet)
Pool Related Commands # zpool create datapool c0t0d0Create a basic pool named datapool# zpool create -f datapool c0t0d0Force the creation of a pool# zpool create -m /data datapool c0t0d0Create a pool with a different mount point than the default.# zpool create datapool raidz c3t0d0 c3t1d0 c3t2d0Create RAID-Z vdev pool# zpool add datapool raidz c4t0d0 c4t1d0 … Continue reading ZFS command line reference (Cheat sheet)