Esmith::BackupHistoryDB

From SME Server
Revision as of 13:27, 3 January 2014 by Stephdl (talk | contribs) (→‎SEE ALSO)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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::db

esmith::DB::Record