public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Oliver Hitz <oliver@net-track.ch>
To: xfs@oss.sgi.com
Subject: Off-line xfsrestore to avoid level 0 dumps
Date: Tue, 24 Nov 2009 17:03:51 +0100	[thread overview]
Message-ID: <20091124160351.GK29999@net-track.ch> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 835 bytes --]

Hi all,

We have to back up several fairly large XFS filesystem (multiple TB)
using xfsdump to a remote server (no tape drive involved, all on disks).

In order to avoid doing level 0 dumps every now and then, we came up
with the idea of constructing level 0 dumps off-line:

- xfsrestore of the latest level 0 dump to a temporary location
- xfsrestore of the latest level 1 dump
- xfsdump -l 0 of this location to create the new level 0 dump

By setting the time of the next level 1 dump (using the -t switch), we
can then force the dump time to that of our artificial level 0 dump.

Has anybody done this before? Can anybody see any issues with this
approach? We wouldn't want to end up with a solution where our
artificial level 0 dump drifts off from the real content of the
filesystem.

Thanks in advance for any feedback

Oliver

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

                 reply	other threads:[~2009-11-24 16:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091124160351.GK29999@net-track.ch \
    --to=oliver@net-track.ch \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox