Config

The SCALE CLI guide is a work in progress! New namespace and command documentation is continually added and maintained, so check back here often to see what is new! Welcome to the TrueNAS SCALE Command Line Interface (CLI) guide! The TrueNAS CLI in TrueNAS SCALE functions like a text-based version of the web UI with many functional areas grouped into parent and child namespaces that mirror the counterparts in the SCALE UI.
Read full post gdoc_arrow_right_alt

Adding a Google Photos Cloud Sync Task

Google Photos works best in TrueNAS using a Google Photos API key and rclone token. Creating the API Credentials On the Google API dashboard, click the dropdown menu next to the Google Cloud logo and select your project. If you do not have a project, click NEW PROJECT and enter a value in Project name, Organization, and Location. Enable API After you select your project, click Enabled APIs & Services on the left menu, then click + ENABLE APIS AND SERVICES.
Read full post gdoc_arrow_right_alt

Backup Credentials

TrueNAS stores cloud backup services credentials, SSH connections, and SSH keypairs configured using the widgets on the Backup Credentials screen. Users can set up backup credentials with cloud and SSH clients to back up data in case of drive failure. Contents Cloud Credentials Screens: Provides information on the Cloud Credentials widget, screens, and settings. SSH Screens: Provides information on the SSH Connections and SSH Keypairs screens, widgets, and settings.

Creating Snapshots

Snapshots are one of the most powerful features of ZFS. A snapshot provides a read only point-in-time copy of a file system or volume. This copy does not consume extra space in the ZFS pool. The snapshot only records the differences between storage block references whenever the data is modified. Why do I want to keep snapshots? Snapshots keep a history of files and provide a way to recover an older or even deleted files.
Read full post gdoc_arrow_right_alt

Managing Snapshots

Viewing the List of Snapshots File Explorer limits the number of snapshots Windows presents to users. If TrueNAS responds with more than the File Explorer limit, File Explorer shows no available snapshots. TrueNAS displays a dialog stating the dataset snapshot count has more snapshots than recommended and states performance or functionality might degrade. There are two ways to view the list of snapshots: Go to Datasets > Data Protection widget > Manage Snapshots link to open the Snapshots screen.
Read full post gdoc_arrow_right_alt

Backing Up TrueNAS

After configuring your TrueNAS storage and data sharing or any other function, service, or application, it is time to ensure an effective data backup. You should also: Download and save your system configuration file to protect your system configuration information. Download a debug file. Create a boot environment to use as a restore point. You should also set up a data storage backup method using either a cloud sync or replication task.
Read full post gdoc_arrow_right_alt

SSH

The SSH service lets users connect to TrueNAS with the Secure SHell Transport Layer Protocol. When using TrueNAS as an SSH server, the users in the network must use SSH client software to transfer files with SSH. Allowing external connections to TrueNAS is a security vulnerability! Do not enable SSH unless you require external connections. See Security Recommendations for more security considerations when using SSH. Configuring SSH Service To configure SSH go to System Settings > Services, find SSH, and click edit to open the basic settings General Options configuration screen.
Read full post gdoc_arrow_right_alt

SSH Service Screen

The System Settings > Services > SSH screen allows you to set up SSH service on TrueNAS SCALE. Click edit to open the Services > SSH configuration screen. Allowing external connections to TrueNAS is a security vulnerability! Do not enable SSH unless you require external connections. See Security Recommendations for more security considerations when using SSH. You must also configure SSH backup credentials to allow SSH access. See SSH Screens for more information.
Read full post gdoc_arrow_right_alt

Advanced Replication Tasks

TrueNAS SCALE advanced replication allows users to create one-time or regularly scheduled snapshots of data stored in pools, datasets or zvols on their SCALE system as a way to back up stored data. When properly configured and scheduled, local or remote replication using the Advanced Replication Creation option takes regular snapshots of storage pools or datasets and saves them in the destination location on the same or another system. Local replication occurs on the same TrueNAS SCALE system using different pools or datasets.
Read full post gdoc_arrow_right_alt

Replication Task Screens

The Replication Task widget on the Data Protection screen lists replication tasks configured on the TrueNAS system. Replication tasks work with periodic snapshot tasks to complete the replication. Figure 1: Replication Task Widget The Replication Tasks widget displays No Replication Tasks configured before you add a task. Figure 2: Replication Task Widget No Tasks Click Replication Task on the widget heading to open the Replications Tasks screen that lists all tasks configured on the system.
Read full post gdoc_arrow_right_alt