Forums

Resolved
0 votes
There has been a release of bmbackup sitting in clearos-contribs-testing for a long time now and if it is OK I'd like to get it released for general use. The purpose of the update is to enable the use of large disks by switching the formatting of the disk from sfdisk to parted. To download the update, please do:
yum update app-bmbackup --enablerepo=clearos-contribs-testing


If you have problems with USB disks being identified, there is a further manual patch available here. It for /usr/clearos/apps/bmbackup/libraries/Bmbackup.php and the diff reads:
@@ -486,7 +486,7 @@ function restore_backup($filename, $dev)
//$proc_name = file_get_contents("$usb_storage/proc_name");
$proc_name = stream_get_contents($fh, -1);
- if (trim($proc_name) <> "usb-storage") {
+ if ((trim($proc_name) <> "usb-storage") && (trim($proc_name) <> "(null)")) {
clearos_log("bmbackup", "skipping because proc_name NON EQUAL TO 'usb-storage': " . $proc_name);
continue;
}

FWIW it is easier to read the diff off the link I gave.

Please post your feedback to this thread.
Tuesday, September 11 2018, 08:56 PM
Share this post:
Responses (1)
  • Accepted Answer

    Tuesday, October 09 2018, 06:57 PM - #Permalink
    Resolved
    0 votes
    So no testing issues. It will be released tonight.
    The reply is currently minimized Show
Your Reply