Re: [Bacula-users] Restoring, and removing files from host that are not found in backup
2008-10-02 07:33:04
On Oct 2, 2008, at 5:01 AM, Tyler J. Wagner wrote:
> I'm looking for a way in bacula to restore a running machine to an
> image of
> how it was at the time it was backed up, including removing files
> that are
> not found in the backup. Basically, this functionality:
>
> rsync -av --delete /backup/location root@servertoberestored:/
>
> I use this technique with rsync backups all the time, and it works
> wonderfully. Just remember to use a list of excludes that
> avoid /dev/, /proc/, etc. Is there any way to do the same with
> Bacula 2.4?
Yes, you can specify excludes with Bacula.
I suggest trying it.
I thought an example might help. I am not suggesting this is the
FileSet you need.
FileSet {
Name = "laptop images"
Include {
Options {
signature=MD5
}
File = /
File = /tmp
File = /usr
File = /var
}
Exclude {
File = /usr/ports
File = /proc
File = *~
}
}
--
Dan Langille
http://langille.org/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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> |
Re: [Bacula-users] Restoring, and removing files from host that are not found in backup,
Dan Langille <=
|
|
|