Fsarchiver 0.8.8 bundled with SystemRescue 12.00 can flawlessly create/restore a compressed and encrypted archive of an ext4 data or OS filesystem

fsarchiver 0.8.5 which can be dnf installed when using Fedora 39-42 CANNOT be used.

Bug 2323389 - Fsarchiver v8.5 ships with Fedora 40 but cannot archive and restore a Fedora 40 or Fedora 41 ext4 OS partition.

It is unclear if the updated version will be available with Fedora 44.

Check if this works for you:

sudo dnf -y copr enable vgaetera/fsarchiver
sudo dnf upgrade fsarchiver --refresh

You can also create own repo like this:

# Set up Copr CLI
sudo dnf -y install copr-cli
xdg-open https://copr.fedorainfracloud.org/api/

# Create own repo
COPR_NAME="fsarchiver"
COPR_PKG="${COPR_NAME}"
COPR_SRC="https://src.fedoraproject.org/rpms/${COPR_PKG}"
COPR_HOME="https://www.fsarchiver.org/"
COPR_DESCR="FSArchiver filesystem archiver"
COPR_INSTR="sudo dnf install ${COPR_PKG}"
copr create ${COPR_NAME} \
--chroot fedora-rawhide-$(arch) \
--chroot fedora-42-$(arch) \
--chroot fedora-41-$(arch) \
--chroot fedora-40-$(arch) \
--description "${COPR_DESCR}" \
--instructions $'```\n'"${COPR_INSTR}"$'\n```' \
--enable-net on
copr add-package-custom ${COPR_NAME} \
--name ${COPR_PKG} \
--script-builddeps git-core \
--script /dev/stdin << EOF
git clone ${COPR_SRC}.git .
sed -i -E -e '
/^Version:/s/\S+$/0.8.8/
/^Release:/s/\S+$/%{autorelease}/
' ${COPR_PKG}.spec
EOF
copr build-package ${COPR_NAME} \
--name ${COPR_PKG}
python << EOF
from copr.v3 import Client
client = Client.create_from_config_file()
client.project_proxy.edit("${COPR_USER}", \
"${COPR_NAME}", homepage="${COPR_HOME}")
EOF

Sorry this did not work in Fedora 40 Cinnamon.

Sorry fsarchiver was not upgraded to version 0.8.8.

Success. I thought that I had enabled the copr repo by answering the question but apparently forcing a positive response via β€œ-y” is more reliable.

Will this method work for all spins of Fedora versions 40 - 42?

1 Like

Yes, it should work, but you need to fork my repo:

  • Navigate here: vgaetera/fsarchiver Copr
  • Log in with your Fedora account.
  • Scroll down to Other Actions.
  • Click the button Fork this project.
  • Specify the Fork name: fsarchiver
  • Click the button Fork it.

This way you can use your own repo.

If necessary, edit and rebuild it like this:

  • Fedora Copr > user
    • Projects > user/fsarchiver
      • Packages > fsarchiver
        • Default Build Source > Edit > … > Save
        • Rebuild > … > Build

Thanks