Expire all backups

The onsmsync utility retains the latest level-0 backup unless you use the -O option. If you use the -O and -t options, all backups from before the specified time are removed even if they are needed for restore. If you use the -O and -i options, all backups from before the specified interval are removed even if they are needed for restore.

For example, to expire all backups, specify the following:
onsmsync -O -g 0
Important: If you use the -O option with the -t, -i, or -g options, you might accidentally delete critical backups, making restores impossible.