Hi list,
this is my first post on this ml.

I'm studying bacula for server backup.

I'm running different tests on a vm and I've a question about restoring 
bacula backup.

I want backup /home/test. In this directory I've created 3 files with 
some data. This directory has 3 files (file1, file2, file3)

I perform a full backup , then a apply a change in file1 and perform a 
incremental backup, then I remove file2 and perform another incremental 
backup.

Then full backup has: /home/test/{file1,file2,file3}
1st incr backup has: /home/test/file1
2nd incr backup has: /home/test

Successfully, I try to restore this 3 jobs. After restore in 
/restore-path I get the following status:

after restoring full backup: /home/test/{file1,file2,file3}
after restoring 1st incr: /home/test/{file1,file2,file3}
after restoring 2nd incr: /home/test/{file1,file2,file3}

For me this is not the expected result because file2 was deleted before 
2nd incr job. Restoring 2nd incr backup the file is not removed.
Seems that bacula can't handle directory change like "in the last backup 
file2 was present, now the file does not exist due to rm and in the next 
backup job must save that this file was removed between this 2 jobs so 
when a restore will be applied for this jobs, the 2nd restore job must 
remove the deleted file."

My expected result is: /home/test/{file1,file3}

There is a way that the 2nd incr restore, remove file2 between 2 jobs?

Thanks in advance.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to