Amanda-Users

AW: Q: prevent deleting existing files after recover a backup

2004-06-10 05:09:12
Subject: AW: Q: prevent deleting existing files after recover a backup
From: Sebastian Kösters <skoesters AT sino DOT de>
To: "'Martin Hepworth'" <martinh AT solid-state-logic DOT com>
Date: Thu, 10 Jun 2004 11:04:45 +0200
Hi!

The overwriting is not the Problem. That´s ok. When I recover in directory,
where files exist that are not in the backup (new files) Amanda deletes them
(not overwrite!). I want prevent that......the overwriting is ok!

Thanks!

-----Ursprüngliche Nachricht----
Von: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda 
DOT org] Im
Auftrag von Martin Hepworth
Gesendet: Donnerstag, 10. Juni 2004 10:54
An: amanda-users AT amanda DOT org
Betreff: Re: Q: prevent deleting existing files after recover a backup

Sebastian

there's no way for the restore not to overwrite the files.

What I do is to cd to somewhere that's *not* the start point for the 
backup, restore the files then mv them to where I need them to be 
possibily with a new name eg fred.c.restore.



--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


Sebastian Kösters wrote:
> Hi,
> 
>  
> 
> i got a question.
> 
>  
> 
> When I recover a backup into a directory in which already files exist 
> (others than in the Backup), Amanda deletes the existing files after the 
> backup. I don?t want Amanda to do that.
> 
>  
> 
> Is it possible to prevent this?
> 
>  
> 
> Regards,
> 
> Sebastian
> 

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.

**********************************************************************