Package Details: veeamsnap 6.0.2.1168-1

Git Clone URL: https://aur.archlinux.org/veeamsnap.git (read-only, click to copy)
Package Base: veeamsnap
Description: Veeam Agent for Linux kernel modules (DKMS)
Upstream URL: https://repository.veeam.com/backup/linux/agent
Keywords: backup dkms veeam veeamsnap
Licenses: GPLv2
Conflicts: veeamsnap
Submitter: CodeImp
Maintainer: None
Last Packager: theokonos
Votes: 6
Popularity: 0.000000
First Submitted: 2019-01-25 08:49 (UTC)
Last Updated: 2023-05-27 13:10 (UTC)

Pinned Comments

theokonos commented on 2021-12-26 20:54 (UTC)

Good news everyone: As of release 5.0.2, veeamsnap supports Linux kernels up to and including 5.16. The AUR build has been updated to use the new 5.0.2 source and I have tested on my own machine on 5.10 LTS. Snapshotting works as it should.

Thanks!

Latest Comments

1 2 Next › Last »

neo1701 commented on 2024-04-04 11:45 (UTC) (edited on 2024-04-04 11:58 (UTC) by neo1701)

Hi to all

installation on ArcoLinux fails!

However, I doubt that this is an ArcoLinux problem:

/var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_util.c: In function ‘blk_dev_open’:

/var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_util.c:37:15: error: implicit declaration of function ‘blkdev_get_by_dev’; did you mean ‘blkdev_get_no_open’?

[-Werror=implicit-function-declaration]

37 | blk_dev = blkdev_get_by_dev(dev_id, fmode, NULL);

  |               ^~~~~~~~~~~~~~~~~

  |               blkdev_get_no_open

cozzos84 commented on 2023-09-04 13:02 (UTC) (edited on 2023-09-04 13:23 (UTC) by cozzos84)

Hi to all!

Installation on my Manjaro failed. :(

This is output of makepkg -si --noconfirm

(1/2) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
(2/2) Remove upgraded DKMS modules
==> dkms remove veeamsnap/6.0.2.1168
:: Elaborazione delle modifiche al pacchetto...
pre update
pre remove
Error! The module/version combo: veeamsnap-6.0.2.1168 is not located in the DKMS tree.
.
.
(1/1) reinstallazione veeamsnap                                                                                                               [#######################################################################################] 100%
port updrade
post install
Sign command: /usr/lib/modules/6.3.13-MANJARO/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/veeamsnap/6.0.2.1168/source -> /usr/src/veeamsnap-6.0.2.1168

Running the pre_build script:
Generate "/var/lib/dkms/veeamsnap/6.0.2.1168/build/config.h" for kernel "6.3.13-MANJARO".

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.3.13-MANJARO -C /usr/lib/modules/6.3.13-MANJARO/build M=/var/lib/dkms/veeamsnap/6.0.2.1168/build modules....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.13-MANJARO (x86_64)
Consult /var/lib/dkms/veeamsnap/6.0.2.1168/build/make.log for more information.
.
.
:: Esecuzione degli hook di post-transazione...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod veeamsnap/6.0.2.1168 -k 6.3.13-MANJARO
Error! Bad return status for module build on kernel: 6.3.13-MANJARO (x86_64)
Consult /var/lib/dkms/veeamsnap/6.0.2.1168/build/make.log for more information.
==> WARNING: `dkms install --no-depmod veeamsnap/6.0.2.1168 -k 6.3.13-MANJARO' exited 10
(3/3) Refreshing PackageKit...

this is the log:

DKMS make.log for veeamsnap-6.0.2.1168 for kernel 6.3.13-MANJARO (x86_64)
lun 4 set 2023, 14:58:59, CEST
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/log.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/mem_alloc.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/sparse_bitmap.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/container.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/container_spinlocking.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/queue_spinlocking.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/bitmap_sync.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/page_array.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/rangelist.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/rangelist_ex.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/rangevector.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/kernel_entries.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_util.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_direct.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_redirect.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_deferred.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/defer_io.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/cbt_storage.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/cbt_map.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/cbt_notify.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/cbt_params.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/cbt_persistent.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/cbt_checkfs.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/ext4_check.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/tracker.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/tracker_queue.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/snapimage.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/snapdata_collect.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_descr_mem.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_descr_file.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_descr_multidev.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_descr_pool.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/blk_descr_array.o
In file included from ./include/linux/build_bug.h:5,
                 from ./include/linux/init.h:5,
                 from /var/lib/dkms/veeamsnap/6.0.2.1168/build/stdafx.h:6,
                 from /var/lib/dkms/veeamsnap/6.0.2.1168/build/snapimage.c:3:
/var/lib/dkms/veeamsnap/6.0.2.1168/build/snapimage.c: In function ‘_snapimage_submit_bio’:
/var/lib/dkms/veeamsnap/6.0.2.1168/build/snapimage.c:681:18: error: implicit declaration of function ‘blk_mq_queue_stopped’; did you mean ‘blk_queue_stopped’? [-Werror=implicit-function-declaration]
  681 |     if (unlikely(blk_mq_queue_stopped(q)))
      |                  ^~~~~~~~~~~~~~~~~~~~
./include/linux/compiler.h:78:45: note: in definition of macro ‘unlikely’
   78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/snapstore.o
/var/lib/dkms/veeamsnap/6.0.2.1168/build/snapimage.c: In function ‘_snapimage_destroy’:
/var/lib/dkms/veeamsnap/6.0.2.1168/build/snapimage.c:1027:9: error: implicit declaration of function ‘blk_cleanup_disk’; did you mean ‘blk_alloc_disk’? [-Werror=implicit-function-declaration]
 1027 |         blk_cleanup_disk(disk);
      |         ^~~~~~~~~~~~~~~~
      |         blk_alloc_disk
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/snapstore_device.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/snapstore_file.o
  CC [M]  /var/lib/dkms/veeamsnap/6.0.2.1168/build/snapstore_mem.o
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/veeamsnap/6.0.2.1168/build/snapimage.o] Error 1
make[1]: *** Attesa per i processi non terminati....
make: *** [Makefile:2025: /var/lib/dkms/veeamsnap/6.0.2.1168/build] Error 2

Can you help me please?! :(( Thanks

theokonos commented on 2021-12-26 20:54 (UTC)

Good news everyone: As of release 5.0.2, veeamsnap supports Linux kernels up to and including 5.16. The AUR build has been updated to use the new 5.0.2 source and I have tested on my own machine on 5.10 LTS. Snapshotting works as it should.

Thanks!

theokonos commented on 2021-10-08 14:20 (UTC)

Updated to 5.0.1.4493. Please cleanbuild to avoid sha256 checksum issues.

Note, veeam is working on experimental support for kernels above 5.8 and this is supposedly working -- however this package will remain on stable release for the time being.

If anyone is interested in packaging the experimental build and making a new AUR listing, please feel free: https://github.com/veeam/veeamsnap/issues/10

theokonos commented on 2021-04-20 04:26 (UTC)

Hey all, I'm taking over maintenance of this AUR package and the primary veeam one since they went stale enough to get orphaned.

This update brings veeam and veeamsnap to 5.0, which includes changes to how the job information databases are formatted (moved from SQLite to SQL) but is backward compatible with existing installations.

Cheers!

dekart811 commented on 2020-10-03 17:12 (UTC) (edited on 2020-10-03 17:17 (UTC) by dekart811)

As stated here for the time being veeamsnap does not work with kernel 5.8! Do not ask me for a fix, there's nothing I can do about that! If you want to blame someone for that blame Veeam directly not me.

terrigan commented on 2020-10-03 15:35 (UTC) (edited on 2020-10-03 15:37 (UTC) by terrigan)

I've gotten Veeamsnap to download with a modified BUILDFILE but it fails to build on the 5.8 kernel.


# Maintainer: dekart811
# Updated by: RoderickVM (June 21 2020)
# Updates: 1) Patch file name, 2) SHA256SUM for the patch filename

_pkgbase=veeamsnap
pkgname=veeamsnap
pkgver=4.0.1.2365
pkgrel=1
pkgdesc="Veeam Agent for Linux kernel modules (DKMS)"
arch=('i686' 'x86_64')
url="http://repository.veeam.com/backup/linux/agent"
license=('GPLv2')
depends=('dkms')
conflicts=("${_pkgbase}")
install=${pkgname}.install
source=("${url}/rpm/el/7/x86_64/veeamsnap-${pkgver}-1.noarch.rpm"
        'dkms.conf')
sha256sums=('439fa156a9166125b43d4a4395ae720571a43d95ea6987dc96f8b70f618ad1c5'
            '7d2a83f28b7c41797fadf06f29ab124ae63d662f2dba4e81e1eb4d1ef15bee7c')

prepare() {
  cd "${srcdir}/usr/src/${pkgname}-${pkgver}"
  chmod 644 *
  # Convert line endings to LF to prevent patch from failing
  sed -i -e 's/\r$//g' cbt_storage.c
  sed -i -e 's/\r$//g' cbt_storage.h
}

package() {
  # Copy dkms.conf
  install -Dm644 dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf

  # Set name and version
  sed -e "s/@_PKGBASE@/${_pkgbase}/" \
      -e "s/@PKGVER@/${pkgver}/" \
      -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf

  # Copy sources (including Makefile)
  cp -r ${srcdir}/usr/src/${_pkgbase}-${pkgver}/* "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/
}

  GNU nano 5.2                                                                               make.log                                                                                         
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/blk_util.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/blk_direct.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/blk_redirect.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/blk_deferred.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/defer_io.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/cbt_storage.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/cbt_map.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/cbt_notify.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/cbt_params.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/cbt_persistent.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/ext4_check.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/cbt_checkfs.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/tracker.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/tracker_queue.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapimage.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapdata_collect.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/blk_descr_mem.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/blk_descr_file.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/blk_descr_multidev.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/blk_descr_pool.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/blk_descr_array.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapstore.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapstore_device.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapstore_file.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapstore_mem.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapstore_multidev.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapshot.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/tracking.o
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/ctrl_fops.o
/var/lib/dkms/veeamsnap/4.0.1.2365/build/snapstore_mem.c: In function ‘snapstore_mem_get_block’:
/var/lib/dkms/veeamsnap/4.0.1.2365/build/snapstore_mem.c:76:23: error: too many arguments to function ‘__vmalloc’
   76 |     buffer_el->buff = __vmalloc( SNAPSTORE_BLK_SIZE * SECTOR_SIZE, GFP_NOIO, PAGE_KERNEL );
      |                       ^~~~~~~~~
In file included from ./include/asm-generic/io.h:911,
                 from ./arch/x86/include/asm/io.h:375,
                 from ./include/linux/scatterlist.h:9,
                 from ./include/linux/blkdev.h:28,
                 from /var/lib/dkms/veeamsnap/4.0.1.2365/build/stdafx.h:15,
                 from /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapstore_mem.c:1:
./include/linux/vmalloc.h:111:14: note: declared here
  111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
      |              ^~~~~~~~~
make[1]: *** [scripts/Makefile.build:280: /var/lib/dkms/veeamsnap/4.0.1.2365/build/snapstore_mem.o] Error 1
make[1]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/veeamsnap/4.0.1.2365/build/ctrl_pipe.o
make: *** [Makefile:1752: /var/lib/dkms/veeamsnap/4.0.1.2365/build] Error 2
make: Leaving directory '/usr/lib/modules/5.8.11-1-MANJARO/build'

timemaster commented on 2020-08-08 01:35 (UTC) (edited on 2020-08-08 01:44 (UTC) by timemaster)

It seems the sha256sum validation of the patch file fails. One could refactor this but it's not useful : there is a new version available 4.0.1.2365 both in the official git page in the main branch as well as a rpm on the veeam website. It does not needs the patch anymore to work on kernel 5.7. I have flagged this package out of date and modified locally the pkg to work with the newer and remove the patch and everything working fine.

RoderickVM commented on 2020-06-23 04:35 (UTC) (edited on 2020-06-23 04:38 (UTC) by RoderickVM)

@dekart811 The following renders the pinned comment ineffective. In order to make the veaamsnap module install on kernels 5.7.x, can you please update de PKGBUILD with the following? Confirmed successful installation on both 5.7.4 "standard" and zen kernels. Tested veeam on 5.7.4-zen1-1-zen kernel and worked fine.

# Maintainer: dekart811
# Updated by: RoderickVM (June 21 2020)
# Updates: 1) Patch file name, 2) SHA256SUM for the patch filename

_pkgbase=veeamsnap
pkgname=veeamsnap
pkgver=4.0.0.1961
pkgrel=1
pkgdesc="Veeam Agent for Linux kernel modules (DKMS)"
arch=('i686' 'x86_64')
url="http://repository.veeam.com/backup/linux/agent"
license=('GPLv2')
depends=('dkms')
conflicts=("${_pkgbase}")
install=${pkgname}.install
source=("${url}/rpm/el/7/x86_64/veeamsnap-${pkgver}-1.noarch.rpm"
        'fix-compilation-on-linux-5.7.patch::https://github.com/veeam/veeamsnap/pull/5.patch'
        'dkms.conf')
sha256sums=('40857406899712576e233dd76e54fa5fb9e73e45f6c616d5a9facdb4bcea6d8c'
            '492ae08fe620184d015574da9e0b1b3fab695318c1d81dd6b7a885ac0703281e'
            '7d2a83f28b7c41797fadf06f29ab124ae63d662f2dba4e81e1eb4d1ef15bee7c')

prepare() {
  cd "${srcdir}/usr/src/${pkgname}-${pkgver}"
  chmod 644 *
  # Convert line endings to LF to prevent patch from failing
  sed -i -e 's/\r$//g' cbt_storage.c
  sed -i -e 's/\r$//g' cbt_storage.h
  patch -l -p2 -i "$srcdir/fix-compilation-on-linux-5.7.patch"
}

package() {
  # Copy dkms.conf
  install -Dm644 dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf

  # Set name and version
  sed -e "s/@_PKGBASE@/${_pkgbase}/" \
      -e "s/@PKGVER@/${pkgver}/" \
      -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf

  # Copy sources (including Makefile)
  cp -r ${srcdir}/usr/src/${_pkgbase}-${pkgver}/* "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/
}