09-16-2010 08:38 AM - edited 03-10-2019 05:24 PM
Hello,
When I want to load a configuration file on my ACS 5.1 appliance, I see in my ftp server that the file is properly sent to the ACS server, but I get the error below and the configuration is not loaded. Any idea? ftp connection is fine.
thx Karien
command:
appliance/admin# restore lab.tar.gpg repository karien application acs
Restore requires a restart of application services. Continue? (yes/no) [yes] ? yes
% Failure occurred during request
09-16-2010 09:25 AM
If you are trying to restore an ACS backup the syntax is:
# acs restore
09-16-2010 09:45 AM
Hello Javier,
I tried again with your syntax, activating some debugging and the same error
scbedcw-rs001/admin# acs restore lab.tar.gpg repository karien
Restore requires a restart of ACS services. Continue? (yes/no) yes
7 [8848]: backup-restore:restore: br_restore.c[302] [admin]: initiating restore lab.tar.gpg from repos karien
7 [8848]: backup-restore:restore: br_restore.c[325] [admin]: no staging url defined, using local space
7 [8848]: backup-restore:backup: br_backup.c[41] [admin]: flushing the staging area
7 [8848]: backup-restore:restore: br_restore.c[345] [admin]: creating /opt/backup/restore-lab.tar.gpg-1284655446
3 [8848]: backup-restore:restore: br_restore.c[371] [admin]: restore unpack script failed, name - lab
7 [8848]: backup-restore:history: br_history.c[252] [admin]: running date
7 [8848]: backup-restore:history: br_history.c[76] [admin]: obtained backup history lock
7 [8848]: backup-restore:history: br_history.c[160] [admin]: loaded history file /var/log/restore.log
7 [8848]: backup-restore:history: br_history.c[118] [admin]: stored backup history file
7 [8848]: backup-restore:history: br_history.c[90] [admin]: released backup history lock
7 [8848]: backup-restore:history: br_history.c[310] [admin]: added record to history
% Error: Failed to perform ACS restore: Failure occurred during request
any idea?
thx Karien
09-16-2010 09:47 AM
the backup file is 32 MB, can this be related ?
thx Karien
09-16-2010 10:28 AM
How was the backup created?
The file size at 32MB or larger would be an issue if you are using a TFTP repository.
09-16-2010 12:09 PM
Hello Javier,
I have the same error both when I created the backup by ftp or tftp.
thanks a lot Karien
09-17-2010 12:54 AM
Hello,
One day later, and after clearing the logs (only 400K), the restore via ftp does work now.
See debugging below. However, I still don't know why it did not work before.
Anybody already faced this issue before ? My backup file is 33,8M
thx Karien
xxx/admin# 7 [21383]: backup-restore:backup: br_backup.c[427] [daemon]: initiating application component backup test3-100917-0932 to repos karien
7 [21383]: backup-restore:backup: br_backup.c[450] [daemon]: no staging url defined, using local space
7 [21383]: backup-restore:backup: br_backup.c[41] [daemon]: flushing the staging area
7 [21383]: backup-restore:backup: br_backup.c[473] [daemon]: creating /opt/backup/backup-test3-100917-0932-1284708723
7 [21383]: backup-restore:backup: br_backup.c[488] [daemon]: creating backup subdir: /opt/backup/backup-test3-100917-0932-1284708723/backup/appcomponent
7 [21383]: backup-restore:backup: br_backup.c[492] [daemon]: Calling appComponent backup with command: /opt/CSCOacs/bin/backup.sh /opt/backup/backup-test3-100917-0932-1284708723/backup/appcomponent
7 [21383]: backup-restore:backup: br_backup.c[41] [daemon]: flushing the staging area
6 [21383]: backup-restore:backup: br_backup.c[537] [daemon]: application component backup test3-100917-0932.tar.gpg to repository karien: success
7 [21383]: backup-restore:history: br_history.c[252] [daemon]: running date
7 [21383]: backup-restore:history: br_history.c[76] [daemon]: obtained backup history lock
7 [21383]: backup-restore:history: br_history.c[160] [daemon]: loaded history file /var/log/backup.log
7 [21383]: backup-restore:history: br_history.c[118] [daemon]: stored backup history file
7 [21383]: backup-restore:history: br_history.c[118] [daemon]: stored backup history file
7 [21383]: backup-restore:history: br_history.c[90] [daemon]: released backup history lock
7 [21383]: backup-restore:history: br_history.c[310] [daemon]: added record to history
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: