This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Source pool or dataset | |
| SOURCE=Storage | |
| # Target location on remote machine | |
| # Note: Ensure all datasets in there are not mounted, otherwise the user on the remote machine needs to have unmount permissions. | |
| TARGET=Storage/Backups/Some-Server | |
| # Datasets to be backed up (relative to source) |