xfs
[Top] [All Lists]

Re: Is xfsdump operation atomic?

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Is xfsdump operation atomic?
From: Nicolas.Kowalski@xxxxxxx
Date: Tue, 23 Nov 2004 13:27:37 +0100
In-reply-to: <81DB11CE-3D40-11D9-B9BB-000A95BCCB96@iam.unibe.ch>
References: <81DB11CE-3D40-11D9-B9BB-000A95BCCB96@iam.unibe.ch>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 23 Nov 2004, Michael Locher wrote:

> Hi

Hello.

> I wonder if xfsdump is an atomic operation and thus can be savely used on a
> live filesystem?

It is not atomic AFAIK.

> If not, what is the recommended way to backup a live XFS filesystem?

You may use LVM snapshots (untested):

- freeze the filesystem

- snapshot it

- unfreeze the filesystem

- xfsdump on the snapshot

- remove the snapshot


At work, we do not use LVM, but rsync to create a almost-snapshot on a 
backup-dedicated server. Once done, we backup this server with xfsdump.

Regards.

-- 
Nicolas


<Prev in Thread] Current Thread [Next in Thread>