Displays the audit log, showing details about every command executed. The audit log entries cannot be changed.
$ hb audit [-c backupdir] [-a]
-a option, the entire audit log is displayed. Otherwise,
only the last 5 entries are displayed.
upgrade commands cannot be audited: the
clear commands initialize the database (and therefore the
audit log), and the
upgrade command is not associated with a
particular backup, so there is no database to save audit information.
[jim@mb]$ hb audit -c hb Backup directory: /Users/jim/hb Showing recent history Started: Mon 2012-11-19 15:40:26 Build: 764 Uid: 501 (jim) Gid: 20 (staff) Working dir: /Users/jim Command: backup -c hb doc Finished: Mon 2012-11-19 15:40:27 Exitcode: 0 Started: Mon 2012-11-19 15:40:32 Build: 764 Uid: 501 (jim) Gid: 20 (staff) Working dir: /Users/jim Command: ls -c hb Finished: Mon 2012-11-19 15:40:32 Exitcode: 0