Well I have given up on smeserver-bacula, it was too broken to get working and there was NO response from the author to this thread.
Instead I have compiled, installed and configured bacula on my SMEserver beta 8 (certainly not straight forward!), and I have it running.
I can backup the same files are smeserver uses - I found this out by going:
perl -e 'use esmith::Backup; $b = new esmith::Backup;print join("\n/",$b->restore_list)'
which gave me:
/home/e-smith
/etc/e-smith/templates-custom
/etc/e-smith/templates-user-custom
/etc/ssh
/root
/etc/sudoers
/etc/passwd
/etc/shadow
/etc/group
/etc/gshadow
/etc/samba/secrets.tdb
/etc/samba/smbpasswd
/etc/smbpasswd
and I added these into the /etc/bacula/bacula-dir.conf file - see part of this file below:
Note: I used the following to preformat it:
perl -e 'use esmith::Backup; $b = new esmith::Backup;print "\n File = /";print join("\n File = /",$b->restore_list)'= /",$b->restore
which gave me:
File = /home/e-smith
File = /etc/e-smith/templates-custom
File = /etc/e-smith/templates-user-custom
File = /etc/ssh
File = /root
File = /etc/sudoers
File = /etc/passwd
File = /etc/shadow
File = /etc/group
File = /etc/gshadow
File = /etc/samba/secrets.tdb
File = /etc/samba/smbpasswd
File = /etc/smbpasswd
so my bacula-dir.conf includes:
======start snip========
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
}
#
# Put your list of files here, preceded by 'File =', one per line
# or include an external list with:
#
# File = <file-name
#
# Note: / backs up everything on the root partition.
# if you have other partitions such as /usr or /home
# you will probably want to add them too.
#
# By default this is defined to point to the Bacula binary
# directory to give a reasonable FileSet to backup to
# disk storage during initial testing.
#
# File = /sbin
#
# e-smith only backs up these files:
File = /home/e-smith
File = /etc/e-smith/templates-custom
File = /etc/e-smith/templates-user-custom
File = /etc/ssh
File = /root
File = /etc/sudoers
File = /etc/passwd
File = /etc/shadow
File = /etc/group
File = /etc/gshadow
File = /etc/samba/secrets.tdb
File = /etc/samba/smbpasswd
File = /etc/smbpasswd
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /var/bacula/working
File = /tmp
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
========end snip========
I have configured a tape loader and I have used bconsole to set up the running of the backups (including the bacula catalog so it knows what to restore!), and I have restored various files (e.g. contects of ibays, etc).
I am intending to also try to get the bare-metal recovery going, when time permits
Ideally I'd like to replace flexbackup in my SMEserver as it offers a lot of very useful features, including multiple clients, tape spanning, being able to restore just certain files, etc etc; however I have never developed an interface to SMEserver and I am not too sure where to start; I guess I might either have to read the developers guide, or simply continue to SSH and use bconsole. I have found the Windows BAT client too buggy and it seems to die all the time on my workstation.
Is anyone else interested? If so, I may write a HOWTO.
Cheers
Douglas.