HPE SimpliVity
1752773 Members
5018 Online
108789 Solutions
New Discussion юеВ

Re: manual file restore missing information

 
SOLVED
Go to solution
Stefano Colombo
Valued Contributor

manual file restore missing information

Hello all ,

since a bug in the simplivity File Level Restore UI , which has a limit on the number of items that can be present in a folder , we've been told to do a manual restore but the command requires the --snapid parameter of the backup that is to be used , and we don't know how to find it .

Can anyone help on this ?

thanks

SC

4 REPLIES 4
Shivam1
HPE Pro

Re: manual file restore missing information

Hi,

 

To retreive the partition number :

1. dsv-filerestore-get-partitions-fromvmdk --snapid <> --vmdkname <>

--snapid The property ID of the source backup
(SNAP).

--vmdkname (Required) The name of the vmdk file in the virtual
machine. Include the .vmdk extension in the
filename.

The above will provide a numeric value as output like 2 or 3 .

 

2. dsv-filerestore-get-files-fromvmdk --partno <> --filename "/" --snapid 8<> --vmdkname <>

The abover shall restore all files in the primary partiton of the selected vmdk.


I work for HPE

Accept or Kudo

Stefano Colombo
Valued Contributor

Re: manual file restore missing information

Hello

my problem is how to retrieve the SNAPID  of the backup

thanks

 

DowS
HPE Pro

Re: manual file restore missing information

Hi Stefano,

Gather the SnapID from DataBase:

psql -x -t -c "select * from snapbackup where name like '%VM_Name%'";

SnapID is labeled ID in the output from above command

 


I am an HPE Employee

Accept or Kudo

Stefano Colombo
Valued Contributor
Solution

Re: manual file restore missing information

Hello

I found that the correct syntax is

psql -c "SELECT id, config_filename FROM snapbackup WHERE NAME = '2019-12-08T01:00:01+01:

Your example provided no resuts as the "name" does not include the VM name

thanks