Open parajbs opened 2 years ago
Hey,
the backup script should also run a verification of the backup this did not work for you. Either the script did not run or ran into an issue.
To check the integrity of the backup you can simply run " occ backup:point:scan" for the backup to be checked (this will take a while)
You should see a php job which consumes a lot of CPU performance .
Advantage of running it via console is that you will get an output :)
Cheers
Hello Meisterwerke,
No error occurred with either backup! (no errors in the log)
I just executed the command "occ backup: point: scan" and it ran without errors in about 15 seconds! I executed the command a second time! It also ran for about 15 seconds!
There is still a red exclamation mark "Cannot confirm integrity" in the Issue column! Nothing has changed!
Or do I have to create a backup afterwards?
I will only create a new backup, if it still shows errors, then I will update to the new version 1.01 and try everything again!
If you can help with the problem, you can continue to write here!
Good morning,
please send the outcome of "sudo -u www-data php occ backup:point:list"
Thanks
Hi Sorry that it took so long! I updated to 1.0.1 first, then to 1.0.2, but both updates were broken! Now I have updated to 1.0.3, then I entered all local commands as the user www-data in the console!
Between each step I checked the website to see if the red exclamation mark "cannot confirm integrity" is set!
The red exclamation mark "cannot confirm integrity" comes after the 9th step!
Here step 9 output:
./occ backup: point: upload 20211217004819-full-3NjU6xhzI6pQSJ5
restoring point not found
restoring point created
Health status: 0 correct, 19 missing and 0 faulty files
###########################################################
The only thing I noticed: Health status: 0 correct, 19 missing and 0 faulty files
What does this mean? Otherwise there were no errors, except for the error on the website red exclamation mark "cannot confirm integrity"!
I also tested everything on local storage, with the same error!
Hallo mastermns
Here: ./occ backup: point: list
found RestoringPoint 20211217004819-full-3NjU6xhzI6pQSJ5
found RestoringPoint 20211217004819-full-3NjU6xhzI6pQSJ5
Health status: 0 correct, 19 missing and 0 faulty files
What does this mean? Otherwise there were no errors, except for the error on the website red exclamation mark "cannot confirm integrity"!
I also tested everything on local storage, with the same error!
This only means that your external folder did not have any data yet, the command "./occ backup: point: upload 20211217004819-full-3NjU6xhzI6pQSJ5" will trigger the upload process again.
From the outcome of "./occ backup:point:list" i would say everything looks good - is the red exclamation mark still there ?
Side note: the :scan
command will only add a backup to the list, this can be used when having a backup in your appdata that is not available in the list.
The :details
command should recreate an health check so you can see which file have be correctly uploaded.
Your metadata are signed to confirm its integrity. If after everything you still have an error, it might comes to the fact that you have a different key-pairs. Might also mean that you have a different encryption key, this is why you should export the setup of your backup apps.
Hello,
I just ran into the same issue. The health check for the local backup is fine, but for the external storage I receive (cannot confirm integrity)
"webdav::user@webdav.hidrive.strato.com//users/ - (cannot confirm integrity)"
I tried running the details command with --external but this ran into a different error
"sudo -u www-data php occ backup:point:details --external external:30 20220107003456-differential-L9ViVpOq5KPOOrB
In ExternalFolderRequestBuilder.php line 108:
[OCA\Backup\Exceptions\ExternalFolderNotFoundException]
Exception trace: at /var/www/html/nextcloud/apps/backup/lib/Db/ExternalFolderRequestBuilder.php:108 OCA\Backup\Db\ExternalFolderRequestBuilder->getItemFromRequest() at /var/www/html/nextcloud/apps/backup/lib/Db/ExternalFolderRequest.php:102 OCA\Backup\Db\ExternalFolderRequest->getByStorageId() at /var/www/html/nextcloud/apps/backup/lib/Service/ExternalFolderService.php:146 OCA\Backup\Service\ExternalFolderService->getByStorageId() at /var/www/html/nextcloud/apps/backup/lib/Command/PointDetails.php:157 OCA\Backup\Command\PointDetails->execute() at /var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php:255 Symfony\Component\Console\Command\Command->run() at /var/www/html/nextcloud/core/Command/Base.php:168 OC\Core\Command\Base->run() at /var/www/html/nextcloud/3rdparty/symfony/console/Application.php:1009 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/nextcloud/3rdparty/symfony/console/Application.php:273 Symfony\Component\Console\Application->doRun() at /var/www/html/nextcloud/3rdparty/symfony/console/Application.php:149 Symfony\Component\Console\Application->run() at /var/www/html/nextcloud/lib/private/Console/Application.php:211 OC\Console\Application->run() at /var/www/html/nextcloud/console.php:99 require_once() at /var/www/html/nextcloud/occ:11
backup:point:details [--output [OUTPUT]] [--remote REMOTE] [--external EXTERNAL] [--]
Please check Thanks
I am having this issue too. All backups are marked with the red exclamation mark. A backup:point:scan does not resolve the issue.
I am having this issue as well.
I set this up new a few days ago and it appears the backup job is running as expected and creating the restore point. I have mine saved to a SCP/SFTP server location. This appears to be executing as expected. The issue comes up in the verification of the data which, as I'm seeing a sshd login failure from my storage server from the Nextcloud Admin shell user, I am assuming the scripts are launching to run the verification and as the user does not align on the storage server, the login request is failing.
I am going to see about editing the cron job for my nextcloud admin to specify the user that I want it to connect as - however, it would seem that the solution here is to allow for users to configure the verification user creditials - or pick them up from the backup point configuration.
See Bug #184. The external storage code doesn't have any validation function yet.
Same issue here, hope this gets resolved soon 👍
Hello XenonOrion
I don't think so. But one can hope. I have the problem even when I mount a local folder on the server as an external drive in Nextcloud. I've also tried smb, but the same problems appear. I could imagine that the bug is in the Nextcloud "external" module. Furthermore, the external storage providers must support the functions that are essential for integrity.
So I think it will take time to fix this bug. So far nothing has improved.
However, I looked at the code and made my own bash script. There is a new app in the apps store that can transfer user data to other servers. Haven't tested it myself, but sounds interesting.
Hello
I made two backups that are stored locally! (1.3 GB per backup) So far, but in the Issue column there is a red exclamation mark "cannot confirm integrity" What does the red exclamation mark "cannot confirm integrity" mean?
I found no nextcloud error logs!
I think the backups are complete! But haven't tried a restore yet! I really wanted to know what the red exclamation mark means and whether the backups are ok!
I need HELP urgently !!!!!!
my data: root server 1TB ssd nginx docker-image as reverse-proxy
Nextcloud 23 ogrinal docker-image: apache2 / stable-security, now 2.4.51-1 ~ deb11u1 amd64 [installed] Apache HTTP Server
php --version PHP 8.0.13 (cli) (built: Dec 2 2021 13:29:44) (NTS) Copyright (c) The PHP Group Zend Engine v4.0.13, Copyright (c) Zend Technologies with Zend OPcache v8.0.13, Copyright (c), by Zend Technologies
mysql --version mysql Ver 15.1 Distrib 10.5.6-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2