Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

300.7. kbackup-26.08.2

Backup program — profiles of folders archived to a local or remote tar, full or incremental

26.08.2-1 · GPL-2.0-only · 2.0 SBU · 651.5 KiB, 17 files · 44_apps, 394 of 422 · ports/core/transfer/kbackup

Homepage: https://apps.kde.org/kbackup/

KBackup archives a chosen set of folders and files into tar archives, compressed or not, on a local disk, a mounted drive or any KIO location such as sftp:/. A selection, its target and its filters are saved as a profile (a .kbp file, whose MIME type the port installs), and a backup can be full or take only what changed since the last full one. Restoring is unpacking the archives with ark or tar.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qt5compat, kguiaddons, knotifications, ki18n, kio, kxmlgui, kiconthemes, karchive, kwidgetsaddons, kstatusnotifieritem, kdoctools, libarchive, shared-mime-info.

Required by (1): kde-gear-utilities.

Sources: kbackup-26.08.2.tar.xz (445.2 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install kbackup'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6Core5Compat=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: kbackup.

Directories: /usr/share/doc/HTML/en/kbackup, /usr/share/licenses/kbackup.

KBackup has no scheduler of its own. kbackup --autobg <profile> runs one profile without a window, and a schedule is a user crontab line that runs it, which cronie serves and kcron edits. KDOS’s own backups are kdos backup over restic and are not this program.

update_xdg_mimetypes in upstream’s install does nothing under DESTDIR, so the package carries only kbackup.xml and kpkg regenerates the shared MIME database on install (see Shared indexes).