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?
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.
It will not. Xfsdump only dumps the xfs partition, and any mountpoints are treated as empty folders (which they kind of are).
ok got it, so /home will be backupped and /media will not, correct? thank you very much!
Assuming that /home resides on the same filesystem, and is not a separate mountpoint, yes.