Managing the Backup Media

Managing the Backup Media
Managing the Backup Media
This section describes how to manage the backup media.

Accessing the Manage Backup/Restore Media Submenu, page 13

Selecting the Backup/Restore Media Type, page 14

Selecting the Archive Mode, page 14

Setting the Archive Limit, page 15

Formatting the USB Drive, page 15

Unmounting the USB Drive, page 15

Setting the Network Location, page 16
Accessing the Manage Backup/Restore Media Submenu
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
You can perform the following actions:
—
Select (immed) Backup/Restore Media Type - allows you to change the immediate backup and restore media
type. For more information, see Selecting the Backup/Restore Media Type, page 14.
—
Select (immed) Archive Mode - allows you to change the archive mode for immediate backup. For more
information, see Selecting the Archive Mode, page 14.
Cisco Systems, Inc.
13
www.cisco.com
Managing the Backup Media
Selecting the Backup/Restore Media Type
—
Set maximum archive limit - sets the number of archived files allowed for the Multiple archive mode (5 to 30).
For more information, see Setting the Archive Limit, page 15.
—
Set network location - sets the network location of the archived files, if applicable, in the following format:
<username>@<hostname or IP address>:<port number>/<path of the folder>. For more information, see
Setting the Network Location, page 16.
—
Format USB Media (in UFS) - Opens a utility for formating the USB drive.to a UFS format. You will need the root
password to format the USB device. For more information, see Formatting the USB Drive, page 15.
—
Unmount USB Media - Unmounts the USB drive so you can remove it from the USB port safely. For more
information, see Unmounting the USB Drive, page 15.
Note: Failure to unmount the USB drive before removing it from the USB port may result in data corruption.
2. Type e to go back to the PNCBMENU main menu.
Selecting the Backup/Restore Media Type
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
2. From the Manage Backup/Restore Media Submenu, type 1 and press Enter.
3. Choose the media type for all immediate backups and restores.
—
Type 1 and press Enter to set the media type to Tape (the archive mode is then set to Overwrite).
—
Type 2 and press Enter to set the media type to USB.
—
Type 3 and press Enter to set the media type to the local drive.
—
Type 4 and press Enter to set the media type to the local drive and the folder on the network.
—
Type 5 and press Enter to unmount/eject the USB drive. You must unmount the USB drive prior to removing it
from the USB port, to avoid data corruption.
4. At the Password prompt, type the root password.
Selecting the Archive Mode
The Archive mode is only applicable if the media type is USB, local, or local + network.
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
2. From the Manage Backup/Restore Media Submenu, type 2 and press Enter.
3. If the media type for immediate backup is USB, local, or local + network, choose the archive method. To only keep
one archived file and remove all existing archived files, type 1 and press Enter. To keep multiple archived files, type
2 and press Enter. The number of archived files will depend on the size of the USB drive and the configured maximum
archived limit.
14
Managing the Backup Media
Setting the Archive Limit
Setting the Archive Limit
The archive limit is only applicable if the media type is USB, local, or local + network. It determines how many archived
files are allowed on the selected media type. If the archive limit is set to a number lower than the previous number, the
oldest archived files are deleted the next time a backup is performed.
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
2. From the Manage Backup/Restore Media Submenu, type 3 and press Enter.
3. Choose the maximum number of files allowed on the selected media type (USB, local, or local + network). You can
enter a range from 5 to 30 and press Enter. The new limit is displayed next to the Set maximum archive limit menu.
Note: If you reduce the number of archives, it will remove the oldest archived files that are outside of the new limit,
if applicable.
Formatting the USB Drive
The PNCBMENU formats the USB drive to a UFS format. This is incompatible with the Windows operating system. You
cannot read the data stored on the USB drive using Windows.
Note: Once formatted, all existing data on the USB drive is deleted.
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
2. Type 5 and press Enter. A confirmation message is displayed.
3. Type y and press Enter.
4. At the Password prompt, type the root password and press Enter. A list of USB devices is displayed.
5. Type the number of the USB drive you want to format and press Enter. For example, 0 is the first device on the list.
6. At the Password prompt, type the root password and press Enter. A warning that all existing data will be lost if you
format the USB drive is displayed.
7. Type y and press Enter to confirm.
8. At the Password prompt, type the root password and press Enter.
9. At the construct a new file system prompt, type y and press Enter to confirm. The system proceeds to format the
USB drive.
10. At the Password prompt, type the root password and press Enter. The Manage Backup Media (immediate) Submenu
is displayed.
Unmounting the USB Drive
We highly recommend that you unmount/eject the USB drive prior to removing it from the USB port. Failure to do so may
result in corrupted data.
Note: If a console is accessing the USB directory, the unmount/eject command will fail.
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
15
Managing the Backup Media
Setting the Network Location
2. Ensure that the console is currently not accessing the USB drive.
3. Type 6 and press Enter. A confirmation message is displayed.
4. Type y and press Enter. The path and name of the connected USB drive is displayed.
5. From the Password prompt, type the root password and press Enter. The USB drive is unmounted. It is now safe for
you to remove it from the USB port.
6. Press Enter to return to the Manage Backup/Restore Media Submenu.
Preserving Archived Files
To prevent an archived file from being overwritten during a USB overwrite backup, you can copy the archived file to a
location on the server or you can rename the file (rename “PNC.backup”).
To copy the archived file to a server, type cp -r <name of archived file> /v/emc/<folder location>. For example, cp -r
PNC.backup.20140708-1509 /v/emc/myarchives. To restore the file, copy the file back to the USB device prior to
restoring the data.
To rename an archived file, type mv <name of archived file> <new name of the archived file>. For example, mv
PNC.backup.20140708-1509 myarchive-20140708-1509. To restore a renamed archived file, rename the archive back
to the original name before you restore the data.
Setting the Network Location
This is only applicable if the media type is Local + Network. If Local + Network is the media type, the system saves the
files to the local drive and the configured network location. To restore, the system restores the data from the network
only.
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
2. Type 4 and press Enter.
3. Enter the network location in the following format: <username>@<hostname or IP address>:<port number>/<path
of the folder>. The server will ping the network location to ensure that it can be reached.
If it cannot be reached, a message appears, confirming that you would like to set the network location, regardless
that it cannot be reached. Type y and press Enter to set to confirm. Otherwise, type n and press Enter.
If the network can be reached, the new network location is displayed next to the Set network location menu.
Testing the network location
You can test the network location to ensure that it is connected to the current PNC server and that it is ready to receive
archived data. If the server can reach the network, the contents of the directory in the network location is displayed.
Otherwise, a location is not reachable message appears. Press Enter to exit the test.
16
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising