KB10047 How to extract Openshift volume content, that was backed up by vProtect

📚

Documentation

Installation guides, configuration steps, and product documentation.

Explore documentation →

🎧

Support

Create a support request or review your existing cases.

Go to support →

⬇️

Download trial

Download the product trial and try it out.

View downloads →

KB10047 How to extract Openshift volume content, that was backed up by vProtect

 

KB ID: 10047

Product: vProtect

Version: not applicable

Published: 2021-11-08

Last modified: 2021-11-08

Problem

I have created a backup of Openshift deployment. Now I want to extract its content to the file system.

Solution

Restore target instance to file system

The files that are restored are archived by tar. To extract it, simply use tar command

tar -xf mariadb_data
[root@vpro-rhv ~]# cd /tmp/restored/mariadb/2021-11-08__10.31/ [root@vpro-rhv 2021-11-08__10.31]# ll razem 181480 -rw-r--r--. 1 root 10774256 185819136 11-08 10:50 mariadb_data -rw-r--r--. 1 root 10774256 13824 11-08 10:50 resources.tar [root@vpro-rhv 2021-11-08__10.31]# tar -xf mariadb_data [root@vpro-rhv 2021-11-08__10.31]# ll razem 361764 -rw-rw----. 1 10774256 10774256 16384 11-08 10:17 aria_log.00000001 -rw-rw----. 1 10774256 10774256 52 11-08 10:17 aria_log_control -rw-rw----. 1 10774256 10774256 976 11-08 10:17 ib_buffer_pool -rw-rw----. 1 10774256 10774256 12582912 11-08 10:17 ibdata1 -rw-rw----. 1 10774256 10774256 79691776 11-08 10:17 ib_logfile0 -rw-rw----. 1 10774256 10774256 79691776 11-08 10:17 ib_logfile1 -rw-rw----. 1 10774256 10774256 12582912 11-08 10:17 ibtmp1 drwxrws---. 2 root 10774256 6 11-08 10:17 lost+found -rw-rw----. 1 10774256 10774256 2 11-08 10:17 mariadb-1-lmw4g.pid -rw-r--r--. 1 root 10774256 185819136 11-08 10:50 mariadb_data -rw-rw----. 1 10774256 10774256 0 11-08 10:17 multi-master.info drwx--S---. 2 10774256 10774256 4096 11-08 10:17 mysql -rw-r--r--. 1 10774256 10774256 16 11-08 10:17 mysql_upgrade_info drwx--S---. 2 10774256 10774256 20 11-08 10:18 new drwx--S---. 2 10774256 10774256 20 11-08 10:17 performance_schema -rw-r--r--. 1 root 10774256 13824 11-08 10:50 resources.tar drwx--S---. 2 10774256 10774256 20 11-08 10:17 sampledb -rw-rw----. 1 10774256 10774256 24576 11-08 10:17 tc.log drwx--S---. 2 10774256 10774256 20 11-08 10:17 test