Backup-data issues (cockpit)

I was trying to do two things with data-backup:

First, I saw that my restic-Backups failed because of an “lock” in the backend. So in the end I deleted the lock files on the remote backup target and manually started the backup, which completed without errors.

backup-data -b backup-data

Secondly, I tried to add a second data backup config using rsync with a different name and sent the update signal.

set macminiBackup rsync VFSType sftp SftpHost macminiBackup SftpUser admingsr SftpPort 22 SftpDirectory /Volumes/GartenSR status disabled BackupTime 3:00 Notify error NotifyTo root@localhost
signal-event nethserver-backup-data-save macminiBackup

Now, in the backup pane of cockpit, I only see the spinning wheel, nothing else.

This is my backup configuration (I made no changes to backup-data):

db backups show
backup-data=restic
    B2AccountId=
    B2AccountKey=
    B2Bucket=
    BackupTime=0 2 * * *
    CleanupOlderThan=168D
    FullDay=0
    NFSHost=
    NFSShare=
    Notify=error
    NotifyFrom=
    NotifyTo=root@localhost
    Program=duplicity
    Prune=0
    S3AccessKey=
    S3Bucket=
    S3Host=s3.amazonaws.com
    S3SecretKey=
    SMBHost=
    SMBLogin=
    SMBPassword=
    SMBShare=
    SftpDirectory=/bergPool/Backup-/GSR/restic/
    SftpHost=remoteBackup
    SftpPort=9822
    SftpUser=gsrbackup
    Type=incremental
    USBLabel=
    VFSType=sftp
    VolSize=2
    WebDAVLogin=
    WebDAVPassword=
    WebDAVUrl=
    status=enabled
macminiBackup=rsync
    BackupTime=3:00
    Notify=error
    NotifyTo=root@localhost
    SftpDirectory=/Volumes/GartenSR
    SftpHost=macminiBackup
    SftpPort=22
    SftpUser=admingsr
    VFSType=sftp
    status=disabled

Try setting BackupTime in cron style syntax.

that is?

When creating the new profile, I copied it from nethserver documentation page. Assuming that “3:00” is the wrong format. But spaces like “0 2 * * *” might be misinterpreted by the db set-command.

ok - quoted it and it got changed

I will try cockpit tomorrow and report. (Another issue, can`t connect to the server page now.) Thank you so far.

Wrong time formatting was the culprit.

Also no capital letters are allowed in a configuration name (not as fatal).

My source for the example that contained the error was
https://docs.nethserver.org/projects/nethserver-devel/en/latest/nethserver-backup-data.html

Thank you for your support!