No xfsdump bundle

Hi!
I want to use xfsdump, how can I install this package on CL?

I thought it was in xfsprogs, but i think it’s in dump.

sudo swupd update

sudo swupd bundle-add dump

Nope

$ sudo swupd bundle-add dump
Loading required manifests...
Warning: Bundle "dump" is invalid, skipping it...
Failed to install 1 of 1 bundles

I can’t check it myself right now, give this a try :

sudo swupd bundle-add os-core-xfs

I do not have a package called os-core-xfs

Try this.

sudo swupd bundle-add xfsprogs

bundle

xfsprogs

is installed, but does not contain xfsdump

sudo swupd bundle-add os-core-dev

wget https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-3.1.12.tar.gz

tar -xvzf xfsdump-3.1.12.tar.gz

cd xfsdump-3.1.12

./configure --disable-shared --enable-static

make

sudo make install

There is an xfsprogs, but there is no xfsdump. Based on my search on GitHub - clearlinux/clr-bundles: Bundle definitions for Clear Linux OS it hasnt been packaged for clear linux. You’ll have to try building it from source
Dependencies

sudo swupd bundle-add kvm-host-dev xfsprogs devpkg-util-linux devpkg-attr devpkg-ncurses

download source tarball https://mirrors.edge.kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-3.1.12.tar.xz

tar xf xfsdump-3.1.12.tar.xz
cd xfsdump-3.1.12
./configure
make
sudo make install
# or sudo make install-dev 
2 Likes

@Kingfisher

We were typing the solution at the same time… :smile:

1 Like

Yea, that’s what I though…
Thank you guys :slight_smile:

2 Likes

I had to open an issue to include these programs, I saw in another distro that they are separated and not included in xfsprogs. :confused:

2 Likes