Difference between revisions of "Esmith::BackupHistoryDB"
From SME Server
Jump to navigationJump to search (Created page with "== NAME == esmith::BackupHistoryDB - interface to esmith backup history database In a root terminal you can do the command below if you want to display the up-to-date content ...") |
|||
Line 6: | Line 6: | ||
use esmith::BackupHistoryDB; | use esmith::BackupHistoryDB; | ||
my $c = esmith::BackupHistoryDB->open; | my $c = esmith::BackupHistoryDB->open; | ||
− | + | * everything else works just like esmith::DB::db | |
== DESCRIPTION == | == DESCRIPTION == |
Revision as of 12:18, 3 January 2014
NAME
esmith::BackupHistoryDB - interface to esmith backup history database In a root terminal you can do the command below if you want to display the up-to-date content
perldoc esmith::BackupHistoryDB
SYNOPSIS
use esmith::BackupHistoryDB; my $c = esmith::BackupHistoryDB->open;
- everything else works just like esmith::DB::db
DESCRIPTION
This module provides an abstracted interface to the esmith master configuration database.
Unless otherwise noted, esmith::BackupHistoryDB acts like esmith::DB::db.
open()
Like esmith::DB->open, but if given no $file it will try to open the file in the ESMITH_BACKUPHISTORY_DB environment variable or "backups" in the default database directory.
open_ro()
Like esmith::DB->open_ro, but if given no $file it will try to open the file in the ESMITH_BACKUPHISTORY_DB environment variable or "backups" in the default database directory.
AUTHOR
SME Server Developers <bugs@e-smith.com>
SEE ALSO
esmith::DB::Record