You can perform scheduled backup of the Sun OTP services. For more details, crontab(1).
Open the crontab file.
To back up Sun OTP services at 1 a.m. each Saturday, for example, add the following line to the crontab file.
0 1 * * 6 /opt/SUNWotp/cli/backup_otp -o /var/otp/backup -l /var/otp/backup.log
In this example, the backup tar files are stored in the /var/otp/backup directory.
To automatically delete old backup tar files at 1 a.m. each Sunday, for example, add the following line to the crontab file.
0 1 * * 7 find /var/otp/backup -name '*.tar' -mtime +10 -exec /bin/rm -f {} \;
In this example, the backup tar files are stored in the /var/otp/backup directory.