1834266 Members
77054 Online
110066 Solutions
New Discussion

Re: finding a script

 
Ewan McDonald
Advisor

finding a script

Hi all, I have the job of looking after an L-class server at the moment. There use dto be an automatic backup every night. I think this was just a script telling it to fbackup every night. Is there an easy way to try to find this script on the system? I have no idea where to start? Because I have recently upgraded the DLT drive, the device file has changed etc, so the system is not running backups automatically at the moment. Any input would be great! Thanks...
3 REPLIES 3
Robert Bennett_3
Respected Contributor

Re: finding a script

I would start looking in cron (crontab -l) and see if the nightly backup was scheduled there. If it was, it will be calling up the script and you can then go to the script for editing.

Hope this helps
B
"All there is to thinking is seeing something noticeable which makes you see something you weren't noticing which makes you see something that isn't even visible." - Norman Maclean
Bill Hassell
Honored Contributor

Re: finding a script

Your best choice is to run SAM and just follow the menus to setup your backup schedule and scope. If the original backup was setup with SAM then you will see it in the choices and you can simply modify it. You can also perform a selective or full backup immediately from SAM. Then to see the regular backup task that was created by SAM, you can look at the log that SAM keeps under the top menubar item: Options

Or you can look at the cron job that SAM creates using: crontab -l


Bill Hassell, sysadmin
Ewan McDonald
Advisor

Re: finding a script

Thanks guys... I've found the cron job I needed. All I had to do was replace the device file name as I've upgraded the DLT recently. backup is running as we speak :)

Thanks again