backup from gluster fs

53 views
Skip to first unread message

Frank Cherry

unread,
May 21, 2021, 2:56:38 AM5/21/21
to bareos-users

Hi there,
what is the criteria for the Bareos FD to take a file to a differeantial or incremental backup against the prev. full backup ?

Example:

[op1@storage1 ~]# stat /mnt/glusterfs/piler/store/00/588/00/45/400000005885d683233125cc00df2ff10045.m
  File: „/mnt/glusterfs/piler/store/00/588/00/45/400000005885d683233125cc00df2ff10045.m“
  Size: 3912            Blocks: 8          IO Block: 131072 reguläre Datei
Device: 17h/23d Inode: 10930643060122436912  Links: 1
Access: (0777/-rwxrwxrwx)  Uid: (  500/backup_master)   Gid: (  500/backup_master)
Access: 2021-05-21 08:31:13.545365435 +0200
Modify: 2017-01-23 11:10:01.744076268 +0100
Change: 2021-05-21 08:31:13.568365427 +0200

Is it Modify or Change ? I think, it is change because glusterfs permanently updates the meta data of the files and so it's impossible to back up ONLY modified files.

Is there a strategy for backing up GlusterFS volumes (FUSE mount) or can I change the criteria of the FD to backup only modified files?

Thanks, Frank

Spadajspadaj

unread,
May 21, 2021, 3:41:09 AM5/21/21
to bareos...@googlegroups.com

https://docs.bareos.org/Configuration/Director.html#fileset-options-resource

Mtime Only
Type: yes|no

If enabled, tells the Client that the selection of files during Incremental and Differential backups should based only on the st_mtime value in the stat() packet. The default is no which means that the selection of files to be backed up will be based on both the st_mtime and the st_ctime values. In general, it is not recommended to use this option.

--
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 bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/75f6707b-8297-4cf6-82c4-52d142809ea2n%40googlegroups.com.

Andreas Rogge

unread,
Jun 10, 2021, 12:18:54 PM6/10/21
to bareos...@googlegroups.com
Am 21.05.21 um 08:56 schrieb 'Frank Cherry' via bareos-users:
> Is it Modify or Change ? I think, it is change because glusterfs
> permanently updates the meta data of the files and so it's impossible to
> back up ONLY modified files.
>
> Is there a strategy for backing up GlusterFS volumes (FUSE mount) or can
> I change the criteria of the FD to backup only modified files?

If you need efficient incremental backups for a glusterfs volume, there
is a glusterfs plugin for the fd that you may want to take a look at:
https://docs.bareos.org/TasksAndConcepts/Plugins.html#glusterfs-plugin

Best Regards,
Andreas
--
Andreas Rogge andrea...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221-630693-86
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz
Reply all
Reply to author
Forward
0 new messages