Difference between revisions of "Esmith::BackupHistoryDB"
From SME Server
Jump to navigationJump to searchLine 27: | Line 27: | ||
[http://wiki.contribs.org/Esmith::DB::db esmith::DB::db] | [http://wiki.contribs.org/Esmith::DB::db esmith::DB::db] | ||
− | esmith::DB::Record | + | [http://wiki.contribs.org/Esmith::DB::Record esmith::DB::Record] |
[[Category:Developer]] | [[Category:Developer]] | ||
[[Category:SME Server Development Framework]] | [[Category:SME Server Development Framework]] | ||
[[Category:Development Tools]] | [[Category:Development Tools]] |
Latest revision as of 12:27, 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>