cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1425
Views
1
Helpful
5
Replies

CSM - Backup not running

leonardomachado
Level 1
Level 1

I would like to know why my backup is not running in the scheduled time.

If I chose to run "immediatly" it runs without problems and a folder called "0" is created in the D:\Backup_CSM.

Scheduled backup does not run and I see no info in the logs and I receive no emails!

How to debug it?

 

See images.

https://dl.dropboxusercontent.com/u/1538524/backup1.PNG

 

https://dl.dropboxusercontent.com/u/1538524/backup2.PNG

1 Accepted Solution

Accepted Solutions

Michel Pedersen
Level 1
Level 1

Hi,

which version of CSM are you running?

I ran into a similar problem with CSM 4.4 where the problem was the backup process would get an empty space in front of the time and then not run. 

A fix for this problem was issued in CSM 4.4SP1 and CSM 4.5.

If you are running CSM 4.4 a workaround would be to schedule the backup between 10.00am & 11.59am or 10.00pm and 11.59pm.

Bug is available in the bug toolkit with bug id CSCug45741

regards

Michel

 

View solution in original post

5 Replies 5

Michel Pedersen
Level 1
Level 1

Hi,

which version of CSM are you running?

I ran into a similar problem with CSM 4.4 where the problem was the backup process would get an empty space in front of the time and then not run. 

A fix for this problem was issued in CSM 4.4SP1 and CSM 4.5.

If you are running CSM 4.4 a workaround would be to schedule the backup between 10.00am & 11.59am or 10.00pm and 11.59pm.

Bug is available in the bug toolkit with bug id CSCug45741

regards

Michel

 

leonardomachado
Level 1
Level 1

You are right! The problem here was the file which CSM was trying to create with an invalid filename.

 

I changed the backupsch.bat script. Probably it's a timezone problem issue.

 

@echo off
REM Get the datetime in a format that can go in a filename.
for /f "usebackq tokens=1,2,3 delims=/" %%I IN (`echo %date%`) do set today=%%K-%%J-%%I

set _now=%time:~0,8%
set _now=%_now: =%
set _now=%_now::=-%

REM Call backup script and append data (Today + _now)
d:\CSCOpx\bin\perl.exe d:\CSCOpx/bin/backup.pl d:/Backup_CSM d:\CSCOpx/log/dbbackup_%today%_%_now%.log email=my@email.com 7 compress 1

Great! I'm glad that you got this resolved.

Please rate posts and mark discussion as answered to make it more useful to others who experience the same issue.

-Michel

MJ666
Level 1
Level 1

Hello,

On a test VM running Windows2016, I am migrating CSM 4.25 from
version 4.24.
The migration went off without a hitch
(I've got all my appliances back and can handle them without any problems).

When I decide to migrate to CSM 4.26, the installation doesn't work.
I receive the

message1
"CSM is executing backup for 4.25 before proceeding with the upgrade installation under C:\PROGRA~2\425_Backup.
Do not delete or rename the backup folder until the update is complete" -->OK

message2
"Backup process failed.
Please raise a TAC case by attaching\automaticbackup in Zip format."

How to debug it?

@MJ666 Please create a new discussion instead of "piggybacking" on this very old discussion.  This will help us focus on your specific issue and will also help others that might have the same issue more easily find your post and possible solution.

--
Please remember to select a correct answer and rate helpful posts
Getting Started

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:

Review Cisco Networking products for a $25 gift card