Copying Data to a USB Drive from PGP Universal Server

book

Article ID: 157106

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

When upgrading from PGP Universal Server 2.x to version 3.x, it is required to upgrade the 2.x server and all cluster members to version 2.12 SP4 and create a backup of the server.  Then install the 3.x version and restore the backup file to the new installation.  As copying a large backup file over the network can be time consuming, to save time, you can connect a USB drive to PGP Universal Server and copy the backup file directly to it.

 

Resolution

Accessing the PGP Universal Server command line for read-only purposes (such as to view settings, services, logs, processes, disk space, query the database, etc) is supported. However, performing configuration modifications or customizations via the command line may void your Symantec Support agreement unless the following procedures are followed.
Any changes made to the PGP Universal Server via the command line must be:

  • Authorized in writing by Symantec Support.
  • Implemented by a Symantec Partner, reseller or Symantec Technical Support.
  • Summarized and documented in a text file in /var/lib/ovid/customization on the PGP Universal Server itself.

Changes made through the command line may not persist through reboots and may be incompatible with future releases. Symantec Technical Support may also require reverting any custom configurations on the PGP Universal Server back to a default state when troubleshooting new issues.

 

The instructions below presume you have a USB drive formatted with the FAT32 file system.  PGP Universal Server will not recognise NTFS formatted drives.

Windows will not format a partition larger 32 GB with FAT32 but it is possible to format a larger partition with FAT32 using the Windows command line.  To format a USB drive e.g. (E: drive) with FAT32 use the following command:

C:\>format E: /FS:FAT32

PGP Universal Server is running as a Guest on a VMware ESX/ESXi Server

If your PGP Universal Server runs as a guest on a VMware ESX/ESXi server, you can still use this method.  However, there are a few initial steps required:

1. From the Vsphere client, navigate to PGP Universal Server guest and select Edit virtual machine settingsThen ensure you have  a USB controller present.

 Virtual machine settings

2. Insert the USB drive into the VMware ESX/ESXi host server.

3. From the Edit virtual machine settings page, click on Add.  You should see the USB Device listed.  If it shows as unavailable then the USB drive has not been detected.

Add USB Device

4. Click Next and you should see the name of the USB drive.  Click Next.

USB name

5. Click Finish.

6. Click OK to exit the Edit virtual machine settings page.

7. Follow the instructions below starting at step 2.

 

PGP Universal Server running on physical hardware

1. Insert the USB drive into the server.

2. Use PuTTY or a similar SSH client to log in to PGP Universal Server.

3. List the partition tables.  Note that the USB drive is listed as /dev/sb1 in this case.

# fdisk -l
...
Disk /dev/sdb: 4011 MB, 4011851776 bytes
88 heads, 24 sectors/track, 3710 cylinders
Units = cylinders of 2112 * 512 = 1081344 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           4        3711     3913792    c  W95 FAT32 (LBA)

3. Make a directory to mount the USB drive.
# mkdir /mnt/usb

4. Mount the USB drive.
# mount /dev/sdb1 /mnt/usb

5. Copy a backup file to the drive. In this case it is the backup from 2012-09-26.
# cp /var/lib/ovid/backups/*backup-09-26-12-03-00-08.tar.gz.pgp /mnt/usb/

6. Unmount the USB drive
# umount /mnt/usb

If you need to copy the data from the USB drive to another PGP Universal Server, simply repeat the process but copy the backup file from the USB:

# cp /mnt/usb/*backup-09-26-12-03-00-08.tar.gz.pgp /var/log/ovid/


Attachments