xfsdump questions

Hello! I just installed my first system using XFS filesystem, and the xfsdump utility seems interesting. I was following this guide about it, but it does not mention anything about the /media mount point: if I have a USB drive full of files mounted in /media/HDD1 and run


<span style="color:#323232;">xfsdump -f /data/wholesystem.xfsdump /
</span>

will the files on the USB be backupped as well? and what about the /home directory?

UID_Zero,
@UID_Zero@infosec.pub avatar

I read the man page, but I didn’t see the answer to your question in there.

I am assuming that it would only dump the root filesystem in your example. Other mounted filesystems like /home or /media, if they’re separate filesystems, probably aren’t included. You’d have to run a separate dump for each one.

Best option to find out is to try it and see what happens. No better way to learn than by doing.

neidu2, (edited )

It will not. Xfsdump only dumps the xfs partition, and any mountpoints are treated as empty folders (which they kind of are).

tubbadu,

ok got it, so /home will be backupped and /media will not, correct? thank you very much!

neidu2,

Assuming that /home resides on the same filesystem, and is not a separate mountpoint, yes.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #