Scheduling the Daily Backup—UNIX and Linux The following procedure uses the
cron utility to schedule daily database backups at 2:00 a.m.
To schedule the Oracle-suggested disk backup strategy:
1. Ensure that you are logged in to the database host as a user who is a member of
the OSBACKUPDBA operating system group (typically the backupdba group).
The cron job will run as this host user.
2. Start a text editor, and create and save a file with the following contents into your
home directory. Name the file .crontab. (Note the period at the front of the file
name.)
MAILTO=first.last@example.com
# MI HH DD MM DAY CMD
00 2 * * * full-script-path
... zobacz całą notatkę
Komentarze użytkowników (0)