Note on bug 1612 where Bacula does not save a checksum for hard links during
full backup, but expects one during accurate differential backups. You need
a Full backup with the 5.2.x code to have these checksums in the Catalog.
-Doing Incr/Diff over a 5.0.x Full backup will still display lots of errors.
+Doing Incr/Diff over a 5.0.x Full backup will still display lot of errors.
thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/joblog.png")));
m_cursor = new QTextCursor(textJobLog->document());
- m_bwlimit = 0;
m_jobId = jobId;
m_timer = NULL;
getFont();
connect(pbCancel, SIGNAL(clicked()), this, SLOT(cancelJob()));
connect(pbRun, SIGNAL(clicked()), this, SLOT(rerun()));
connect(list_Volume, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(showInfoVolume(QListWidgetItem *)));
- connect(spin_Bwlimit, SIGNAL(valueChanged(int)), this, SLOT(storeBwLimit(int)));
populateAll();
dockPage();
}
-void Job::storeBwLimit(int val)
-{
- m_bwlimit = val;
-}
void Job::updateRunInfo()
{
bool parseit=false;
QChar equal = '=';
- if (m_bwlimit >= 100) {
- cmd = QString("setbandwidth limit=" + QString::number(m_bwlimit)
- + " jobid=" + m_jobId);
- m_console->dir_cmd(cmd, results);
- results.clear();
- m_bwlimit = 0;
- }
-
cmd = QString(".status client=\"" + m_client + "\" running");
/*
* JobId 5 Job backup.2010-12-21_09.28.17_03 is running.
// } else if (lst[0] == "JobStarted") {
// Started->setText(lst[1]);
- if (lst[0] == "Bwlimit") {
- int val = lst[1].toInt();
- if (val > 0) {
- chk_Bwlimit->setChecked(true);
- spin_Bwlimit->setEnabled(true);
- spin_Bwlimit->setValue(lst[1].toInt()/1024);
- } else {
- chk_Bwlimit->setEnabled(false);
- spin_Bwlimit->setEnabled(false);
- spin_Bwlimit->setValue(0);
- }
-
- } else if (lst[0] == "Errors") {
+ if (lst[0] == "Errors") {
label_JobErrors->setText(lst[1]);
} else if (lst[0] == "Bytes/sec") {
</property>
</widget>
</item>
- <item row="3" column="1">
- <widget class="QSpinBox" name="spin_Bwlimit">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="suffix">
- <string> kB/s</string>
- </property>
- <property name="minimum">
- <number>100</number>
- </property>
- <property name="maximum">
- <number>200000</number>
- </property>
- <property name="singleStep">
- <number>100</number>
- </property>
- <property name="value">
- <number>200000</number>
- </property>
- </widget>
- </item>
- <item row="3" column="0">
- <widget class="QCheckBox" name="chk_Bwlimit">
- <property name="text">
- <string>Bandwidth Limit:</string>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>