Bacula-users

Re: [Bacula-users] Deleting files/folders on restores

2010-04-01 09:12:39
Subject: Re: [Bacula-users] Deleting files/folders on restores
From: Thomas Mueller <thomas AT chaschperli DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 1 Apr 2010 13:10:15 +0000 (UTC)
Am Thu, 01 Apr 2010 11:54:51 +0200 schrieb Marco Zimmermann:



> How can I change this behavior? I mean restore in a way that newer
> files/folders will be deleted?

IMHO this is not supported. it only restores accurate but does not delete 
what is already there. 

you would need to delete the folder before restoring (-> ClientPreScript) 
or search/delete files with find and "-mtime" after restoring.


- Thomas


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>