Creating a restore point

Creating a restore point 1:

Memory consumption due to restore points

A restore point consumes storage space because the entire system is backed up, including kernel dumps at /var/crash. Clean up the system before creating a restore point or delete old restore points.

Restore points are used to restore an old system state if TwinCAT/BSD no longer works properly after a major system change or misconfiguration. Create restore points when you want to make major system changes, install programs or run tests.

The restore points are created and managed in the console using the restorepoint program. This section shows you how to create restore points in TwinCAT/BSD.

Proceed as follows:

1. Enter the command doas restorepoint create in the console.
2. The restore point is created with an automatically generated name.
3. Check the creation of the restore point with the command restorepoint status and have all restore points displayed.
Administrator@CX-4FAA38$ restorepoint status
last BE: zroot/ROOT/default
factoryreset
2020-08-28T08:56:14Z
2020-08-28T09:03:05Z
4. Alternatively, use the command doas restorepoint create your-restorepoint in order to define your own name for the restore point.
The restore point is created and can be used at any time to reset the system (see: Resetting to the restore point).
Administrator@CX-4FAA38$ restorepoint status
last BE: zroot/ROOT/default
factoryreset
2020-08-28T08:56:14Z
2020-08-28T09:03:05Z
your-restorepoint