public function removeFromBackupDrivers($driver)
    {
        if ($driver instanceof Driver) {
            $driver = $driver->name;
        }
        if (in_array($driver, $this->backupDrivers)) {
            $index = array_search($driver, $this->backupDrivers);
            array_splice($this->backupDrivers, $index, 1);
        }
    }