
BBConfig::Accounts - Access to Box Backup account config files

use BoxBackup::Config::Accounts; $bbconfig = BoxBackup::Config::Accounts->new();
or
use BoxBackup::Config::Accounts;
$file = "/etc/bbox/accounts.txt";
$bbconfig = BoxBackup::Config::Accounts->new($file);
@accounts = $bbconfig->getAccountIDs();
foreach $i (@accounts)
{
# Find out what account is on what diskset.
$disk = $bbconfig->getDisk($i);
}

BoxBackup::Config::Accounts is a rather simple package that lets the user have access to the data from the accounts configuration file for Box Backup. It provides methods to retrieve the data only. No creation or editing is supported.

Allows for programmatic access to the information stored in the Box Backup 'accounts' config file, which simply holds the mapping between accounts and disk sets.
