I just noticed that some data directories, including mysql were not backed up during cPanel backup process "i.e, /scripts/cpbackup".
By checking the script, I found the following :
Which is informing tar to create an archive named "zp". The "f" in the arguments list should come just before the file name, so it should be changed to : "czpf" instead of "cfzp".
if ( cpusystem( $tar_bin, 'cfzp', "$curr_backup_dir/dirs/$rawdir.tar.gz", @EXCLUDES, $mysqldatadir ) == 0 ) {
if ( cpusystem( $tar_bin, 'cfzp', "$target/dirs/$rawdir.tar.gz", @EXCLUDES, $dir ) == 0 ) {
OS: RHEL 6 64bit.
Thanks in advance.


LinkBack URL
About LinkBacks
