[pkg-bacula-devel] Bug#773893: How to solve manually
rat
rat at d2-online.net
Thu Dec 25 21:11:02 UTC 2014
How to solve manually:
## stop director
/etc/init.d/bacula-director stop
## edit your sqlite db
cd /var/lib/bacula
sqlite3 $* bacula.db
## drop the wrongly created table
drop table RestoreObject;
# create the table with correctly named ObjectCompression field.
CREATE TABLE RestoreObject (
RestoreObjectId INTEGER,
ObjectName TEXT DEFAULT '',
RestoreObject TEXT DEFAULT '',
PluginName TEXT DEFAULT '',
ObjectLength INTEGER DEFAULT 0,
ObjectFullLength INTEGER DEFAULT 0,
ObjectIndex INTEGER DEFAULT 0,
ObjectType INTEGER DEFAULT 0,
FileIndex INTEGER UNSIGNED DEFAULT 0,
ObjectCompression INTEGER DEFAULT 0,
JobId INTEGER UNSIGNED REFERENCES Job NOT NULL,
PRIMARY KEY(RestoreObjectId)
);
CREATE INDEX restore_jobid_idx ON RestoreObject (JobId);
## then go to console and run a job on a windows host to test
/etc/init.d/bacula-director start
bconsole
run
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20141225/7e1554c0/attachment.html>
More information about the pkg-bacula-devel
mailing list