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

xfsdump -f /data/wholesystem.xfsdump /

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

  • @UID_Zero@infosec.pub
    link
    fedilink
    English
    210 months ago

    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.