Tag: R1Soft

  • r1soft get-module segmentation fault

    r1soft get-module segmentation fault

    When installing r1soft kernel module, I got the following error

    root@localhost:~# serverbackup-setup --get-module
    Failed to find headers at `/lib/modules/4.19.0-20-amd64/build`.
    Get module failed.
    Falling back to old get-module ...
    signal: segmentation fault
    root@localhost:~# 
    

    This was on a Debian server with 4.19.0-20-amd64 kernel.

    root@localhost:~# uname -a
    Linux localhost 4.19.0-20-amd64 #1 SMP Debian 4.19.235-1 (2022-03-17) x86_64 GNU/Linux
    root@localhost:~# uname -r
    4.19.0-20-amd64
    root@localhost:~#
    

    To fix the error message, install linux-headers package.

    apt install linux-headers-4.19.0-20-amd64
    

    See r1soft backup

  • r1soft public key is not available

    When updating a server with r1soft backup manager installed, i get following error

    root@localhost:~# apt update
    Hit:1 http://mirrors.linode.com/ubuntu xenial InRelease
    Hit:2 http://mirrors.linode.com/ubuntu xenial-updates InRelease
    Hit:3 http://mirrors.linode.com/ubuntu xenial-backports InRelease
    Ign:4 http://repo.r1soft.com/apt stable InRelease
    Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
    Get:5 http://repo.r1soft.com/apt stable Release [3,255 B]
    Get:7 http://repo.r1soft.com/apt stable Release.gpg [230 B]
    Err:7 http://repo.r1soft.com/apt stable Release.gpg
    The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 39A4965166BD1D82
    Fetched 3,485 B in 0s (11.0 kB/s)
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    All packages are up to date.
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.r1soft.com/apt stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 39A4965166BD1D82
    W: Failed to fetch http://repo.r1soft.com/apt/dists/stable/Release.gpg The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 39A4965166BD1D82
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    root@localhost:~#

    This is because r1soft changed the key they used before. To fix, run

    rm -f r1soft.asc
    wget http://repo.r1soft.com/r1soft.asc
    apt-key add r1soft.asc
    

    Now apt update will work properly.

    r1soft

  • Add Server to R1Soft Server Backup Manager

    After installing r1soft backup agent, you need to add the server to R1Soft Server Backup Manager SE.

    Click on “Protected Machines” link on left side menu.

    Click on “New Machine” button.

    r1soft backup

    On this page, enter following details “Machine Name” and “Hostname / IP”. I used host name as Machine Name. Then used IP address. I don’t enable Encryption, you can enable it for added security.

    Click Save button.

    Now login to server where Backup Agent is installed (Protected Machine) and run

    serverbackup-setup --get-key http://url-of-backup-manager-server
    

    Example

    [root@server1 ~]# serverbackup-setup --get-key https://22536.r1softlicenses.com
    Key '22536.r1softlicenses.com' successfully installed
    [root@server1 ~]#
    

    Now verify key is added with command

    [root@server1 ~]# serverbackup-setup --list-keys
    Installed keys:
        22536.r1softlicenses.com
    1 keys installed
    
    [root@server1 ~]#
    

    Next, you need to Configure Server Backup in R1Soft Backup Manager