How to mount a Backup Box over SMB/CIFS
Updated 7/20/2026
Besides SSHFS, a Backup Box can also be mounted over SMB (CIFS), the protocol Windows uses for file sharing.
1. Install the CIFS utilities
apt-get update -y
apt-get install -y cifs-utils
2. Create the mount point
mkdir -p /mnt/backup
3. Mount over SMB
Use the address and credentials from your panel:
mount -t cifs //BACKUP_BOX_ADDRESS/backup /mnt/backup \
-o user=USER,pass=PASSWORD,vers=3.0
4. Automatic mount at boot
For security, put the credentials in a separate file /root/.smbcred:
username=USER
password=PASSWORD
chmod 600 /root/.smbcred
Then in /etc/fstab:
//BACKUP_BOX_ADDRESS/backup /mnt/backup cifs _netdev,credentials=/root/.smbcred,vers=3.0 0 0
SSHFS or SMB?
SSHFS is encrypted by default and simpler for Linux servers, see mounting over SSHFS. SMB is useful for Windows compatibility or apps that require it.
Put this guide into practice on your own VPS
EU cloud servers, billed hourly, ready in minutes, with one-click installs for dozens of apps.
See pricingRelated tutorials
How to encrypt files and backups
Protect sensitive data by encrypting files and backups before storing or transferring them.
Updated 7/20/2026Storage & filesHow to sync files automatically with Syncthing
Syncthing syncs files in real time between servers and devices, encrypted and without an external cloud.
Updated 7/20/2026Storage & filesHow to manage disk space and partitions
See how your disks are organized, mount a new disk and expand space when you need it.
Updated 7/20/2026