I need to do a full backup of my server prior to upgrading redhat and cpanel.
What I don't understand is how to set up cpbackup to backup to the NAS.
There's no problem with backing up to the /backup directory but what I want is to backup to the NAS.
The NAS is visible from the root. Does cp mount it automatically? Do I need to mount it manually?
I used:
Backup is enabled in WHM.
Also I tried:
Any help will be much appreciated. Thanks!!
WHM 11.32.6 (build 3)
REDHAT Enterprise 4 x86_64 standard on server1
What I don't understand is how to set up cpbackup to backup to the NAS.
There's no problem with backing up to the /backup directory but what I want is to backup to the NAS.
The NAS is visible from the root. Does cp mount it automatically? Do I need to mount it manually?
I used:
Code:
mount -t cifs //nasxyz.service.abc.com/xxxxxxx-x -o username=xx xxxxx-1,password=blahblah /backup/
Also I tried:
Code:
[root@server1 cpbackup]# /scripts/cpbackup --force
[cpbackup] Process started in background.
[cpbackup] Log file: /usr/local/cpanel/logs/cpbackup/1364244741.log
[root@server1 cpbackup]# cd //
[root@server1 //]# cd usr/local/cpanel/logs/cpbackup
[root@server1 cpbackup]# ls
1364239942.log 1364240134.log 1364240861.log 1364244741.log
[root@server1 cpbackup]# cat 1364244741.log
[cpbackup] Started at Mon Mar 25 16:52:21 2013
[backupmount] Setting up mount
[backupmount] running: /bin/mount /backup
mount: can't find /backup in /etc/fstab or /etc/mtab
[backupmount] running: /bin/mount -o remount,rw /backup
mount: can't find /backup in /etc/fstab or /etc/mtab
[cpbackup] Backup failed! /backup is not mounted!
[root@server1 cpbackup]#
WHM 11.32.6 (build 3)
REDHAT Enterprise 4 x86_64 standard on server1