Yes I have tried chrome and firefox running on Mac, Windows and Linux.
Please, post the output of the following commands:
echo '{"action":"backup-info"}' | /usr/bin/sudo /usr/libexec/nethserver/api/system-backup/read | jq
echo '{"action":"running-info"}' | /usr/bin/sudo /usr/libexec/nethserver/api/system-backup/read | jq
echo '{"action":"list-disks"}' | /usr/bin/sudo /usr/libexec/nethserver/api/system-backup/read | jq
[root@mail ~]# echo '{"action":"backup-info"}' | /usr/bin/sudo /usr/libexec/nethserver/api/system-backup/read | jq
{
"status": {
"backup-config": [
{
"push_ts": 1680181159,
"original_ts": 1680129005,
"disk_ts": 1680129006,
"description": "@08:59",
"size": 9500,
"Release": "",
"Version": "",
"type": "cron",
"id": "c00",
"ProductName": ""
},
{
"push_ts": 1680102673,
"original_ts": 1680102672,
"disk_ts": 1680102672,
"description": "03-29-2023",
"size": 6780,
"Release": "",
"Version": "",
"type": "snapshot",
"id": "s00",
"ProductName": ""
}
],
"backup-data": [
{
"destination": {
"used": 1829122150400,
"percentage": 61,
"total": 2953356427264
},
"id": "backup-data",
"log": "/var/log/backup/backup-backup-data-202303291830.log",
"last-run": 1680129120,
"result": "fail"
},
{
"destination": null,
"id": "data-backup",
"log": "/var/log/backup/backup-data-backup-202303300105.log",
"last-run": 1680152750,
"result": "fail"
},
{
"destination": {
"used": 1803757998080,
"percentage": 45,
"total": 3936819662848
},
"id": "server-backp",
"log": "/var/log/backup/backup-server-backp-202301110800.log",
"last-run": 1673587650,
"result": "success"
}
]
},
"configuration": {
"backup-config": {
"HistoryLength": "5"
},
"backup-data": {
"backups": [
{
"custom-excludes": [],
"props": {
"status": "enabled",
"SMBLogin": "admin",
"NotifyTo": "steve@xxxxxxx.com",
"USBLabel": "backup-vol",
"SMBShare": "/backup.data",
"Type": "incremental",
"Notify": "always",
"BackupTime": "30 18 * * *",
"NotifyFrom": "steve@xxxxxxxx.com",
"SMBHost": "192.168.0.1",
"VFSType": "usb",
"FullDay": "3",
"CleanupOlderThan": "7D",
"Program": "duplicity",
"SMBPassword": "xxxxxxx",
"type": "duplicity"
},
"custom-includes": [],
"name": "backup-data",
"ready": 1,
"type": "backup"
},
{
"PasswordEncrypt": "xxx",
"custom-excludes": [],
"props": {
"NotifyTo": "steve@xxxxxxxxx.com",
"B2Bucket": "",
"WebDAVPassword": "",
"S3Host": "",
"B2AccountId": "",
"USBLabel": "backup_vol",
"Type": "full",
"B2AccountKey": "",
"Notify": "always",
"SftpPassword": "",
"BackupTime": "5 1 * * *",
"SftpDirectory": "",
"VFSType": "usb",
"FullDay": "0",
"CleanupOlderThan": "7D",
"VolSize": "200",
"NFSHost": "",
"Prune": "0",
"type": "restic",
"S3Bucket": "",
"SMBLogin": "",
"status": "enabled",
"SMBShare": "",
"WebDAVLogin": "",
"WebDAVUrl": "",
"SMBHost": "",
"SftpHost": "",
"S3SecretKey": "",
"SMBPassword": "",
"SftpPort": "22",
"NFSShare": "",
"SftpUser": "",
"S3AccessKey": ""
},
"custom-includes": [],
"name": "data-backup",
"ready": 1,
"type": "backup"
},
{
"custom-excludes": [],
"props": {
"NotifyTo": "steve@xxxxxxx.com",
"B2Bucket": "",
"WebDAVPassword": "",
"S3Host": "",
"B2AccountId": "",
"USBLabel": "backup",
"Type": "incremental",
"B2AccountKey": "",
"Notify": "error",
"SftpPassword": "",
"BackupTime": "0 * * *",
"SftpDirectory": "",
"VFSType": "cifs",
"FullDay": "3",
"CleanupOlderThan": "1D",
"VolSize": "200",
"NFSHost": "",
"Prune": "0",
"type": "duplicity",
"S3Bucket": "",
"SMBLogin": "steve",
"status": "enabled",
"SMBShare": "backup.data",
"WebDAVLogin": "",
"WebDAVUrl": "",
"SMBHost": "192.168.0.1",
"SftpHost": "",
"S3SecretKey": "",
"SMBPassword": "xxxxxxxx",
"SftpPort": "22",
"NFSShare": "",
"SftpUser": "",
"S3AccessKey": ""
},
"custom-includes": [],
"name": "server-backp",
"ready": 1,
"type": "backup"
}
],
"defaults": {
"custom-excludes": [
"/tmp/"
],
"custom-includes": [
"/root/"
],
"excludes": [
"/var/lib/nethserver/db",
"/var/lib/nethserver/backup/restic/",
"/var/log/lastlog",
"/root/.ssh",
"/var/lib/nethserver/backup/duplicity/",
"/tmp/"
],
"IncludeLogs": "enabled",
"includes": [
"/root/"
]
}
}
}
}
[root@mail ~]# echo '{"action":"running-info"}' | /usr/bin/sudo /usr/libexec/nethserver/api/system-backup/read | jq
{
"restore-data": 0,
"backup-data": 0
}
[root@mail ~]#
[root@mail ~]# echo '{"action":"list-disks"}' | /usr/bin/sudo /usr/libexec/nethserver/api/system-backup/read | jq
[
{
"formatted": 1,
"model": "ST3000NM0033-9ZM",
"name": "sdc",
"partitions": [
{
"label": "backup-vol",
"fstype": "ext4",
"size": "3000591450112"
}
],
"size": "3000592982016",
"vendor": "ATA"
}
]
I can’t see anything wrong, apart from /tmp exclusion and /root inclusion (both are defaults) that should not cause problems to the cockpit page.
We can try to find out if the configuration is the source of the problem resetting it.
Save your config:
cp -p /var/lib/nethserver/db/backups /tmp/
Empty the config file:
> /var/lib/nethserver/db/backups
Check that its size is 0:
~]# ls -la /var/lib/nethserver/db/backups
-rw-r--r--. 1 root adm 0 Jun 28 2022 /var/lib/nethserver/db/backups
Login to cockpit and check the backup page.
Restore the config:
cp -p /tmp/backups /var/lib/nethserver/db/backups
Fillippo,
Your a genius this fixed it I have almost 2TB of data on this server and for almost two weeks I have been pulling my hair out trying to figure this out, You are a genius thank you and the rest of the community so much for all the help in solving this matter.
Steve
Filippo knows his commits and code…
This is not a news