Fileset Examples
In this section, some fileset examples are presented:
FileSet {
Name = fs-amazon-ec2-instances-a-b
Include {
Options { signature = MD5 }
Plugin = "amazon-ec2: region=us-east-1 access_key=AKIAQTESTKEY12134g secret_key=m23480ahpqwre894qwrffsfdSecretExample instances=myInstanceA,myInstanceB"
}
}
FileSet {
Name = fs-amazon-ec2-instance-a
Include {
Options { signature = MD5 }
Plugin = "amazon-ec2: config_file=/opt/bacula/etc/amazon-ec2.settings instances=myInstanceA"
}
}
Config file contents in stored in the same File Daemon host in /opt/bacula/etc/amazon-ec2.settings:
region=us-east-1
access_key=AKIAQTESTKEY12134g
secret_key=m23480ahpqwre894qwrffsfdSecretExample
FileSet {
Name = fs-amazon-ec2-instance-a
Include {
Options { signature = MD5 }
Plugin = "amazon-ec2: config_file=/opt/bacula/etc/amazon-ec2.settings instances=myInstanceA exclude_boot_volume=true"
}
}
FileSet {
Name = fs-amazon-ec2-instances
Include {
Options { signature = MD5 }
Plugin = "amazon-ec2: config_file=/opt/bacula/etc/amazon-ec2.settings instances_tags=\"bacula\""
}
}
FileSet {
Name = fs-amazon-ec2-instances
Include {
Options { signature = MD5 }
Plugin = "amazon-ec2: config_file=/opt/bacula/etc/amazon-ec2.settings instances_tags=\"backup=yes\""
}
}
FileSet {
Name = fs-amazon-ec2-instance-a
Include {
Options { signature = MD5 }
Plugin = "amazon-ec2: config_file=/opt/bacula/etc/amazon-ec2.settings instances=i-xxxxmyInstanceId"
}
}
FileSet {
Name = fs-amazon-ec2-instances
Include {
Options { signature = MD5 }
Plugin = "amazon-ec2: config_file=/opt/bacula/etc/amazon-ec2.settings instances_tags=\"backup=yes\" instances_exclude=myInstanceA"
}
}
FileSet {
Name = fs-amazon-ec2-instance-a-vol-x123
Include {
Options { signature = MD5 }
Plugin = "amazon-ec2: config_file=/opt/bacula/etc/amazon-ec2.settings instances=myInstanceA disks=vol-x123asfafafexample"
}
}
FileSet {
Name = fs-amazon-ec2-instance-a
Include {
Options { signature = MD5 }
Plugin = "amazon-ec2: config_file=/opt/bacula/etc/amazon-ec2.settings instances=myInstanceA concurrent_threads=50"
}
}
See also
Go back to:
Go back to the Fileset Configuration article.
Go back to the main configuration page.
Go back to the Amazon EC2 Plugin main page.
Go back to the main Dedicated Backup Solutions page.