Scheduling an online backup
About this task
You can schedule a backup to run as a task by specifying the timestamp with the --task and --start options. The option is expressed in "YYYYMMDDhhmmss'" format. If the option has a value of 0, then the task is scheduled for immediate execution. Because you can’t run recurring tasks, you must run daily operations using cron or another system that can submit the task.
For online (remote) backups, you can conduct the backup operation while the PingDirectory server is online if you provide information about how to connect and to authenticate to the target PingDirectory server.
Steps
-
To schedule the backup to occur at a specific time, use the task-based
--start YYYYMMDDhhmmssoption.To specify a time in the UTC time zone format, add a trailing
Zto the time. Otherwise, the time is treated as a local time in the time zone configured on the server.Example:
$ bin/backup --backUpAll --task --start 20111025010000 \ --backupDirectory /path/to/backup --completionNotify admin@example.com \ --errorNotify admin@example.comResult:
Backup task 2011102500084110 scheduled to start Oct 28, 2011 1:00:00 AM CDT