[rear-users] BACKUP=DP questions

Gratien D'haese gratien.dhaese at it3.be
Fri Jan 25 10:27:15 CET 2013



Hi, 

Pls make an issue for this one, otherwise, we'll loose track of
it. 

Thanks, Gratien 

On Fri, 11 Jan 2013 12:22:23 +0000, "Domin, Pavol" 
wrote:    

Hi, 

I have another question, or actually enhancement
proposal: 

After disk layout is recreated, rear immediately calls 'omnir',
requesting unattended DataProtector restore from cell server. Only if this
restore fails, rear prompts to try restore manually from DP GUI. 

Would it
be possible to expand BACKUP=DP functionality, such that user is offered
manual DP GUI restore right after layout recovery (with some timeout until
unattended restore starts). 

The background:  

- Sometimes, backup
administrators deny DataProtector client requests to cell server. 

- On
larger environment's the omnir may be pending, waiting for free tape-drive.
This can take a long time. 

Regards 

Pavol 

FROM:
rear-users-bounces at lists.relax-and-recover.org
[mailto:rear-users-bounces at lists.relax-and-recover.org] ON BEHALF OF Domin,
Pavol
SENT: Wednesday, December 19, 2012 3:51 PM
TO: Relax-and-Recover
users list
SUBJECT: Re: [rear-users] BACKUP=DP questions   

Hi again,


Just tested BACKUP=DP on SAN booting, multipathed, partitioned, md-raided
layout with dataprotector restore from SAN tape from VLS library - works as
charm! 

20 minutes between booting into rear and login prompt on recovered
system - and no cheating. 

Regards 

Pavol 

FROM:
rear-users-bounces at lists.relax-and-recover.org [1]
[mailto:rear-users-bounces at lists.relax-and-recover.org [2]] ON BEHALF OF
Domin, Pavol
SENT: Tuesday, December 18, 2012 5:18 PM
TO: Relax-and-Recover
users list
SUBJECT: Re: [rear-users] BACKUP=DP questions   

Hi,  

Thanks.
OK, the operation is nice, running restore right now. EXCLUDE options are
not recognized, but if filesystem object name from selected dataset does
not match recovered filesystem, it is skipped - so its safe. 

One minor
bug discovered though: sparse files are not treated. Fixed by adding
'-sparse' to omnir command in 'restore/DP/default/40_restore_with_dp.sh':


/opt/omni/bin/omnir -filesystem ${host_fs} "${label}" -full -session
${SessionID} -tree ${fs} -into /mnt/local -sparse -device ${Device} -target
`hostname` -log > color: #1F497D;">  

I'll create github bug for this
later today 

Great tool! 

Regards, 

Pavol 

FROM:
rear-users-bounces at lists.relax-and-recover.org [3]
[mailto:rear-users-bounces at lists.relax-and-recover.org [4]] ON BEHALF OF
Gratien D'haese
SENT: Tuesday, December 18, 2012 5:01 PM
TO:
Relax-and-Recover users list
SUBJECT: Re: [rear-users] BACKUP=DP questions 


On Tue, 18 Dec 2012 13:19:37 +0000, "Domin, Pavol" wrote:

> Hi,

> 

>
I have some question about BACKUP=DP:

> 

> Is just everything in selected
datalist restored? Or BACKUP_PROG_EXCLUDE, 

> EXCLUDE_* variables are
taken into account and corresponding content is

> excluded? My concern
here is, how to make sure that some excluded stuff is

> not restored (e.g.
/var/crash)? 

> Is it possible to skip rear-own DP restore phase, restore
manually from

> cellserver gui, and afterwards pass the control back to
rear (to install

> booloader etc..)?

> 

> Regards

> 

> Pavol

cat
/usr/share/rear/restore/DP/default/*

to get an idea how it works.

It the
restore fails you still get a chance to use the GUI

-- 
Gratien
D'haese
IT3 Consultants bvba 
Vennestraat 15, B-2560 Nijlen



Links:
------
[1]
mailto:rear-users-bounces at lists.relax-and-recover.org
[2]
mailto:rear-users-bounces at lists.relax-and-recover.org
[3]
mailto:rear-users-bounces at lists.relax-and-recover.org
[4]
mailto:rear-users-bounces at lists.relax-and-recover.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pikachu.3ti.be/pipermail/rear-users/attachments/20130125/c06cf4ae/attachment.html>


More information about the rear-users mailing list