/scripts/cpbackup
Oct 24, 2007I have run /scripts/cpbackup bymistake and now how I can stop the process?
View 3 RepliesI have run /scripts/cpbackup bymistake and now how I can stop the process?
View 3 RepliesI'm using rsync to backup my cpanel/whm VPS data to a remote backup server.
Is there any inherent problem in bypassing the built in cpanel/whm backup feature, the cpbackup script, and just usign a cron with rysnc to sync the /home directory of my VPS to the backup server?
I want to make sure that there's not a security issue doing it this way, and that there is no later on restore problem by doing it this way.
last night my server did not take a full backup of all accounts. i have new backup files for some of them and have not anything for the rest.
i just want if cpbackup have any log file or if i can set it to log errors somewhere that i can track them?
I've a question about cpbackup.
On certain days web server starts taking both weekly and daily backups.
Is there anyway I can arrange such that when there is a day for weekly backup, it doesn't take daily backup.
Kind of a newb question but when I go into my cpbackup folder, then for example, into my daily folder..I see a number of accounts in there. Some are shown as only "accountname" and then some are shown as "accountname.0"
What is the difference between them? Are the ones that end in .0 currently active accounts on the server?
Thanks
I was wondering which of the backup method has the fastest restoration time - is it incremental uncompressed backup or compressed backup?
I am making 2 daily backup which is both uncompressed and compressed. However in case my server broke down, I want to choose which one is the fastest?
For some odd reason, I don't see the mysql folder inside /backup/cpbackup/daily/server/
It contains .sql files of the databases associated with that account. On other accounts, I see the mysql folder. Just this one is missing.
It used to be there and I see the mysqldump command running while cpbackup is running.
My server was running a cronjob backup, and my apache always fail
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
I can only restart them on my CPanel WHM
Attempting to restart httpd
Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd status
root 5805 0.8 0.9 21092 19504 ? S 22:39 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
root 1012 4.0 0.6 23348 13828 ? Ss 22:39 0:00 /usr/local/apache/bin/httpd -DSSL
httpd started ok
root@b# service httpd restart
/etc/init.d/httpd restart: httpd restarted
My server load on my server is very high, but my server is not slow, my memory usage is fine, my CPUs are handling everything fine so it's not really a problem... except I've got a lot of "sleeping processes" which seem to increase the server load but not affect the server really.
My problem is, cpbackup refuses to run when it decides the server load is too high. So, is there a way to make it run no matter what the server load is? Because I do want backups to run again...
The server load never goes down because these things are always running, so running it at early hours of the morning doesn't make a difference.
my cpanel doesn't get backups. When I force it, it gives me this error:
mount: can't find /backup in /etc/fstab or /etc/mtab
mount: can't find /backup in /etc/fstab or /etc/mtab
[cpbackup] Backup failed! /bekkaplars is not mounted! at /scripts/cpbackup line 415.
It's a vps. Another interesting thing is, my other 3 vpses run good even /etc/fstab has no line like /backup in there, also.