๐Ÿ“˜Mount OVH Backup Storage (Dedicated Server)

Goal:

Mount the 500GB OVH-provided Backup Storage inside a cPanel/WHM server for use with the backup system.


๐Ÿ” Prerequisites:

  • SSH access to your server as root
  • OVH Backup Storage login credentials (sent by email)
  • Storage type: FTP, CIFS, or NFS supported
  • Installed packages (see below)

๐Ÿ“ฆ Option 1: Mount via CIFS (Recommended for compatibility)

1. Install CIFS Utilities

yum install -y cifs-utils

2. Create Mount Directory

mkdir -p /backup

3. Mount the Storage

Replace the variables in the example below:

mount -t cifs -o sec=ntlm,uid=root,gid=100,dir_mode=0700,username=YOUR_FTP_USERNAME,password=YOUR_FTP_PASSWORD //FTPBACKUPHOST/SERVICENAME /backup
  • username / password โ†’ Provided by OVH
  • FTPBACKUPHOST โ†’ e.g., ftpback-rbx3-541.ovh.net
  • SERVICENAME โ†’ e.g., ns3134933.ip-51-77-117.eu

4. Verify Mount

cd /backup
ls -al
cat .banner

You should see a .banner file provided by OVH with usage information.


โš™ Make CIFS Mount Persistent at Boot

Edit /etc/fstab:

//FTPBACKUPHOST/SERVICENAME /backup cifs username=YOUR_FTP_USERNAME,password=YOUR_FTP_PASSWORD,uid=root,gid=100,dir_mode=0700,sec=ntlm 0 0

๐Ÿ” Tip: For security, store credentials in /root/.cifs-credentials:

username=YOUR_FTP_USERNAME
password=YOUR_FTP_PASSWORD

Then update /etc/fstab:

//FTPBACKUPHOST/SERVICENAME /backup cifs credentials=/root/.cifs-credentials,uid=root,gid=100,dir_mode=0700,sec=ntlm 0 0

๐Ÿ“ฆ Option 2: Mount via NFS (If enabled by OVH)

1. Install NFS Client

yum install -y nfs-utils

2. Create Mount Directory

mkdir -p /backup

3. Mount Storage

mount -t nfs FTPBACKUPHOST:/export/ftpbackup/SERVICENAME /backup

Example:

mount -t nfs ftpback-rbx3-541.ovh.net:/export/ftpbackup/ns3134933.ip-51-77-117.eu /backup

4. Make Persistent via fstab

Edit /etc/fstab:

ftpback-rbx3-541.ovh.net:/export/ftpbackup/ns3134933.ip-51-77-117.eu /backup nfs defaults 0 0

๐Ÿงช Test Backup Mount

From SSH:

/scripts/backup --force     # For WHM Backup
/scripts/cpbackup --force   # For Legacy Backup

From WHM:

  • Go to WHM > Backup Configuration
  • Set backup directory: /backup
  • Use Backup User Selection to choose specific accounts

๐Ÿ“ View Disk Space & Mounts

df -h
mount | grep backup

Or WHM:

  • WHM > Show Current Disk Usage

๐Ÿ“š References

Scroll to Top