How to recover a deleted component in an RTC source

Can I recover a deleted component?

I took a snapshot of my stream and can view the remote component by viewing the snapshot. Is it possible to re-add a component to a stream from a snapshot? Or is there another way to recover a component?

(unlike ClearCase, where I had to reload the UCM stream with the base level of the component)

+4
source share
2 answers

If you deleted you, then you deleted from your disk, you can just reload the repo workspace into your local workspace (or sandbox).
Note. The local workspace or sandbox is the same as the ClearCase snapshot view, but you would not call it a “snapshot”.
In RTC, a snapshot is a global tag that includes all component flippers in a stream.

If you deleted, you mean that you are deleted from the workspace of your repository, yes, you can add it back (it is still in the stream) and click "Save".

If you deleted, you mean that you are deleted from the stream itself, you can add it back to the Stream level (open this stream, and in the "Component" section click "Add").
If it is still in the workspace of your repo, you can return it back to the stream.

OP adds:

I mean “deleted from the stream itself,” so if the component is also removed from the repo workspace, cannot it be restored from the snapshot?

Yes, it could be a recovery from a snapshot:

I could:

  • create a new workspace from a snapshot,
  • update my flowtarget to be this newly created repo and take the component from here.
  • Then update the target of the thread, which will be the thread when the component was removed, and
  • pass a component to a stream.

I confirm that this should work.
And you can really create a repo workspace from a snapshot: this is what allows the user to quickly debug an assembly record with the status of “failed assembly”: each assembly first places a snapshot on the cond on which they will work.

+4
source

If it is removed from the stream itself, you can add it back at the stream level (open this stream in the "Component" section), click "Add" either from the baseline or from the snapshot, you can search if you remember the full or partial name of the component). Save the stream at last.

0
source

Source: https://habr.com/ru/post/1439843/


All Articles