Cisco CSACS-1121-K9 Reference Guide - Page 68

backup-logs, repository

Page 68 highlights

EXEC Commands Appendix A ACS Command Reference backup-logs To back up system logs, use the backup-logs command in the EXEC mode. To remove this function, use the no form of this command. backup-logs backup-name repository repository-name Syntax Description backup-name repository repository-name Name of one or more files to back up. Up to 100 alphanumeric characters. Repository command. Location where files should be backed up to. Up to 30 alphanumeric characters. Defaults This command backs up these log files, which are located in specific directories: • ACS server files located in the /var/log directory. • ACS debug, audit, and diagnostic files located in the /opt/CSCSacs/logs directory. • ACS Tomcat files located in the /opt/CSCOacs/mgmt/apache//logs directory, where identifies the Tomcat version that you are running. • ACS database files located in the /opt/CSCOacs/db directory. Command Modes EXEC Usage Guidelines Backs up system logs. Examples acs/admin# backup-logs mysyslogs repository myrepository % Creating log backup with timestamped filename: mysyslogs-081007-2130.tar.gz acs/admin# Related Commands Command acs backup acs-config acs patch acs reset-config acs reset-password acs restore acs support backup restore repository Description Performs a backup of an ACS configuration. Enters the ACS Configuration mode. Installs and removes ACS patches. Resets the ACS configuration to factory defaults. Resets the 'acsadmin' administrator password to the default setting. Performs a restoration of an ACS configuration. Gathers information for ACS troubleshooting. Performs a backup (ACS and ADE OS) and places the backup in a repository. Restores from backup the file contents of a specific repository. Enters the repository submode for configuration of backups. A-30 CLI Reference Guide for the Cisco Secure Access Control System 5.1 OL-18996-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190

A-30
CLI Reference Guide for the Cisco Secure Access Control System 5.1
OL-18996-01
Appendix A
ACS Command Reference
EXEC Commands
backup-logs
To back up system logs, use the
backup-logs
command in the EXEC mode. To remove this function, use
the
no
form of this command.
backup-logs
backup-name
repository
repository-name
Syntax Description
Defaults
This command backs up these log files, which are located in specific directories:
ACS server files located in the /var/log directory.
ACS debug, audit, and diagnostic files located in the /opt/CSCSacs/logs directory.
ACS Tomcat files located in the /opt/CSCOacs/mgmt/apache/
<version>
/logs directory, where
<version>
identifies the Tomcat version that you are running.
ACS database files located in the /opt/CSCOacs/db directory.
Command Modes
EXEC
Usage Guidelines
Backs up system logs.
Examples
acs/admin#
backup-logs mysyslogs repository myrepository
% Creating log backup with timestamped filename: mysyslogs-081007-2130.tar.gz
acs/admin#
Related Commands
backup-name
Name of one or more files to back up. Up to 100 alphanumeric characters.
repository
Repository command.
repository-name
Location where files should be backed up to. Up to 30 alphanumeric
characters.
Command
Description
acs backup
Performs a backup of an ACS configuration.
acs-config
Enters the ACS Configuration mode.
acs patch
Installs and removes ACS patches.
acs reset-config
Resets the ACS configuration to factory defaults.
acs reset-password
Resets the ‘acsadmin’ administrator password to the default setting.
acs restore
Performs a restoration of an ACS configuration.
acs support
Gathers information for ACS troubleshooting.
backup
Performs a backup (ACS and ADE OS) and places the backup in a
repository.
restore
Restores from backup the file contents of a specific repository.
repository
Enters the repository submode for configuration of backups.