Schedule not running for backups properly?
Posted: Tue Jun 20, 2006 4:46 pm
I have set a script to backup my config and then email them to an email address, once a day at 5 am. from each of my routers (about 20 of them), i copied the config, and placed it on each one exactly the same. it is working perfectly on three of the routers and on the others i get nothing, the script doesnt even run.
Here is the script from one that is working fine:
Here is the schedule from a good one:
Here is the script from one not working:
Here is the schedule from one not working:
and each has an ntp client setup to sync with a main router. and i have double checked that it is working on all of them. they all have the correct time. I have also made sure they are all running the same version, which has been updated to 2.9.26
Also I can do a test run onthe script on all of them and it works fine. just doesnt run on the schedule.
If you need any further information, or can see where my mistake is from this, i would appreciate the help.
Here is the script from one that is working fine:
Code: Select all
/ system script
add name="ebackup" source="/system backup save name=\[/system identity get \
name\]; /tool e-mail send to=\"routerbackup@foo.com\" \
subject=\(\[/system identity get name\] . \" Backup\"\) file=\(\[/system \
identity get name\] . \".backup\"\)" \
policy=ftp,reboot,read,write,policy,test,winbox,password
Code: Select all
/ system scheduler
add name="email-backup" on-event=ebackup start-date=jun/18/2006 \
start-time=05:00:00 interval=1d comment="" disabled=no
Code: Select all
/ system script
add name="ebackup" source="/system backup save name=\[/system identity get \
name\]; /tool e-mail send to=\"routerbackup@foo.com\" \
subject=\(\[/system identity get name\] . \" Backup\"\) file=\(\[/system \
identity get name\] . \".backup\"\)" \
policy=ftp,reboot,read,write,policy,test,winbox,password
Code: Select all
/ system scheduler
add name="email-backup" on-event=ebackup start-date=jun/16/2006 \
start-time=05:00:00 interval=1d comment="" disabled=no
Also I can do a test run onthe script on all of them and it works fine. just doesnt run on the schedule.
If you need any further information, or can see where my mistake is from this, i would appreciate the help.