-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zfsonusb.conf
37 lines (32 loc) · 1.28 KB
/
.zfsonusb.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# zfs_manager.conf
# License: MIT
# Copyright (c) 2024 Salih Emin - SynergOps
# Origin: https://github.com/synergops/.zfsonusb
#
# zfs_manager.conf is part of the zfsonusb project.
# It is used to configure the zfsonusb script.
# This file is sourced by the script
# and should not be executed directly.
###################################################
# ZFS Pool Configuration
###################################################
# Define the ZFS pool/zone name
ZFS_POOL_NAME="" # eg "myzpool"
# Define an array of disk identifiers in the following DISKS array #:0-part1 :1-part1
DISKS_ARRAY=(
"" # eg "/dev/disk/by-id/usb-ST9XXXXXXXXXXX-0:0-part1"
"" # eg "/dev/disk/by-id/usb-TOSHIBAXXXXXXXXXXX-0:1-part1"
# Add more disks here as needed by your Zpool
# Note the -part1 is the partition number that points to your zfs pool
)
###################################################
# Backup Configuration
###################################################
# Backup uses rsync to backup the source to
# the destination
# Define the backup source
BACKUP_SOURCE="" # eg "/home/user/" or "~/" if you need to backup your home folder
# Define the backup destination
BACKUP_DESTINATION="" # eg "/mnt/myzpool/backups"
# Define exclude file
BACKUP_EXCLUDE="" # eg "~/.rsync-home-excludes.txt"