cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
544
Views
0
Helpful
0
Replies

Cisco ACS 5.4.0.46.2 unable to restore from backup

omer shtivi
Level 1
Level 1

Hello,

We got two ACS in cluster mode.

We tried to upgrad to 5.6 

Before we started we did a backup using the 

backup acs repository backups

To both ACSs.

The upgrade process failed for the secondary ACS and we needed to re-install the entire system.

We tried to restore from the backup using both commands:

acs restore

restore

We tried to restore to the same version

Both failed, the ACS restore with:

acs2-dc/admin# acs restore backup_acs2-dc_10_19_16-161019-0908.tar.gpg repository backup
Restore requires a restart of ACS services. Continue? (yes/no) yes
Initiating restore. Please wait...
7 [20499]: backup-restore:restore: br_restore.c[418] [admin]: initiating restore backup_acs2-dc_10_19_16-161019-0908.tar.gpg from repos backup
7 [20499]: backup-restore:restore: br_restore.c[444] [admin]: no staging url defined, using local space
7 [20499]: backup-restore:backup: br_backup.c[45] [admin]: flushing the staging area
7 [20499]: backup-restore:restore: br_restore.c[464] [admin]: creating /opt/backup/restore-backup_acs2-dc_10_19_16-161019-0908.tar.gpg-1477380832
6 [20499]: backup-restore:restore: br_restore.c[100] [admin]: Invoke /opt/CSCOacs/mgmt/cli/bin/restore-sizecheck.sh script for acs
tar: backup/appcomponent/db/acs.db: Not found in archive
tar: backup/appcomponent/db/acs*.log: Not found in archive
tar: Error exit delayed from previous errors
6 [20499]: backup-restore:restore: br_restore.c[83] [admin]: Invoke /opt/CSCOacs/mgmt/cli/bin/acsDiskSizeCheckUtil.sh script for acs
Calculating disk size for /opt/backup/restore-backup_acs2-dc_10_19_16-161019-0908.tar.gpg-1477380832
3 [20499]: backup-restore:restore: br_restore.c[516] [admin]: could not access restore dir /opt/backup/restore-backup_acs2-dc_10_19_16-161019-0908.tar.gpg-1477380832/backup/appcomponent
7 [20499]: backup-restore:history: br_history.c[252] [admin]: running date
7 [20499]: backup-restore:history: br_history.c[76] [admin]: obtained backup history lock
7 [20499]: backup-restore:history: br_history.c[160] [admin]: loaded history file /var/log/restore.log
7 [20499]: backup-restore:history: br_history.c[118] [admin]: stored backup history file
7 [20499]: backup-restore:history: br_history.c[90] [admin]: released backup history lock
7 [20499]: backup-restore:history: br_history.c[310] [admin]: added record to history
% Error: Failed to perform ACS restore: Backup file does not match installed application(s)

And

acs2-dc/admin# restore backup_acs2-dc_10_19_16-161019-0908.tar.gpg repository backup application acs7 [20454]: backup-restore:history: br_history.c[76] [admin]: obtained backup history lock
7 [20454]: backup-restore:history: br_history.c[137] [admin]: backup history is empty
7 [20454]: backup-restore:history: br_history.c[90] [admin]: released backup history lock
7 [20454]: backup-restore:history: br_history.c[201] [admin]: retrieved backup history

Restore may require a restart of application services. Continue? (yes/no) [yes] ? yes
Initiating restore. Please wait...
7 [20458]: backup-restore:restore: br_restore.c[580] [admin]: initiating restore backup_acs2-dc_10_19_16-161019-0908.tar.gpg from repos backup
7 [20458]: backup-restore:restore: br_restore.c[606] [admin]: no staging url defined, using local space
7 [20458]: backup-restore:backup: br_backup.c[45] [admin]: flushing the staging area
7 [20458]: backup-restore:restore: br_restore.c[626] [admin]: creating /opt/backup/restore-backup_acs2-dc_10_19_16-161019-0908.tar.gpg-1477380812
6 [20458]: backup-restore:restore: br_restore.c[100] [admin]: Invoke /opt/CSCOacs/mgmt/cli/bin/restore-sizecheck.sh script for acs
Backup file does not match installed application
3 [20458]: backup-restore:restore: br_restore.c[103] [admin]: acs restore script failed
7 [20458]: backup-restore:history: br_history.c[252] [admin]: running date
7 [20458]: backup-restore:history: br_history.c[76] [admin]: obtained backup history lock
7 [20458]: backup-restore:history: br_history.c[160] [admin]: loaded history file /var/log/restore.log
7 [20458]: backup-restore:history: br_history.c[118] [admin]: stored backup history file
7 [20458]: backup-restore:history: br_history.c[90] [admin]: released backup history lock
7 [20458]: backup-restore:history: br_history.c[310] [admin]: added record to history
% Application restore failed
6 [20458]: backup-restore:restore: br_cli.c[657] [admin]: error message: Application restore failed

Why we can't restore from the backup?

Thanks!

0 Replies 0