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