You are not logged in.
Here's the scenario...I need to backup my server. About 1TB of data.
I have some old hardware, Wake on LAN compliant, and 1.5TB of store on my 'backup' system. So...
Server sends WoL signal to backup system. Once per week say, Tuesday @ 6pm <- cron job on server
Backup boots, runs a script which rsyncs the servers storage to the backup storage, sends me an e-mail (or at least writes a log back to the server I can check) then shuts down. (Until next Tuesday anyways)
Where should this script go? I'm thinking perhaps in the inttab file. I'm not sure if putting
x:3:wait:backup_script.sh
would work. Or perhaps I just write the script IN the inittab file.
Thoughts?
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
/etc/rc.local
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline