Maintaining Backups
-------------------

.. index:: backup;backup clean
.. index:: schedule;schedule add

A complete list of backups on a location can be displayed using **backup list <location>**.

Backups can be deleted using the following commands:

* **backup clean <location> keep <N>** will delete older copies so that only N copies are kept.
  Note: ``<N>`` must be larger than 0.
* **backup clean <location> before <yyyy-mm-dd [HH:MM]>** will delete copies older than the specified date.

By default, there is no regular maintenance of backups, and a scheduled job should be created to perform
this maintenance, for example: 

* **schedule add backuprotate backup clean localbackup keep 5**
* **schedule time backuprotate 3 0**
* **schedule enable backuprotate**

.. |VOSS-4-UC| replace:: VOSS-4-UC
.. |Unified CM| replace:: Unified CM