Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Veritas™ System Recovery 16 User's Guide: Linux Edition, Lecture notes of History

Starting a Linux-based computer using Veritas Recovery Disk . ... Veritas System Recovery 16 Linux Edition includes command line utilities for.

Typology: Lecture notes

2022/2023

Uploaded on 02/28/2023

laskhminaran
laskhminaran 🇺🇸

4.6

(5)

1 document

Partial preview of the text

Download Veritas™ System Recovery 16 User's Guide: Linux Edition and more Lecture notes History in PDF only on Docsity! Veritas™ System Recovery 16 User's Guide Linux Edition VERITAS Chapter 1 Introducing Veritas™ System Recovery for Linux ............................................................................................. 4 About Veritas System Recovery 16 Linux Edition .................................. 4 Chapter 2 Installing Veritas System Recovery 16 Linux Edition ............................................................................... 5 Before you install ........................................................................... 5 System requirements ................................................................ 5 Installing Fuse ......................................................................... 7 About supported file systems and removable media ....................... 8 When you delay licensing .......................................................... 9 About upgrading to Veritas System Recovery 16 Linux Edition ............... 10 Installing Veritas System Recovery 16 Linux Edition ............................ 10 Uninstalling Veritas System Recovery 16 Linux Edition ......................... 11 Chapter 3 Backing up a Linux computer ........................................ 13 About backing up a Linux computer .................................................. 13 Viewing the details of the disk that you want to back up ........................ 14 Performing an independent backup .................................................. 14 Scheduling a backup ..................................................................... 15 Viewing the details of existing backup jobs .................................. 17 Recovery point type options ...................................................... 17 Compression level options ....................................................... 18 Encryption type options ........................................................... 18 Scheduling options for starting a new recovery point set (base recovery point) ................................................................. 19 Scheduling options for creating recovery points (incremental recovery points) ............................................................... 20 Scheduling options for an independent recovery point .................... 21 Running an existing backup job ....................................................... 21 Contents Installing Veritas System Recovery 16 Linux Edition This chapter includes the following topics: ■ Before you install ■ About upgrading to Veritas System Recovery 16 Linux Edition ■ Installing Veritas System Recovery 16 Linux Edition ■ Uninstalling Veritas System Recovery 16 Linux Edition Before you install Installation procedures might vary depending on your work environment and the type of Linux you use. This chapter focuses on installing Veritas System Recovery 16 Linux Edition from a download. Before you install Veritas System Recovery 16 Linux Edition, ensure that your computer meets the system requirements. Review the Readme file for any known issues. See “System requirements” on page 5. See “About supported file systems and removable media ” on page 8. See “Installing Veritas System Recovery 16 Linux Edition” on page 10. System requirements The following table lists the system requirements for Veritas System Recovery 16 Linux Edition to function properly. 2Chapter Table 2-1 Minimum system requirements Minimum requirementsComponent You can find a list of compatible operating systems, platforms, and applications at the following URL: https://www.veritas.com/support/en_US/search-results.html?keyword=V-306-17* Note: SUSE Linux Enterprise Desktop and Red Hat Enterprise Linux Desktop are not supported. All standard kernel versions are supported for the Linux distributions that are listed. The binary drivers are already included for all standard kernels that are supported for the listed Linux distributions. For custom kernels (recompiled kernels), the installer builds and installs the custom snap driver for the running custom kernel during installation. The system must have the custom kernel headers installed. Operating system The following are the memory requirements for SUSE Linux, Red Hat Linux, and the CentOS Linux: ■ SUSE Linux: 1 GB ■ Red Hat Linux: 1 GB ■ CentOS Linux: 1 GB RAM The Veritas System Recovery 16 Linux Edition installation requires 50 MB of free disk space. To install and use the option for extracting and creating a Veritas Recovery Disk, you should have at least 200 MB of disk space. You should have sufficient hard disk space on a local hard disk or network server for storing recovery points. Be aware that the file sizes of resulting recovery points depend on the amount of data that you intend to back up. Available hard disk space The drive can be any speed, but it must be capable of being used as the startup drive from the BIOS. DVD-ROM drive 6Installing Veritas System Recovery 16 Linux Edition Before you install Table 2-1 Minimum system requirements (continued) Minimum requirementsComponent Other required software: ■ The Granular File Recovery option (mount.v2i utility) uses libfuse. Currently, only Fuse 2.7.x is supported. Other versions of Fuse are not supported, but may work. ■ createSRD uses the squashfs-tools package on RHEL for creating RHEL Veritas Recovery Disks. You must install the required squashfs-tools package on RHEL 5.x and squashfs-tools and genisoimage packages on RHEL 6.x. Software See “Installing Veritas System Recovery 16 Linux Edition” on page 10. See “About supported file systems and removable media ” on page 8. Installing Fuse The Fuse driver and libfuse must be installed before you use the Veritas System Recovery 16 Linux Edition recovery point mount utility. On SUSE Linux and RHEL 6.x, the Fuse driver is installed by default, but, the Fuse library (libfuse) must be installed. On Red Hat 5.x Linux, both, the Fuse driver and the Fuse library must be installed. You can install the Fuse driver and libfuse from the RPM repository. You can also install Fuse from a downloaded .tar file. To download and install the Fuse .tar file 1 Log on as root. 2 Download Fuse 2.7.x from http://fuse.sourceforge.net. 3 Extract the .tar.gz file. 4 Change the directory to the Fuse extracted folder. 5 Run the following commands in the order indicated. ./configure make make install 7Installing Veritas System Recovery 16 Linux Edition Before you install Recovery 16 Linux Edition before or after the trial period, you can use the following command: #symsr -addlicense <license key> See “Installing Veritas System Recovery 16 Linux Edition” on page 10. See “Uninstalling Veritas System Recovery 16 Linux Edition” on page 11. About upgrading to Veritas System Recovery 16 Linux Edition You can upgrade Symantec System Recovery 2011, 2013, or 2013 R2 Linux Edition to Veritas System Recovery 16 Linux Edition. When you upgrade, the installation program automatically uninstalls the previous version of Veritas System Recovery Linux Edition from your computer. However, all the configurations, policies, tasks, and recovery points are preserved. To upgrade to Veritas System Recovery 16 Linux Edition, install 16 Edition on your computer. See “Installing Veritas System Recovery 16 Linux Edition” on page 10. Installing Veritas System Recovery 16 Linux Edition Before you begin, you should review the requirements and scenarios for installing Veritas System Recovery 16 Linux Edition. Root privileges are required to install the Veritas_System_Recovery.bin. To install Veritas System Recovery 16 Linux Edition 1 Log on to your computer as the root user. 2 Copy the Veritas_System_Recovery.bin file from the download or the product DVD to a folder on your Linux computer. 3 Make the Veritas_System_Recovery.bin file an executable by changing to the directory where you copied it and entering the following command at the Linux console: chmod +x Veritas_System_Recovery.bin 10Installing Veritas System Recovery 16 Linux Edition About upgrading to Veritas System Recovery 16 Linux Edition 4 Start the installation process by entering the following command at the Linux terminal: ./Veritas_System_Recovery.bin Note: The command that you specified assumes that you are currently in the same directory where the Veritas_System_Recovery.bin file is located. If that is not the case, you must either change to that folder or specify the proper path to it. 5 Page through the license agreement and accept it by entering a y or yes at the prompt. 6 If you want to install the utility for creating a Veritas Recovery Disk, type a y or yes at the install Veritas Recovery Disk creation utility prompt. createSRD is a command line utility for creating a Veritas Recovery Disk CD. A Veritas Recovery Disk CD is not included with Veritas System Recovery 16 Linux Edition. You must create the CD manually using the createSRD utility. See “Creating a Veritas Recovery Disk for Linux” on page 31. 7 If you want to install the Granular File Recovery utility for mounting a recovery point, type a y or yes at the install Granular File Recovery utility prompt. Veritas System Recovery 16 Linux Edition includes command line utilities for mounting or unmounting a recovery point so you can restore individual files and folders. Note: If you choose not to install the utilities you can run the installation process later. The installation program automatically detects that Veritas System Recovery 16 Linux Edition is installed and prompts you to install the utilities that are not installed. See “When you delay licensing” on page 9. See “Uninstalling Veritas System Recovery 16 Linux Edition” on page 11. Uninstalling Veritas System Recovery 16 Linux Edition After installing Veritas System Recovery 16 Linux Edition, you can uninstall it if needed. 11Installing Veritas System Recovery 16 Linux Edition Uninstalling Veritas System Recovery 16 Linux Edition To uninstall Veritas System Recovery 16 Linux Edition 1 Log on to your computer as the root user. 2 Uninstall Veritas System Recovery 16 Linux Edition by entering the following command at the Linux terminal: symsr-uninstall Note: Reinstalling Veritas System Recovery 16 Linux Edition prompts you to install over a previous installation. Uninstalling the product is not required before reinstalling it. See “Installing Veritas System Recovery 16 Linux Edition” on page 10. 12Installing Veritas System Recovery 16 Linux Edition Uninstalling Veritas System Recovery 16 Linux Edition Note: Some characters have special meanings and should not be used in recovery point file names and passwords. These characters include colons (:), back slashes (\), question marks (?), ampersand (&), asterisk (*), and caret (^). Note:When you back up volumes with unsupported file systems, SmartSector copying is disabled (SmartSector backs up only those sectors on the volume that contain data). See “Viewing the details of the disk that you want to back up” on page 14. See “Scheduling a backup” on page 15. Scheduling a backup Veritas System Recovery 16 Linux Edition lets you schedule backups on a Linux computer. It provides a command line interface that lets you set the backup options and specify a schedule to run the backups. While scheduling backups, you can choose to create the following types of recovery points: ■ Independent recovery point Creates a complete, independent backup of the specified volumes or comma-separated multiple volumes. ■ Recovery point set Creates a base recovery point and additional recovery points that contain the incremental changes that aremade to the specified volumes or comma-separated multiple volumes To schedule a backup using Veritas System Recovery 16 Linux Edition 1 At the Linux server, log on as user root or a user with administrative privileges. 2 Enter the following command in a terminal window to start the schedule backup wizard: symsr -createjob Note: To exit the wizard, type q,Q, orQuit at any prompt other than the Select the source prompt or the Select destination prompt. 15Backing up a Linux computer Scheduling a backup 3 At the Select the source prompt, type the path of the volume block device or the mount point that you want to back up. You can provide multiple devices or mount points by using a comma (,) separator. 4 At the Select destination prompt, type the location where you want to create the recovery points. 5 At the Create machine specific folder prompt, type a y if you want to create a computer-specific folder in the backup destination. This option is useful if you use the same backup destination for multiple computers. When you back up a computer, its recovery points are stored in the folder specific to that computer. 6 At the Select recovery point type prompt, enter an appropriate option to specify the type of recovery point you want to create. See “Recovery point type options” on page 17. 7 At the Select compression level prompt, enter an appropriate option to set a compression level for the recovery points. See “Compression level options” on page 18. 8 At the Select encryption type prompt, enter an appropriate option to encrypt recovery point data or protect recovery point data using a password. See “Encryption type options” on page 18. 9 At the Backup schedule prompt, enter appropriate options to specify a schedule to run the backups. The backup schedule options vary depending on the recovery point type you have selected. See “Scheduling options for starting a new recovery point set (base recovery point)” on page 19. See “Scheduling options for creating recovery points (incremental recovery points)” on page 20. See “Scheduling options for an independent recovery point” on page 21. 10 At the Verify recovery point after creation prompt, type a y if you want to test whether the recovery point is valid or corrupt after it is created. 16Backing up a Linux computer Scheduling a backup 11 Review the backup job summary and then at the Save Job prompt, type a y to save the backup job. 12 At the Provide job name prompt, enter a name for the backup job. After you save a backup job, it is available in the system. You can view the details of the existing backups jobs if required. See “Viewing the details of existing backup jobs” on page 17. Viewing the details of existing backup jobs You can see a list of existing backup jobs and their details. To view the details of existing backup jobs 1 At the Linux server, log on as user root or a user with administrative privileges. 2 Enter the following command in a terminal window: symsr -info job See “Scheduling a backup” on page 15. Recovery point type options The following table describes the recovery point type options that you can select while scheduling a backup. See “Scheduling a backup” on page 15. Table 3-1 Recovery point type options DescriptionOption Creates a recovery point set of the specified volumes. This backup type requires less storage and is faster that independent recovery point because it contains only the incremental changes that were made to your computer since the previous recovery point Note: You can have only one recovery point set defined for each volume at any point of time. Recovery point set (recommended) Creates a complete, independent backup of the specified volumes. This backup type typically requires more storage space than the recovery point set, especially if you run the backup multiple times. Independent recovery point 17Backing up a Linux computer Scheduling a backup Table 3-4 Scheduling options for a new recovery point set (continued) DescriptionOption Starts a new recovery point set at the defined time and on the day of the month that you specify. Monthly Starts a new recovery point set at the defined time and on the first day of every quarter. Quarterly Starts a new recovery point set at the defined time and on the first day of every year. Yearly Scheduling options for creating recovery points (incremental recovery points) The following table describes the scheduling options for creating recovery points. See “Scheduling a backup” on page 15. Table 3-5 Scheduling options for creating recovery points DescriptionOption Lets you select the days and a start time for when you want to create the recovery points. Schedule Indicates that you want to create recovery points more than once a day to protect the data that you edit or change frequently. Run more than once per day Specifies the time that must occur between two recovery points. This option appears only if you have selected to create recovery points more than once in a day. Time between backups 20Backing up a Linux computer Scheduling a backup Table 3-5 Scheduling options for creating recovery points (continued) DescriptionOption Specifies the number of times the backup should run in a day. This option appears only if you have selected to create recovery points more than once in a day. Ensure that you specify a number considering the number of hours that you have specified to occur between two backups. For example, if you have specified a period of 10 hours to occur between backups, you cannot runmore than three backups a day. Number of times Scheduling options for an independent recovery point The following table describes the scheduling options for creating an independent recovery point. See “Scheduling a backup” on page 15. Table 3-6 Scheduling options for an independent recovery point DescriptionOption Creates the recovery point at the defined time and on the days of the week that you specify. Weekly Creates the recovery point at the defined time and on the day of the month that you specify. Monthly Creates the recovery point at the defined time and on the first day of every quarter Quarterly Creates the recovery point at the defined time and on the first day of every year. Yearly Creates the recovery point one time on the date and at the time that you specify. Run Only Once Running an existing backup job You can run an existing backup at any point of time. This option is useful in the following situations: 21Backing up a Linux computer Running an existing backup job ■ You modify a large number of files and you want to back them up immediately rather than waiting for the scheduled backup to run. ■ You want to back up your computer before you install a new application or before you make any changes to the operating system. To run an existing backup job 1 At the Linux server, log on as user root or a user with administrative privileges. 2 Enter the following command in a terminal window: symsr -runjob <job id> Replace <job id> with the ID of the backup job that you want to run. You can view the details of existing backup jobs to find out the ID of the backup job that you want to run. See “Viewing the details of existing backup jobs” on page 17. 22Backing up a Linux computer Running an existing backup job Recovering a Linux computer You can restore your computer (all volumes and partitions on your computer) using the recover feature of Veritas System Recovery 16 Linux Edition. If you have a recovery point for the partitions or volumes that you want to recover, you can fully recover your computer or another hard drive back to the state it was in when the recovery point was created. Restoring a system volume might require booting to and performing the recovery from the Veritas Recovery Disk. Note: If you restore a volume or partition that LVM (Linux Volume Manager) or software RAID managed, before you start the recovery process you must use lvmtools or the RAID tools that are present on the recovery disk to set up LVM or software RAID. 25Restoring a Linux computer Recovering a Linux computer To recover a computer 1 If the computer won't boot, start it using Veritas Recovery Disk. If the computer will boot, log on at a terminal window as user root or as a user with administrative privileges . See “Starting a Linux-based computer using Veritas Recovery Disk” on page 23. 2 If the recovery point is stored on a remote NFS or CIFS share, configure your network settings and mount the remote NFS or CIFS share. 3 Enter the following command at the server console: symsr -r recoverypoint_nameoptions -d destination Replace recovery point_name with the name of the recovery point you want to restore. Recovery points have a .v2i or .iv2i file name extension. Replace options with the options you want to use with the restore. Replace destinationwith the location where the recovery point is restored. The destination must be a partition or a volume device. For example, if you want to restore an independent recovery point named system_000.v2i (the system partition) from the /tmp/path/to directory back to its original location (/dev/sda1), you enter the following command: symsr -r /tmp/path/to/system_000.v2i -d /dev/sda1 -active Similarly, to restore an incremental recovery point named system_000_005.iv2i from a recovery point set, you enter the following command: symsr -r /tmp/path/to/system_000_005.iv2i -d /dev/sda1 -active Note: The -active option is only used with Veritas System Recovery 16 Linux Edition during a restoration of a system volume. Using the -active option allows the system to boot from a restored volume. Also, in order for a system to boot correctly from a restored system volume, you might be required to fix the Grub boot loader using the grub-install tool. You might also need to update the /etc/fstab. See “About restoring to empty disk segments” on page 27. See “Mounting and unmounting a recovery point for granular file and folder recovery” on page 27. 26Restoring a Linux computer Recovering a Linux computer About restoring to empty disk segments Veritas System Recovery 16 Linux Edition lets you restore to an MBR (Master Boot Record) partition, GPT and LVM devices, Software RAID, or to free space on the disk. If you restore to free disk space (an empty disk segment), an MBR partition (on an MBR disk) or a GPT entry (on a GPT disk) is created regardless of the partition type that the recovery point was created from For example, suppose you have a 40 GB hard disk (/dev/sda) that is partitioned as follows: /dev/sda1=20GB Free Space=20GB To restore a recovery point named backup01.v2i to free space, you use the following command: symsr -r backup01.v2i -d /dev/sda -seg 1 Note: To find the empty segment number, you can use the following command: symsr -info disk After the recovery is complete, the disk has the following partitions with the restored volume on the /dev/sda2 partition: /dev/sda1 /dev/sda2 See “Mounting and unmounting a recovery point for granular file and folder recovery” on page 27. Mounting and unmounting a recovery point for granular file and folder recovery Veritas System Recovery 16 Linux Edition creates partition or volume-level recovery points. If you want to restore individual files, folders, and documents, you must first mount the recovery point that includes those files and folders. The Granular File Recovery utility is included with Veritas System Recovery 16 Linux Edition and can be used to mount recovery points. After mounting a recovery point using the Granular File Recovery utility, you can restore individual files, folders, and documents. While mounting a recovery point, you may experience the following error: 27Restoring a Linux computer Mounting and unmounting a recovery point for granular file and folder recovery To unmount a recovery point 1 Open a terminal window (command-line terminal) on the Linux server and log on as a user with mount privileges. 2 Enter the following command in a Linux terminal window: umount /mnt/image Replace /mnt/image with the path to where the recovery point is mounted. See “Recovering a Linux computer” on page 25. 30Restoring a Linux computer Mounting and unmounting a recovery point for granular file and folder recovery Creating a Veritas Recovery Disk This chapter includes the following topics: ■ About Veritas Recovery Disk ■ Creating a Veritas Recovery Disk for Linux About Veritas Recovery Disk Veritas Recovery Disk lets you start a computer that can no longer run the Linux operating system. You must create the Veritas Recovery Disk using the createSRD utility after installing Veritas System Recovery 16 Linux Edition. createSRD builds a recovery environment based on the rescue environment of your Linux distribution. In the recovery environment, you can access the recovery features of Veritas System Recovery 16 Linux Edition. The createSRD utility creates an ISO file which you can burn to a CD or DVD to create a Veritas Recovery Disk. The createSRD utility does not include any CD or DVD burning functionality. See “Creating a Veritas Recovery Disk for Linux” on page 31. Creating a Veritas Recovery Disk for Linux To create a Veritas Recovery Disk for Linux you must have a Red Hat Enterprise Linux (RHEL) boot CD/DVD or ISO or a SUSE Linux Enterprise Server (SLES) CD/DVD or ISO. 5Chapter Note: The ISO must match the distribution and version of Linux that you currently have installed and running. To create a Veritas Recovery Disk for Linux CD using a Red Hat Enterprise Linux boot CD/DVD iso file 1 Open a terminal window (command-line terminal) on the Linux server and log on as a user with administrative privileges. 2 Enter the following command at the Linux server console: createSRD --iso=/mnt/backup/rhel-5.2-server-i386-dvd.iso -d /mnt/backup/customSRD.iso Replace /mnt/backup/rhel-5.2-server-i386-dvd.iso with the path and name of the source ISO file you use to create the Veritas Recovery Disk. Replace /mnt/backup/customSRD.iso with the path and name of the Veritas Recovery Disk ISO file that you want to create. To create a Veritas Recovery Disk using a SUSE Linux Enterprise Server CD/DVD in the drive 1 Open a terminal window (command-line terminal) on the Linux server and log on as a user with administrative privileges. 2 Enter the following command at the Linux server console: createSRD --iso=/media/SLES10SP_001/ -d /mnt/backup/customSRD.iso Replace /media/SLES10SP_001/ with the path to where the CD is mounted. Replace /mnt/backup/customSRD.iso with the path and name of the Veritas Recovery Disk ISO file that you want to create. To create a Veritas Recovery Disk using a SUSE Linux Enterprise Server CD/DVD mounted in the /media directory 1 Open a terminal window (command-line terminal) on the Linux server and log on as a user with administrative privileges. 2 Enter the following command at the Linux server console: createSRD -i /media/SLES10 -d /mnt/backup/customSRD.iso Replace /mnt/backup/customSRD.iso with the path and name of the Veritas Recovery Disk ISO file that you want to create. Note: You can also use RHEL 6.2 boot CD to create Veritas Recovery Disk for Linux. 32Creating a Veritas Recovery Disk Creating a Veritas Recovery Disk for Linux ■ Backing up individual files and folders. ■ Notification area icons and alerts. ■ Restore Anyware. ■ Virtualization support including physical to virtual conversion. ■ Veritas System Recovery 16 Management Solution for Convert to Virtual tasks. ■ Veritas SystemRecovery 16 Management Solution for remote recovery of drives or one or more computers using LightsOut Restore. ■ Veritas System Recovery 16 Management Solution for deleting recovery points. ■ Converting to and restoring from vmdk. 35Features not supported in Veritas System Recovery for Linux Windows product features not supported in this release Troubleshooting Veritas System Recovery Linux Edition This chapter includes the following topics: ■ About finding logs for troubleshooting ■ About using the gatherLogs utility for troubleshooting ■ About troubleshooting cron services issues About finding logs for troubleshooting You can find the logs and alerts that can help you to diagnose and troubleshoot issues in the following directory: /var/log/symsr/ This directory contains the following: ■ Debug logs ■ Application logs ■ Install/Uninstall logs ■ Alerts ■ History See “About using the gatherLogs utility for troubleshooting” on page 37. See “About troubleshooting cron services issues” on page 37. 7Chapter About using the gatherLogs utility for troubleshooting The gatherLogs utility is installed along with Veritas System Recovery Linux Edition. You can use the gatherLogs utility to gather the system logs and product logs that are required to diagnose and troubleshoot issues. Use the following command to run the utility: #gatherLogs The utility gathers the system logs and product logs, and compiles them in a compressed file that is created in the following location: #/tmp/Veritas_System_Recovery_for_Linux_logs.<timestamp>.zip See “About finding logs for troubleshooting” on page 36. See “About troubleshooting cron services issues” on page 37. About troubleshooting cron services issues If the jobs do not run on the scheduled date and time, you must restart the cron services. On SUSE Linux, use one of the following commands to restart the cron services: #service cron restart or #/etc/init.d/cron restart On RHEL, use one of the following commands to restart the cron services: #service crond restart or #/etc/init.d/crond restart See “About finding logs for troubleshooting” on page 36. See “About using the gatherLogs utility for troubleshooting” on page 37. 37Troubleshooting Veritas System Recovery Linux Edition About using the gatherLogs utility for troubleshooting parameters may be specified as a group in POSIX tar -xvf, but cannot be in the symsr utilities. The following are usage examples for the createSRD utility. createSRD --iso=/mnt/backup/rhel-5.2-server-i386-dvd.iso -d /mnt/backup/customSRD.iso Create an Veritas Recovery Disk from a Red Hat Enterprise Linux (RHEL) boot CD/DVD iso. createSRD --iso=/media/SLES10SP_001/ -d /mnt/backup/customSRD.iso Create a Veritas Recovery Disk from a SUSE Linux Enterprise Server (SLES) CD/DVD in the drive. createSRD -i /media/SLES10 -d srd.iso Create a Veritas Recovery Disk from a SUSE Linux Enterprise Server (SLES) CD/DVD mounted in the /media/ directory. SEE ALSO Man page for Backup and Restore (symsr utility). Man page for Granular File Recovery (mount.v2i utility). 40Veritas System Recovery for Linux Utilities Create Veritas Recovery Disk (createSRD utility) Backup and Restore (symsr utility) Backup and Restore (symsr utility) – Back up or restore a computer. SYNOPSIS symsr [ACTION] [OPTION]... DESCRIPTION symsr is a command line utility for backing up and restoring a Linux computer or for adding a product license key. The symsr utility captures a recovery point of the entire live Linux system without affecting the productivity. This includes the operating system, applications, system settings, configurations, and files. The recovery point can be saved to various media or disk storage devices, including a SAN, a NAS, and Direct Attached Storage. When systems fail, you can quickly restore them without the need for manual, lengthy, and error-prone processes. Using the symsr command line utility involves specifying an action and the options that are associated with that action. ACTIONS The actions are a group of choices that are used with the symsr command line utility. Only one action can be specified at a time when running symsr. Different options exist for each action. The actions are listed below: -addlicense <license key> Adds a license key to Veritas System Recovery 16 Linux Edition. -b, -backup <device> Performs a backup of the specified device and creates a recovery point at the specified location. -createjob Lets you schedule a backup job for a specific device, comma-separatedmultiple volumes, or mount points. -info Shows information about the existing backup jobs, or the partitions and file system types that are available on the disk. -r, -restore <recovery point> Restores the specified recovery point to the specified location. 41Veritas System Recovery for Linux Utilities Backup and Restore (symsr utility) Note: You cannot restore a recovery point to a destination that is smaller than the size of the volume that was backed up. -rmjob <job id> Removes an existing backup job from the info job list. -runjob <job id> Runs an existing backup job immediately, irrespective of the backup job schedule. -vrp, -verify-recovery-point <recovery point> Verifies the integrity of the specified recovery point. Note: You cannot verify the integrity of the underlying file system in the recovery point. OPTIONS -?, -help Show the help message and exits. -active, -set-active Sets the restored partition on the destination server to active. -cmp, -compress, -compression <level> The compression level you want to apply to the recovery point. Valid compression levels include None, Standard, Medium, and High. If you do not specify a compression level, the default is Standard. -d, -dest, -destination <file> The file or folder where the recovery point is created, or the device where the recovery point is to be restored. If you do not specify a destination, the default is the current directory. A destination is required for performing a recovery. -desc, -description <description> Use this option to provide a description of the recovery point. disk Lists the partitions and file system types that are available on the disk. Note: This option must be used with the -info action. 42Veritas System Recovery for Linux Utilities Backup and Restore (symsr utility) Select a recovery point type Lets you select the type of backup you want to create. The available backup types are independent backup and recovery point set. The default backup type is recovery point set [1]. Select compression level Lets you select a compression level for the recovery points. The following compression levels are available: [1] Standard - 40 percent average data compression ratio on recovery points. [2] Medium - 45 percent average data compression ratio on recovery points. [3] High - 50 percent average data compression ratio on recovery points. [4] No compression for the recovery points. By default, standard [1] compression level is used for the recovery points. Select encryption type Lets you set a password with or without encryption on the recovery point when it is created. The following encryption types are available: [1] No password and no encryption [2] Standard 128-bit (8+ character password) [3] Medium 192-bit (16+ character password) [4] High 256-bit (32+ character password) By default, this option is set to no password and no encryption [2]. Note: If you select an encryption type that requires a password, you are prompted to enter and confirm the password. Start a new recovery point set Lets you specify a schedule to run the base backup for a recovery point set. The following scheduling options are available: [1]Weekly Runs the backup on the day of the week you specify. By default, the backup is run on Sunday [SUNDAY]. [2] Monthly 45Veritas System Recovery for Linux Utilities Backup and Restore (symsr utility) Runs the backup on the days of the month you specify. You can choose to run the backup every day, on a specific day, or on the last of day of the month. By default, the backup runs on the first day of the month [1]. [3] Quarterly Runs the backup on the first day of every quarter. If you choose this option, the backup runs on the first day of January, April, July, and October. [4] Yearly Runs the backup on the first day of January. Note: The default schedule for running backups is Monthly [2]. Specify backup start time Runs the backup at the time and on the days specified by you. Note: Veritas System Recovery Linux Edition adjusts the time you specify a backup to run to the nearest quarter of an hour. For example, if you schedule a backup to run at 2:20 P.M., the time to run the backup is adjusted to 2:30 P.M. The default schedule for running backups is Weekly [1]. Create recovery points Lets you schedule a backup to create recovery points. The following scheduling options are available: Schedule recovery points Lets you specify whether you want to create recovery points. By default, this option is set to yes [y]. Recur every week Runs the backup on the days of the week you specify. You can choose to run the backup on one day or multiple days in a week. By default, the backup runs on Sunday [SUNDAY] Run more than once a day Runs the backup more than once a day to protect the data that you change frequently. By default, this option is set to no [n]. Time between backups 46Veritas System Recovery for Linux Utilities Backup and Restore (symsr utility) Specifies the maximum time period that should occur between two backups. This option appears only if you have selected to run backups more than once a day. Number of backups Specifies the number of times the backup should run in a day. Ensure that you specify a number considering the number of hours that you have specified to occur between two backups. For example, if you have specified a period of 10 hours to occur between backups, you cannot run more than three backups a day. Specify independent recovery point schedule Lets you schedule backups to create independent recovery points. The following scheduling options are available: [1]Weekly Runs the backup on the day of the week you specify. By default, the backup runs on Sunday [SUNDAY]. [2] Monthly Runs the backup on the days of the month you specify. You can choose to run the backup every day, on a specific day, or on the last of day of the month. By default, the backup runs on the first day of the month [1]. [3] Quarterly Runs the backup on the first day of every quarter. If you choose this option, the backup runs on the first day of January, April, July, and October. [4] Yearly Runs the backup on the first day of January. [5] Run only once Runs the backup only once. Note: The default schedule for running backups is Weekly [1]. Recur every week Runs the backup on the days of the week you specify. You can choose to run the backup on one or more days of the week. By default, the backup runs on Sunday [SUNDAY]. Specify backup start time Runs the backup at the time on the days that you specified. 47Veritas System Recovery for Linux Utilities Backup and Restore (symsr utility) symsr -r system_000.v2i -d /dev/sda -segment 0 Restores the system partition back to its original location (/dev/sda1) on a new or empty disk. symsr -r lvm2_000.v2i -d /dev/mapper/vg0-lv1 Restores an LVM device back to its original location (/dev/mapper/vg0-lvl). symsr -rmjob job-1 Removes the backup job corresponding to the specified job ID. symsr -runjob job-4 Runs the backup job corresponding to the specified job ID immediately, irrespective of the backup schedule. symsr -v Shows the information about the product name, version, and the license status. symsr -vrp system_000.v2i Verifies the integrity of the recovery point. symsr -vrp system_000_s01.v2i Verifies the integrity of the spanned recovery point and the recovery point chain. Note: Some characters have special meanings and should not be used in recovery point file names and passwords. These characters include colons (:), back slashes (\), question marks (?), ampersand (&), asterisk (*), and caret(^). SEE ALSO Man page for Create Veritas Recovery Disk (createSRD utility). Man page for Granular File Recovery (mount.v2i utility). 50Veritas System Recovery for Linux Utilities Backup and Restore (symsr utility) Granular File Recovery (mount.v2i utility) Granular File Recovery (mount.v2i utility) – Mount a recovery point file for restoring files and folders. SYNOPSIS mount -t v2i [recovery point]... [mount point]... [options]... DESCRIPTION mount.v2i mounts a recovery point. It is usually invoked indirectly by the mount(8) command when using the -t v2i option. This command requires the FUSE driver and the FUSE shared library (libfuse.so.2). mount -t v2i is a command line utility for mounting a recovery point file on a Linux computer so you can restore files and folders. Using the mount -t v2i command line utility involves specifying the image file name, the location where the recovery point will be mounted, and any desired options. You must use the -o flag when specifying options. Use umount command to unmount the.v2i file that is mounted using the mount -t v2i command. OPTION password=<password> If the recovery point is assigned a password, use this option to supply the password when mounting or unmounting the file. If a password is not supplied for the password-protected recovery point, it prompts you for the password. EXAMPLES The following are usage examples for mounting a recovery point using mount -t v2i and unmounting a recovery point using unmount. mount -t v2i image.v2i /mnt/image Mount a recovery point in the /mnt/image directory. Replace image.v2i with the name of the recovery point. 51Veritas System Recovery for Linux Utilities Granular File Recovery (mount.v2i utility) mount -t v2i image_nnn.iv2i /mnt/image Mount an incremental recovery point in the /mnt/image directory. Replace image_nnn.iv2i with the name of the incremental recovery point. For example, if you want to mount the fifth incremental recovery point, replace image_nnn.iv2i with image_005.iv2i. mount -t v2i image.v2i /mnt/image -o password=password Mount a password-protected recovery point in the /mnt/image directory. Replace image.v2iwith the name of the recovery point and passwordwith the password. umount /mnt/image Unmount a recovery point in the /mnt/image directory. SEE ALSO Man page for Create Veritas Recovery Disk (createSRD utility). Man page for Backup and Restore (symsr utility). 52Veritas System Recovery for Linux Utilities Granular File Recovery (mount.v2i utility)
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved