cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

489
Views
0
Helpful
3
Replies

CSM - Backup not running

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

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Hi,which version of CSM are

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

3 REPLIES 3

Hi,which version of CSM are

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

You are right! The problem

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

Highlighted

Great! I'm glad that you got

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

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here