The following comes to you from Ralf Ramge, who has graciously allowed me to post his script and all the instructions below: “I have a small update. I’ve made the number of backups of each filesystem easier to handle by replacing the hardcoded number with a variable. I also added some comments so everybody should […]
Here’s a nifty little submission from Ralf Ramge. It will do a ZFS snapshot backup to a local directory, a remote machine and also clone and promote the filesystem on the remote machine. It keeps the last 7 backups around. Take a look: #!/bin/bash # backup_zfssnap.sh, (c) 2007 ralf [dot] ramge [at] webde [dot] de […]