setarchiving(8)
128 SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised March 2008
OPERANDS The following operands are supported:
EXAMPLES
EXAMPLE 1 Setting the Archiving Target and Password
EXAMPLE 2 Setting the Public Host Key
EXAMPLE 3 Setting the Space Limits for Archives
EXAMPLE 4 Enabling Archiving
EXIT STATUS The following exit values are returned:
SEE ALSO showarchiving(8)
enable Activates the log archiving feature. Cannot be used with any
options.
disable De-activates the log archiving feature. Cannot be used with any
options.
XSCF> setarchiving -t jsmith@somehost.company.com:/home/jsmith/
logs -r
Enter ssh password for jsmith@somehost.company.com:[]
XSCF> setarchiving -k download
Downloading public host key from somehost.company.com....
Fingerprint: c3:75:f9:97:7d:dc:le:le:62:06:c1:6f:87:bc:e8:0d
Accept this public key (yes|no): yes
XSCF> setarchiving -l 10000,10000
XSCF> setarchiving enable
Testing the archiving configuration...
Logs will be archived to somehost.company.com.
0 Successful completion. Configuration updated.
>0 An error occurred.