Skip to end of metadata
Go to start of metadata

Name

noc wipe – Completely wipe object from database

Synopsis

noc wipe <schema> <object 1> [.. <objectN>]

Description

Completely wipe object from database, cleaning all related objects

Object wiping will cause complete lost of all data, related to wiped object. Operation is not interruprable and cannot be undone. Wiping of highly-linked objects can cause high system and database load and can severe impact on system performance.

Use object wiping on your own risk. NOC project team highly recommend to not wipe anything from database

Do not forget to do databases backup before wiping

 

Schemas

SchemaDescriptionName format
managed_objectManaged Objectobject id or name
userSystem useruser id or name

Examples

Delete managed object by id (13)

/opt/noc$ ./noc wipe managed_object 13

Delete managed object by name (switch1)

/opt/noc$ ./noc wipe managed_object switch1

Delete two managed objects

/opt/noc$ ./noc wipe managed_object 13 switch1

Delete user "Joe User"

/opt/noc$ ./noc wipe user "Joe User"

 

See Also

 

  • No labels