Brackup::Root - describes the source directory (and options) for a backup
In your ~/.brackup.conf file:
[SOURCE:bradhome] path = /home/bradfitz/ gpg_recipient = 5E1B3EC5 chunk_size = 64MB ignore = ^\.thumbnails/ ignore = ^\.kde/share/thumbnails/ ignore = ^\.ee/(minis|icons|previews)/ ignore = ^build/ noatime = 1
The directory to backup (recursively)
The public key signature to encrypt data with. See "Using encryption" in Brackup::Manual::Overview.
In units of bytes, kB, MB, etc. The max size of a chunk to be stored on the target. Files over this size are cut up into chunks of this size or smaller. The default is 64 MB if not specified.
Perl5 regular expression of files not to backup. You may have multiple ignore lines.
If true, don't backup access times. They're kinda useless anyway, and just make the *.brackup metafiles larger.
In units of bytes, kB, MB, etc. If files are under this size. By default this feature is off (value 0), purely because it's new, but 1 kB is a recommended size, and will probably be the default in the future. Set it to 0 to explicitly disable.
In units of bytes, kB, MB, etc. The maximum size of a composite chunk, holding lots of little files. If this is too big, you'll waste more space with future iterative backups updating files locked into this chunk with unchanged chunks.
Recommended, and default value, is 1 MB.
Boolean parameter. Set to one of {on,yes,true,1} to make mp3 files chunked along their metadata boundaries. If a file has both ID3v1 and ID3v2 chunks, the file will be cut into three parts: two little ones for the ID3 tags, and one big one for the music bytes.
The name of another Brackup::Root section to inherit from i.e. to use for any parameters that are not already defined in the current section. The example above could also be written:
[SOURCE:defaults] chunk_size = 64MB noatime = 0 [SOURCE:bradhome] inherit = defaults path = /home/bradfitz/ gpg_recipient = 5E1B3EC5 ignore = ^\.thumbnails/ ignore = ^\.kde/share/thumbnails/ ignore = ^\.ee/(minis|icons|previews)/ ignore = ^build/ noatime = 1
To install Brackup, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Brackup
CPAN shell
perl -MCPAN -e shell install Brackup
For more information on module installation, please visit the detailed CPAN module installation guide.