This document describes how to take a backup from Prime Infrastructure (PI) Gen 1 Appliance externally with the use of a USB port of Appliance and vice-versa.
In many customer scenarios, the use of File Trasfer Protocol/ Trivial File Transfer Protocol (FTP/TFTP) is restricted in their data centre and hence it is a big challenge for the customer to move the backup from PI to an external point with the help of any FTP/TFTP server. Since Appliance is a Linux based Server, it is very difficult to move backup from any other way to the external point because there could be a possibility for it to corrupt the backup at the time of improper transfer.
In order to overcome this situation, find an alternate solution to move the backup from Prime Server to USB Stick with the use of USB port of appliance. Another advantage is that it is much faster and helps reduce the time that it takes to copy by FTP/TFTP/SFTP and it will be very helpful to copy large data as well.
Backup from PI Gen1 Appliance to USB
Step 1. Insert a USB stick.
Step 2. Create a new partition supported ext4 file system.
-bash-4.1# fdisk -l n e l t 8e w
-bash-4.1# mkfs.ext4 /dev/sdb1
-bash-4.1# mkdir /media/usb-drive/
-bash-4.1# mount -t ext4 /dev/sdb1 /media/usb-drive/
-bash-4.1# umount /media/usb-drive
Step 3. Copy the backup from defaultRepo to the newly mounted file system.
Step 4. Validate the md5 of the file in both the places.