How do I mount the backup space on my VPS or Hybrid server?


While we provide the backup space for you, you will need to manually mount the space to your server as an external drive.

Your choice of operating system will affect how you mount your backup space.

CentOS or Ubuntu

You will first need to access the server through SSH.  You can find the SSH login details for your server through your Heart Internet Customer Area under ‘Manage VPS/Hybrid Servers’.

You will then need to choose your server from the drop-down list of servers, and under ‘Server Information’, you will find the ‘Login username’ and ‘Login password’.

Once you have your SSH login details, you can access the server using the SSH client of your choice.  Please see our guide ‘How do I connect to my virtual Linux server through SSH?’ for more details.

You will now need to run several commands. These commands will be specific to your server, and available through the Server Control Panel for your server.

To mount the backup space:

  1. Open your Customer Area
  2. Click ‘Manage Hybrid & VPS Servers’
  3. Look for the server you want to connect to and click the icon next to it
  4. Click ‘Backup’
  5. With the Backup details still open, open your SSH client and log into your server
  6. Enter:

mkdir /backups

  1. Enter:

chkconfig portmap on

  1. Enter:

service portmap start

  1. Enter:

echo "[BACKUP NAME]:/backups/[IP ADDRESS] /backups nfs rw,hard,intr,noexec,rsize=8192,nfsvers=4,noatime,_netdev,nolock 0 0" >> /etc/fstab; mount –a

Where [BACKUP NAME] is the name of your backup space and [IP ADDRESS] is your IP address.

  1. Your backup space will now be mounted and ready for your data

Windows

To mount your backup space on your Windows server, you will need to access the server using either VNC or RDP.  You can find your server details under ‘Manage Hybrid & VPS Servers’ in your Heart Internet Customer Area.

To mount the backup space using Windows Explorer:

  1. Access your server
  2. Click ‘Start’
  3. Click ‘Windows Explorer’
  4. Click ‘Tools’
  5. Click ‘Map Network Drive’
  6. Select M as your drive
  7. Enter ‘\\[BACKUP NAME]\[IP ADDRESS]\’ as the folder, where [BACKUP NAME] is the name of your backup space and [IP ADDRESS] is your server’s IP address
  8. Check the box next to ‘Connect using different credentials’
  9. Enter in the username provided in your server details
  10. Enter in the password provided in your server details
  11. Click ‘OK’
  12. Click ‘Finish’
  13. Your backup space will now be mounted

To mount the backup space using the Command Prompt:

  1. Access your server
  2. Click ‘Start’
  3. Click ‘Command Prompt’
  4. Enter:

net use m: \\[BACKUP NAME]\[IP ADDRESS]

Where [BACKUP NAME] is the name of your backup space and [IP ADDRESS] is your server’s IP address

  1. Your backup space will now be mounted

Once you have mounted your backup space, you can manually back up your files, or you can set up an automatic backup. 

If you have a Linux server, you can do this by installing rpcbind manually.

To set up your backup space:

  1. Log into your server over SSH
  2. Install rpcbind by entering:

yum install rpcbind

  1. Install nfs-utils by entering:

yum install nfs-utils

  1. Start the rpcbind service by entering:

service rpcbind start

  1. Mount the backup space:

mount -a

  1. Your backup space will now be ready

Please see ‘How do I automatically back up my data to my server’s backup drive using Plesk?’ and ‘How do I automatically back up my data to my server’s backup drive using cPanel and WHM?



Article ID: 690
Created On: Tue, Aug 11, 2015 at 4:19 PM
Last Updated On: Tue, Aug 11, 2015 at 4:19 PM

Online URL: https://www.heartinternet.uk/support/article/how-do-i-mount-the-backup-space-on-my-vps-or-hybrid-server.html