This is going to be a guide to install ebox in a virtual machine under dapper (using vm-ware). All ebox files will be backuped up through bacula Correct html version is here: SERVER_EBOX.html Unfortunately I wrote this howto with tomboy and exported to html. Now it's not easy to convert it to wiki format

DAPPER + EBOX + BACULA INSTALL

See NETWORK SAMPLE FOR SERVER and NETWORK SAMPLE FOR EBOX

See SAMPLE FILE bacula-sd.conf SAMPLE FILE bacula-fd.conf SAMPLE FILE bacula-dir.conf SAMPLE FILE bconsole.conf

Instructions to run a backup

Instructions to run a restore

Instructions to stop volums (first stop bacula-director service)

Instructions to reset mysql db (first stop bacula-director service)

INSTALL BACULA GUI

HOWTO CREATE EBOX + VmwareTools

Instructions to reset SQLite db

BWEB SAMPLE

NETWORK SAMPLE FOR SERVER


NETWORK SAMPLE FOR EBOX


SAMPLE FILE bacula-sd.conf

# # Default Bacula Storage Daemon Configuration file # # For Bacula release 1.36.3 (22 April 2005) -- debian testing/unstable # # You may need to change the name of your tape drive # on the "Archive Device" directive in the Device # resource. If you change the Name and/or the # "Media Type" in the Device resource, please ensure # that dird.conf has corresponding changes. #

Storage { # definition of myself

}

# # List Directors who are permitted to contact Storage daemon # Director {

}

# # Restricted Director, used by tray-monitor to get the # status of the storage daemon # Director {

}

# # Devices supported by THIS SAMPLE Storage daemon # To connect, the Director's bacula-dir.conf must have the # same Name and MediaType. #

Device {

}

# # A Linux or Solaris tape drive # #Device { # Name = DDS-4 # # Media Type = DDS-4 # Archive Device =/dev/nrst0 # AutomaticMount = yes; # when device opened, read it # AlwaysOpen = yes; # RemovableMedia = yes; # RandomAccess = no;

#}

# # A FreeBSD tape drive # #Device { # Name = DDS-4 # Description = "DDS-4 for FreeBSD" # Media Type = DDS-4 # Archive Device =/dev/nsa1 # AutomaticMount = yes; # when device opened, read it # AlwaysOpen = yes # Offline On Unmount = no # Hardware End of Medium = no # BSF at EOM = yes # Backward Space Record = no # Fast Forward Space File = no # TWO EOF = yes #}

# # A OnStream tape drive. # You need the kernel osst driver 0.9.14 or later, and # do "mt -f/dev/nosst0 defblksize 32768" once as root. # #Device { # Name = OnStream # Description = "OnStream drive on Linux" # Media Type = OnStream # Archive Device =/dev/nrst0 # AutomaticMount = yes; # when device opened, read it # AlwaysOpen = yes # Offline On Unmount = no

# Minimum Block Size = 32768 # Maximum Block Size = 32768 #}

# # A very old Exabyte with no end of media detection # #Device { # Name = "Exabyte 8mm" # Media Type = "8mm" # Archive Device =/dev/nrst0 # Hardware end of medium = No; # AutomaticMount = yes; # when device opened, read it # AlwaysOpen = Yes; # RemovableMedia = yes; # RandomAccess = no; #}

# # Send all messages to the Director, # mount messages also are sent to the email address # Messages {

}

ESEMPIO FILE bacula-fd.conf

# # Default Bacula File Daemon Configuration file # # For Bacula release 1.36.3 (22 April 2005) -- debian testing/unstable # # There is not much to change here except perhaps the # File daemon Name to #

# # List Directors who are permitted to contact THIS SAMPLE File daemon # Director {

}

# # Restricted Director, used by tray-monitor to get the # status of the file daemon # Director {

}

# # "Global" File daemon configuration specifications # FileDaemon { # THIS SAMPLE is me

}

# Send all messages except skipped files back to Director Messages {

}

SAMPLE FILE bacula-dir.conf

# # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.36.3 (22 April 2005) -- debian testing/unstable # # You might also want to change the default email address # from root to your address. See the "mail" and "operator" # directives in the Messages resource. #

Director { # define myself

}

JobDefs {

}

# # Define the main nightly save backup job # By default, THIS SAMPLE job will back up to disk in /tmp Job {

}

# Backup the catalog database (after the nightly save) Job {

}

# Standard Restore template, to be changed by Console program Job {

}

# List of files to be backed up FileSet {

# # 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 partitons such as /usr or /home # you will probably want to add them too. # # By default THIS SAMPLE is defined to point to the Bacula build # directory to give a reasonable FileSet to backup to # disk storage during initial testing. #

# # If you backup the root directory, the following two excluded # files can be useful #

}

# # When to do the backups, full backup on first sunday of the month, # differential (i.e. incremental since full) every other sunday, # and incremental backups other days Schedule {

}

# THIS SAMPLE schedule does the catalog. It starts after the WeeklyCycle Schedule {

}

# THIS SAMPLE is the backup of the catalog FileSet {

}

# Client (File Services) to backup Client {

}

# Definiton of file storage device Storage {

# Do not use "localhost" here

}

# Definition of DDS tape storage device #Storage { # Name = DDS-4 # Do not use "localhost" here # Address = bluemind # N.B. Use a fully qualified name here # SDPort = 9103 # Password = "" # password for Storage daemon # Device = DDS-4 # must be same as Device in Storage daemon # Media Type = DDS-4 # must be same as MediaType in Storage daemon #}

# Definition of 8mm tape storage device #Storage { # Name = "8mmDrive" # Do not use "localhost" here # Address = bluemind # N.B. Use a fully qualified name here # SDPort = 9103 # Password = "" # Device = "Exabyte 8mm" # MediaType = "8mm" #}

# Generic catalog service Catalog {

}

# Reasonable message delivery -- send most everything to email address # and to the console Messages {

# # NOTE! If you send to two email or more email addresses, you will need # to replace the %r in the from field (-f part) with a single valid # email address in both the mailcommand and the operatorcommand. #

# # WARNING! the following will create a file that you must cycle from # time to time as it will grow indefinitely. However, it will # also keep all your messages if they scroll off the console. #

}

# # Message delivery for daemon messages (no job). Messages {

}

# Default pool definition Pool {

}

# # Restricted console used by tray-monitor to get the status of the director # Console {

}

SAMPLE FILE bconsole.conf

# # Bacula User Agent (or Console) Configuration File #

Director {

}

SAMPLE FILE CLIENT bacula-fd.conf

# # Restricted Director, used by tray-monitor to get the # status of the file daemon # Director {

}

# # "Global" File daemon configuration specifications # FileDaemon { # THIS SAMPLE is me

}

# Send all messages except skipped files back to Director Messages {

}

eboxServer (last edited 2008-08-06 17:01:22 by localhost)