Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Schedule backup at night. 1

Status
Not open for further replies.

salimwng

IS-IT--Management
Mar 11, 2002
134
MU
Operating System: SCO Unix Sys/V

Could you please help me in finding a proper command on Unix so that the Backup ( through tar ) is scheduled everyday at 11:00 PM.

Many thanks.
Salim
 
Cron is the system scheduler.

When logged in as the root user type:

crontab -l

this will list what jobs are currently scheduled.
redirect this to a file to add/edit it.

crontab -l > /tmp/newcrontab

make your changes/additions and update it to the scheduler by :

crontab /tmp/newcrontab

check for changes with :
crontab -l

use:
man crontab
for details of the crontab file layouts.
 
And a suggestion that you really need to be using backupedge or lonetar for your backups since they will bit verify what is put on the tape. Tar will let you down when you need it the most. Ed Fair
unixstuff@juno.com
Any advice I give is my best judgement based on my interpretation of the facts you supply. Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top