How to mount the Backup storage (500 GB) Provided by OVH inside an cPanel/WHM Server?
I can't able to find any tutorials about this over internet in any forums or blogs so i made this post :)
First login to your Root using SSH (Putty) :
I used cifs to mount the 500 Storage in my Server.So i will show you how to do this using cifs.
First install the package of CIFS before mounting
yum install cifs-utils
I can't able to find any tutorials about this over internet in any forums or blogs so i made this post :)
First login to your Root using SSH (Putty) :
I used cifs to mount the 500 Storage in my Server.So i will show you how to do this using cifs.
First install the package of CIFS before mounting
yum install cifs-utils
Run the above command to install the cifs packages now goto the next step :
mount -t cifs -o sec=ntlm,uid=root,gid=100,dir_mode=0700,username=root,password= //FTPBACKUPHOST/SERVICENAME /mnt/DIRNAME
Password : Mention the password you received from OVH After creating backup storage (Note don't mention your Server Root password)
Ftpbackuphost : Mention the ftp server link which you got in Email with Backup storage password
Service name : Mention the server name provided by OVH (Ex : ns0000000.ip-123-123-123.net)
/mnt/DIRNAME : You can mention any directory there..I recommend /backup which will be easy to look for backups (note : create the directory using "cd backup"
Now press the enter if it shows any error you made something wrong.
How to check if the Storage was mounted :
1. Login to your SSH > cd /backup > You will see an file .banner > cat .banner it will show the details
2. Login to your WHM Root > Show current Disk space > It will show the Mount point with the Details
Now you can enable the backup from WHM > Backup/Legacy backup configuration and if you need to do backups only for Selected users use the option "WHM > Backup User selection"
How to test if the backup is running ?
You can run the following command to check on the server
/scripts/backup --force (This command is for backup)
/scripts/cpbackup --force (this command is for Legacy backup)
0 comments:
Post a Comment