cancel
Showing results for 
Search instead for 
Did you mean: 

restore linux backup on a linux physical system without os

babak_saeidi
Level 4

Hi

 

i have installed  Sym_System_Recovery_2013R2_3.1.0.53611_Linux_Edition.tar.gz on  one of my physcal linux server now i want to know can i get full backup from my physical server and when all of my data on physical server delet now if i have a symantec recovery disk can i recover my system with that full backup and os boot after backup restored ?

 

Best regards

12 REPLIES 12

criley
Moderator
Moderator
Employee Accredited

Yes you can - but you can only restore to the SAME hardware. Restore to different hardware is not supported with the Linux edition of System Recovery.

babak_saeidi
Level 4

ok thanks but 2 question?

 

1 - we can do this with backupexec or with symantec system recovery for linux edition?

2 - can you some help me how can do this with symantec system recovery for linux edition ?

i have installed system recovery linux edition on my redhat and create customSRD.iso and when i type symsr -info disk in my linux this is output

 

Warning: Application license will expire on Sun May 15 08:21:04 2016.
  MBR disk /dev/sda:
    0 Ext4 /dev/sda1 /boot/ (6.91 GB total - 794 MB used)
    1 Unknown /dev/sda2 (38.1 GB)
  MBR disk /dev/sdb:
    0 Unknown /dev/sdb1 (3 GB)
    1 empty segment (2.27 MB)
  LVM disk /dev/mapper/vg_lvm-LogVol00:
    0 Ext4 /dev/mapper/vg_lvm-LogVol00 / (9.77 GB total - 773 MB used)
  LVM disk /dev/mapper/vg_lvm-LogVol01:
    0 Ext4 /dev/mapper/vg_lvm-LogVol01 /home/ (11.7 GB total - 346 MB used)
  LVM disk /dev/mapper/vg_lvm-LogVol03:
    0 Ext4 /dev/mapper/vg_lvm-LogVol03 /var/ (4.88 GB total - 281 MB used)
  LVM disk /dev/mapper/vg_lvm-LogVol02:
    0 Ext4 /dev/mapper/vg_lvm-LogVol02 /usr/ (14.5 GB total - 5.47 GB used)
 

now if i want create a full backup that can restore later even my linux not boot from what do i have to get backup  ?

i know can get backup with this command :

symsr -b /dev/sdX -d system_000_sdX.v2i

 

but i don't know from what partitions i have to get backup and how can restore that?

 

i have read user guide for symantec system recovery for linux but i am confused

 

Best regards

criley
Moderator
Moderator
Employee Accredited

Backup Exec only protects data on Linux servers, it is not designed for full disaster recovery. System Recovery can do this though.

Maybe the following will help? http://www.veritas.com/docs/000019555

babak_saeidi
Level 4

thanks

 

before that i have explained to you  and say what are my partitions now but step3 , 4 for restore i could not understand

 

3. Restore the boot partition using the command below
symsr -r /device/v2i -active -d/dev/hda1

4. Then create LVM on /dev/hda2 using the lvm tags as shown below.
pvcreate /dev/hda2
vgcreate VolGroup00 /dev/hda2
lvcreate -n LogVol00 /dev/VolGroup00 /dev/hda2 -L (SiZE)

 

 

what command can restore all of my computer?

 

Best regards

 

criley
Moderator
Moderator
Employee Accredited

what command can restore all of my computer?

Are you asking for a single command to restore your entire machine? That does not exist I'm afraid. It's not that simple.

As per the User Guide (http://www.veritas.com/docs/000004206 - Page 30), it says that LVM needs to be setup before the restore is started.

babak_saeidi
Level 4

so thanks.

 

my means is not single command i want to know can you help me how can boot my physical server with above information i said you ?

1 - is your means that have to first create partitions with an application such as Gparted? next restore them ?

2 - in this page : https://www.veritas.com/support/en_US/article.000019555

step2 (Backup) it said : Backup Root Partition

for get backup from root partition where do i have to save this backup ?

Best regards

Babak

 

 

criley
Moderator
Moderator
Employee Accredited
  1. Yes, as per User Guide, LVM needs to be reconfigured first, then do the restore
  2. Where to save the backup? That is up to you..... external disk, NFS share etc etc

babak_saeidi
Level 4

thnaks

 

now when i want get backup from sda2 partition the progress go untill 75% but after that this error appear

 

Error E5D40024: Snap device torn down due to excessive I/O on the Volume.
Error E0A20019: Backup Failed.

i have installed Sym_System_Recovery_2013R2_3.1.0.53611_Linux_Edition.tar.gz  and my os is

 

[root@nagios op]# lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 6.4 (Santiago)
Release:        6.4
Codename:       Santiago

 

i read these :

https://www.veritas.com/support/en_US/article.TECH198555

 

in this article said :

This issue is resolved in Symantec System Recovery Linux Edition 2013

 

now what do i have to do ? i use that version how can solve this problem?

 

Best regards

Babak

criley
Moderator
Moderator
Employee Accredited

now when i want get backup from sda2 partition the progress go untill 75% but after that this error appear

Error E5D40024: Snap device torn down due to excessive I/O on the Volume.
Error E0A20019: Backup Failed.

I think this is going to require a support case. Can you open one please?

babak_saeidi
Level 4

thanks for your answer but i do all of above steps on the other system and it was ok i have get backup from these paths:

1 - /boot  --> sda2

2 - / ----->     sda1

i have 2 questions:

1 -now i want to know just get backup from above paths is enough to boot my os ?  because my physical system now can not boot and all of my partitions has been deleted ?

this is my output  partitions :

[root@NG tmp]# lsblk
NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sr0                        11:0    1   3.4G  0 rom  /media/RHEL_6.2 x86_64 Disc 1
sda                         8:0    0    80G  0 disk
sda1                      8:1    0  73.2G  0 part
vg_ng-LogVol00 (dm-0) 253:0    0  24.4G  0 lvm  /
vg_ng-LogVol03 (dm-1) 253:1    0  10.8G  0 lvm  [SWAP]
vg_ng-LogVol01 (dm-2) 253:2    0  24.4G  0 lvm  /home
vg_ng-LogVol02 (dm-3) 253:3    0  13.7G  0 lvm  /usr
sda2                      8:2    0   6.8G  0 part /boot

2 - now before restore i have to create below partitions ?

 

sda                         8:0    0    80G  0 disk

vg_ng-LogVol00 (dm-0) 253:0    0  24.4G  0 lvm  /
vg_ng-LogVol03 (dm-1) 253:1    0  10.8G  0 lvm  [SWAP]
vg_ng-LogVol01 (dm-2) 253:2    0  24.4G  0 lvm  /home
vg_ng-LogVol02 (dm-3) 253:3    0  13.7G  0 lvm  /usr
sda2                      8:2    0   6.8G  0 part /boot

 

3 -  when my os not boot and all of my data lost i have to boot my system with system recovery disk that has been created before system damage for restore i have to just use these commands when my system start in shell with system recovery disk?

 

babak_saeidi
Level 4

i have do these steps :

 

create a /dev/sda2  boot partition and restore boot partition

 

create all of lvm partition and restore them

 

vg_ng-LogVol00 (dm-0) 253:0    0  24.4G  0 lvm  /
vg_ng-LogVol03 (dm-1) 253:1    0  10.8G  0 lvm  [SWAP]
vg_ng-LogVol01 (dm-2) 253:2    0  24.4G  0 lvm  /home
vg_ng-LogVol02 (dm-3) 253:3    0  13.7G  0 lvm  /usr

 

symsr -r /mnt/cd/system_sda1-LogVol00.v2i -d /dev/mapper/vg_ng-Logvol00

symsr -r /mnt/cd/system_sda1-LogVol01.v2i -d /dev/mapper/vg_ng-Logvol01

symsr -r /mnt/cd/system_sda1-LogVol02.v2i -d /dev/mapper/vg_ng-Logvol02

symsr -r /mnt/cd/system_sda1-LogVol03.v2i -d /dev/mapper/vg_ng-Logvol03

 

all of backups recovered successfull but when it has been finished i have restart system and just my grub has been boot and system not bot i have attached pics first pic1 show and grub show an ok then pic2 appear and system not start

babak_saeidi
Level 4

please help me that is so important for me to restore a full backup for boot linux with symantec recovery for linux edition