shell Proxmox Backup Server add SMB Share
// install cifs-utils package apt update && apt install cifs-utils -y // create a mount point mkdir -p /mnt/truenas // create a credentials file nano /etc/pbs-smb-credentials // add credentials within the new file username=your_smb_username password=your_smb_password // exit + save // secure the credentials chmod 600 /etc/pbs-smb-credentials // mount the share mount -t cifs //10.7.7.3/Proxmox /mnt/truenas -o credentials=/etc/pbs-smb-credentials,uid=034,gid=34,dir_mode=0755,file_mode=0644,vers=3.0 // make the mount persistent nano /etc/fstab // add the following to the end of the file //10.7.7.3/Proxmox /mnt/truenas cifs credentials=/etc/pbs-smb-credentials,uid=34,gid=34,dir_mode=0755,file_mode=0644,vers=3.0,_netdev 0 0 // save + exit // reload system and test the config systemctl daemon-reload mount -a // add the datastore using the PBS Web UI /* Open your Proxmox Backup Server web interface. Navigate to Administration ? Datastore ? Add Datastore. Fill in the configuration details: ID: Enter a name for your datastore (e.g., smb-truenas). Backing Path: Enter your mount point path /mnt/truenas. (Optional: Create a subfolder inside it, like /mnt/truenas/pbs, to keep the root of the share clean). Click Add and wait for PBS to initialize the chunk directory structure. Configure your Prune Jobs and Garbage Collection (GC) settings under the new datastore. */
Mount a TrueNAS SMB Share on Proxmox Backup Server.
Updated: Sunday 20th September 2026, 22:13am
There are 0 comments
Comments are currently closed.