On 06.07.2021 14:39, Christian Svensson wrote:
Hello,

On Tue, Jul 6, 2021 at 2:33 PM Spadajspadaj <[email protected]> wrote:
1) Windows FD has VSS support
That's interesting. It would be cool to have feature parity I suppose.

True, but there are many different filesystems on unices...

2) In case of ZFS/LVM you can run a pre/post scripts creating a snapshot
and mounting it for reading then unmounting and removing snapshot after
backup.

I suppose you can pack it into a python plugin but on first glance it
seems as a bit of an overkill.
I am trying to limit the amount of power the director has over my -fds
by allowing only backup and restores.
The "runscript" is a bit scary I think so I would prefer it if it can
be avoided by e.g. having a plugin.
But that's just my own threat model, it is OK if it is not shared by
other folks :-).


Perfectly understandable, but you still have to give the FD quite a lot of privileges on the box for the backup job.

And - more importantly - even as a plugin you'd have to give the FD enough powers to run the snapshot. So you might simply prepare the script yourself.

I guess I could always have a /.snapshot/ directory in every supported
filesystem with a cron that refreshes it, and configure my FileSets to
only copy those files.
That would be an easy way to do it.

Was about to suggest similar thing :-)

Of course you have to remember of all the caveats that arise from the asynchronicity between backup jobs and snapshot preparation.

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/7760cc22-d6e0-8901-dcd8-e31c1c76bc01%40gmail.com.

Reply via email to