1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/microshift-data-cleaning-overview.adoc

35 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * microshift_troubleshooting/microshift-cleanup-data.adoc
:_mod-docs-content-type: PROCEDURE
[id="microshift-data-cleaning-overview_{context}"]
= Data cleanup script overview
You can see the usage and list available options of the `microshift-cleanup-data` script by running the script without arguments. Running the script without arguments does not delete any data or stop the {microshift-short} service.
.Procedure
. See the usage and list the available options of the `microshift-cleanup-data` script by entering the following command:
+
[WARNING]
====
Some of the options in the following script operations are destructive and can cause data loss. See the procedure of each argument for warnings.
====
+
[source,terminal]
----
$ microshift-cleanup-data
----
+
.Example output
[source,terminal]
----
Stop all MicroShift services, also cleaning their data
Usage: microshift-cleanup-data <--all [--keep-images] | --ovn | --cert>
--all Clean all MicroShift and OVN data
--keep-images Keep container images when cleaning all data
--ovn Clean OVN data only
--cert Clean certificates only
----