Snapshots on XFS

General support questions
Post Reply
Moe
Posts: 23
Joined: 2017/01/23 14:30:28

Snapshots on XFS

Post by Moe » 2018/09/18 05:56:17

Dear

I have a server with an XFS volume, and is required to enable snapshot or a snapshot-like kind of backup on it.

The volume has to stays as XFS or ext3 , can't be brtfs nor zfs

Is there's a way or a 3rd party tool that can sync/backup in a snapshot-like manner ?

Any advice is appreciated

tunk
Posts: 935
Joined: 2017/02/22 15:08:17

Re: Snapshots on XFS

Post by tunk » 2018/09/18 11:31:25

You could do a web search with these keywords: rsync snapshot
I haven't used it, but you could try rsnapshot which can be installed with yum install rsnapshot after installing the epel repo.

User avatar
TrevorH
Forum Moderator
Posts: 30559
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Snapshots on XFS

Post by TrevorH » 2018/09/18 16:07:52

Is your xfs filesystem on an LVM Logical Volume?
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Moe
Posts: 23
Joined: 2017/01/23 14:30:28

Re: Snapshots on XFS

Post by Moe » 2018/09/18 18:39:47

TrevorH wrote:
2018/09/18 16:07:52
Is your xfs filesystem on an LVM Logical Volume?
Nope, it is on a LUN made from a raid combining 12 drives in a raid 6 setup.

MartinR
Posts: 663
Joined: 2015/05/11 07:53:27
Location: UK

Re: Snapshots on XFS

Post by MartinR » 2018/09/19 08:58:23

For around 19 years I looked after systems using XFS, first under IRIX, then under Linux. To be honest, we never bothered with snapshots, running xfsdump (and sometimes xfsrestore) performed well. We used a pretty standard (if old fashioned) scheme: L0 every four Wednesdays, other Wednesdays were L1, L2 and L3. Thursday through Tuesday were L4-L9. The MySQL database was dumped to a text file in advance of the main backup. Your milage may vary though, and if you are sure you need to use snapshots have a look at https://n2ws.com/blog/how-to-guides/con ... em-and-ebs. See also https://access.redhat.com/documentation ... kuprestore.

Post Reply

Return to “CentOS 7 - General Support”