Search a backup copy of container by IP address

From ISPWiki
Jump to: navigation, search

Search in list of backup copies

Open a list of backup copies ("Backup copies -> Data-> Details" or "Contents of backup -> Details")

In the window that will open use the standard search options.

Search with mgrctl

To search with mgrctl, complete the following steps:

1. Execute the command

./sbin/mgrctl -m vemgr -o text backupdata | grep vm

the output should look like this:

id=2 type=vm

2. Execute the command by specifying in the elid parameter the id of container's backup copies that you received above

./sbin/mgrctl -m vemgr -o text backupdata.names elid=2 | grep 192.168.0.2

result:

id=2 name=def owner= ip=192.168.0.2