Web Hosting Talk







View Full Version : WHM/CPANEL BACKUP Easi but not working?


cesarel
03-22-2010, 11:10 AM
Hello guys!

Im trying to backup all the accounts on my whm to my second HD.

I made the setup at whm/backup... and defined the folder home2/mybackup

Im getting this alert on my email:

**************************************
[cpbackup] Setting up mount
[cpbackup] running: /bin/mount /home2/mybackup
mount: can't find /home2/mybackup in /etc/fstab or /etc/mtab
[cpbackup] running: /bin/mount -o remount,rw /home2/mybackup
mount: can't find /home2/mybackup in /etc/fstab or /etc/mtab
Notification => myemail@gmail.com via EMAIL [level => 1]
[cpbackup] Backup failed! /home2/mybackup is not mounted! at /scripts/cpbackup line 851.
**************************************

i don't get this mounting thing...

should i create the folder myself? or when i define a folder from the whm/backup setup it will create the folder by itself?

Or what seems to be the problem thing with this mounting thing...?

Thanks guys!

linux-tech
03-22-2010, 04:41 PM
Did you actually create the partition, or are you just assuming the server will do this for you?

cesarel
03-22-2010, 04:48 PM
Did you actually create the partition, or are you just assuming the server will do this for you?

I have the partition /home2 ... this is a second hd.

i created the folder in this partition /home2/mybackup ...
do i need to set permissions or something?
does the backup folder needs to be a partition?

thanks for your answer.

linux-tech
03-22-2010, 04:52 PM
Then you want backups in /home2/ not /home2/mybackup/, OR you want to turn off the mounting option, either way.
Personally, I'd take /home2/, as cPanel already puts your backups into it's own directory (cpbackup).

Once you do this, you should be fine.

cesarel
03-22-2010, 04:57 PM
Then you want backups in /home2/ not /home2/mybackup/, OR you want to turn off the mounting option, either way.
Personally, I'd take /home2/, as cPanel already puts your backups into it's own directory (cpbackup).

Once you do this, you should be fine.


thanks man.

I have in my HD number one... my system and cpanel etc etc etc.

In my second HD (/home2) i want to put all the backups, in the configuration on cpanel is an option where you tell the script to do the backups in a specific folder or partition, i want to use "/home2/mybackup"
so i put that address in that input on the whm, i have the folder created but it gives me this error i put at the top.

So i was wondering does that folder can to be a simple folder or needs to a partition...