Dears, I set my job with "Accurate = yes", and it works well. The only question is ... is there a way to remove files deleted from production when I perform the restore in DR site?
Thank you 2015-08-20 18:02 GMT+02:00 Carlo Filippetto <carlo.filippe...@gmail.com>: > Hi all, > I would like to have a DR site always aligned with the production, I made > this: > 2 different Bacula server, when the production finish the bck (every day > incremental or differential and 1 monthly Virtual Full) sent the dump and > the volumes onto the second site and start the restore forcing the last > jobID for every bck, and it works, but I found several problem that I need > to solve: > > 1) the removed files and directory persist on second site > 2) if I rename/move a directory Bacula don't bck it with all files, and in > the second site the restore isn't aligned > > example: > first bck: > *list files jobid=87 > +----------+ > | Filename | > +----------+ > | /bck/ | > | /bck/file.iso | > | /bck/file2.iso | > | /bck/test.txt | > | /bck/dir/ | > | /bck/dir/file3.iso | > | /bck/dir/file.txt | > +----------+ > +-------+-----------+---------------------+------+-------+----------+----------+-----------+ > > | JobId | Name | StartTime | Type | Level | JobFiles | > JobBytes | JobStatus | > +-------+-----------+---------------------+------+-------+----------+----------+-----------+ > > | 87 | job-test1 | 2015-08-20 17:09:37 | B | F | 7 | > 524,278 | T | > > +-------+-----------+---------------------+------+-------+----------+----------+-----------+ > > > restore is PERFECT > > > move the /bck/dir/ to /bck/dir_old > second bck > > *list files jobid=89 > +----------+ > | Filename | > +----------+ > | /bck/ | > | /bck/dir_old/ | > +----------+ > +-------+-----------+---------------------+------+-------+----------+----------+-----------+ > > | JobId | Name | StartTime | Type | Level | JobFiles | > JobBytes | JobStatus | > +-------+-----------+---------------------+------+-------+----------+----------+-----------+ > > | 89 | job-test1 | 2015-08-20 17:23:02 | B | I | 2 | > 0 | T | > > +-------+-----------+---------------------+------+-------+----------+----------+-----------+ > > Bacula saw only the changed directory > > RESTORE: > > [root@test1 bck]# ll * > -rw-r--r-- 1 root root 281737728 Aug 20 17:15 file2.iso > -rw-r--r-- 1 root root 124383232 Aug 20 17:06 file.iso > -rw-r--r-- 1 root root 0 Aug 20 17:06 test.txt > > *dir*: > total 184168 > -rw-r--r-- 1 root root 188392960 Aug 20 17:07 file3.iso > -rw-r--r-- 1 root root 30 Aug 20 17:15 file.txt > > *dir_old: * > *total 0* > > I can find the dir directory, and is full (and it is correct because it > doesn't remove the directory), but I find the dir_old empty > > > WHY? > What I have to do to solve this problem? > > > Thank you > > > > > > > > > > > >
------------------------------------------------------------------------------
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users