Files
ep-qnap-truenas-migration/nas_list.conf.example
T
2026-10-01 10:42:36 +03:00

20 lines
1.1 KiB
Plaintext

# QNAP -> TrueNAS migration inventory
# One line per QNAP NAS. Fields are whitespace separated (use quotes for values with spaces).
# Copy this file to nas_list.conf and edit it for your environment.
#
# name method host user auth shares
# ------ ------- -------------- ------- --------------------------- -----------------
# name : short identifier, used for dest folder + log file names (no spaces)
# method : ssh | smb | nfs
# host : hostname or IP of the QNAP NAS
# user : username to connect with (SMB/SSH). Use "-" for NFS.
# auth : ssh -> path to SSH private key, or "-" to use ssh-agent/default key
# smb -> path to a credentials file (username=.. / password=..), or "-" to be prompted
# nfs -> "-" (not used)
# shares : "ALL" to auto-discover every share, or a comma separated list of share names
#
qnap1 ssh 192.168.1.10 admin /root/.ssh/id_qnap1 ALL
qnap2 smb 192.168.1.11 admin /root/.smbcreds_qnap2 ALL
qnap3 nfs 192.168.1.12 - - ALL
# qnap4 ssh 192.168.1.13 admin - Public,Multimedia,Backups