NAME
Brackup::Target - describes the destination for a backup
EXAMPLE
In your ~/.brackup.conf file:
[TARGET:amazon]
type = Amazon
aws_access_key_id = ...
aws_secret_access_key = ....
GENERAL CONFIG OPTIONS
- type
-
The driver for this target type. The type Foo corresponds to the Perl module Brackup::Target::Foo.
The set of targets (and the valid options for type) currently distributed with the Brackup core are:
Filesystem -- see Brackup::Target::Filesystem for configuration details
Ftp -- see Brackup::Target::Ftp for configuration details
Sftp -- see Brackup::Target::Sftp for configuration details
Amazon -- see Brackup::Target::Amazon for configuration details
Amazon -- see Brackup::Target::CloudFiles for configuration details
- keep_backups
-
The default number of recent backups to keep when running brackup-target prune.
- inventorydb_file
-
The location of the Brackup::InventoryDatabase inventory database file for this target e.g.
[TARGET:amazon] type = Amazon aws_access_key_id = ... aws_secret_access_key = ... inventorydb_file = /home/bradfitz/.amazon-already-has-these-chunks.db
Only required if you wish to change this from the default, which is ".brackup-target-TARGETNAME.invdb" in your home directory.
- inventorydb_type
-
Dictionary type to use for the inventory database. The dictionary type Bar corresponds to the perl module Brackup::Dict::Bar.
The default inventorydb_type is SQLite. See Brackup::InventoryDatabase for more.
- inherit
-
The name of another Brackup::Target section to inherit from i.e. to use for any parameters that are not already defined in the current section e.g.:
[TARGET:ftp_defaults] type = Ftp ftp_host = myserver ftp_user = myusername ftp_password = mypassword [TARGET:ftp_home] inherit = ftp_defaults path = home [TARGET:ftp_images] inherit = ftp_defaults path = images