Re: [Bacula-users] diff between last backup and actual filesystem content

2011-06-03 Thread s ancelot

On 31/05/2011 17:51, Radosław Korzeniewski wrote:

Hello,

2011/5/31 s ancelot sance...@free.fr mailto:sance...@free.fr

I accidentally deleted some parts of a filesystem that is backed up
periodically, but I do not know exactly which files have been dropped
(rm -rf ,and CTRL C...)

So, Is there is a way to compare what changed from the last backup and
the actual disk filesystem content in order to restore only these
files
in a folder ?


Why do you want to do that?

I think a simplest way to recover from above situation is to restore 
all files from a backup to original location with option for never 
overwrite an existing files. Something like this:


Using Catalog MyCatalog
Run Restore job
JobName: RestoreFiles
Bootstrap:   /var/bacula/working/debian-dir.restore.3.bsr
Where:
Replace: always
FileSet: Full Set
Backup Client:   debian-fd
Restore Client:  debian-fd
Storage: File
When:2011-05-31 17:51:22
Catalog: MyCatalog
Priority:10
Plugin Options:  *None*
OK to run? (yes/mod/no): mod
Parameters to modify:
 1: Level
 2: Storage
 3: Job
 4: FileSet
 5: Restore Client
 6: When
 7: Priority
 8: Bootstrap
 9: Where
10: File Relocation
11: Replace
12: JobId
13: Plugin Options
Select parameter to modify (1-13): 11
Replace:
 1: always
 2: ifnewer
 3: ifolder
 4: never

You can choose recommended option: never. If some file exist on 
filesystem (thus was not deleted) it will be skipped from restoration 
and you will restore everything else.


best regards

--
Radosław Korzeniewski
rados...@korzeniewski.net mailto:rados...@korzeniewski.net

Hi !
Thanks for your reply, this seemed a nice solution

However, here is what had happened with our very very badboys network's 
administrators :
a) They restored 159Gb of data backed up on monday (slow, need some disk 
storage, but it was available)

b) they used rsync as follow : 
rsync -avr x y

c) today everybody was happy when seeing they had LOST three days of 
work

and since the tape was running to restore ... no backup until now


So, now I have some more questions :
1) Using a tape is slow, is it possible to use a disk storage as backup 
device with bacula ??
2) if 1) is possible, can we use concurrent accesses to the catalog in 
order being able to restore some data , while we are backing up other 
ones 


Regards
S.Ancelot



--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] diff between last backup and actual filesystem content

2011-05-31 Thread s ancelot
On 31/05/2011 16:43, John Drescher wrote:
 On Tue, May 31, 2011 at 10:11 AM, s ancelotsance...@free.fr  wrote:

 Hi everybody !


 I have had following problem :

 I accidentally deleted some parts of a filesystem that is backed up
 periodically, but I do not know exactly which files have been dropped
 (rm -rf ,and CTRL C...)

 So, Is there is a way to compare what changed from the last backup and
 the actual disk filesystem content in order to restore only these files
 in a folder ?

  
 How about restoring the folder to a different location then doing a
 diff to see what is different between the two locations?

 John

Yes, I agrea it would be a solution, but it sounds to me an old and long 
method, and need some disk space.
I had seen more powerful backups system in the past, are you sure there 
are no other ways  

Regards
Steph

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users