On 31/05/2011 17:51, Radosław Korzeniewski wrote:
Hello,
2011/5/31 s ancelot 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