raidfile-config
1
raidfile-config
Configure Box Backup's RAID files
raidfile-config <configdir> <blocksize>
<dir1> [<dir2> <dir3>]
Description
raidfile-config creates a raidfile.conf file for Box Backup. This
file holds information about the directories used to store backups in. Box
Backup supports userland RAID, in a restricted RAID5 configuration, where
3 and only 3 'drives' are supported. You can read more about RAID5 (and
other RAID-levels) here.
Parameters
The parameters are as follows:
configdir: The directory path where
configuration files are located. Usually this is
/etc/box. raidfile.conf will
be written in this directory.
blocksize: The block size used for file
storage in the system, in bytes. Using a multple of the file system
block size is a good strategy. Depending on the size of the files
you will be backing up, this multiple varies. Of course it also
depends on the native block size of your file system.
dir1: The first directory in the built-in
RAID array.
dir2: The second directory in the built-in
RAID array. If you are not using the built-in RAID functionality,
this field should be ignored. You should not use the built-in RAID,
when you have a hardware RAID solution, or if you're using another
type of software RAID (like md on Linux).
dir3: The third directory in the built-in
RAID array. The same notes that apply to dir2
also apply to dir3.
Note that there are currently no way to add multiple disk sets to
the raidfile.conf file using command line tools, etc. See
raidfile.conf(5) for details on adding more disks
Author
Ben Summers and contributors. For help, please go to the Wiki, or subscribe to the Box
Backup mailing
list.
See Also
bbstored-config(1)
bbstored.conf(5)
raidfile.conf(5)
Files
raidfile-config generates the raidfile.conf(5)
file.
Bugs
If you find a bug in Box Backup, and you want to let us know about
it, join the mailing
list, and send a description of the problem there.
To report a bug, give us at least the following information:
The version of Box Backup you are running
The platform you are running on (Hardware and OS), for both
client and server.
If possible attach your config files (bbstored.conf,
bbackupd.conf) to the bug report.
Also attach any log file output that helps shed light on the
problem you are seeing.
And last but certainly not least, a description of what you are
seeing, in as much detail as possible.