backup icon indicating copy to clipboard operation
backup copied to clipboard

Upload to external storage doesnt work

Open dffvb opened this issue 3 years ago • 3 comments

I was waiting for this backup feature for quite a while and really happy to see it. However, this feels more like an alpha / beta version to me. Tried various fresh installs, sometimes it back-ups, sometimes it doesnt. SMB seems to work best, SFTP doenst work at all. Folders get created but nothing gets uploaded. Restore didnt work, when it worked, it did not re-instate the latest version of NC, but I was able to retrieve data from the server itself, install new and would upload data there (all testing scenarios). Today it didnt come back from maintenance mode. I have a real small installation 4 GB of data, ubuntu server tells me 16 GB are used in total. Snapshots from the VM taken daily cosnume in total 170 GB ? Keeps tellign me next restore point in 5 minutes.... since hours...

dffvb avatar Apr 14 '22 21:04 dffvb

i have same issues with the S3 backup! it is not working

varet80 avatar Apr 19 '22 12:04 varet80

I tried S3 and Local folder! backup:point:upload always fails with memory exhaustion! what ever we do

- uploading 20220415045502-differential-qVAlyBQpqqrG9WL to external folders
 - checking external folder 24:external
  > restoring point not found
  * Creating Restoring Point on external folder: ok
  > restoring point created
  * initiating health check
  > Health status: 0 correct, 22 missing and 0 faulty files
  * Uploading data/data-3f89c6a1-eae1-4b0f-8deb-0e6df10cb48c/00001-nyRnNccjcX5Rud8: ok
  * Uploading data/data-3f89c6a1-eae1-4b0f-8deb-0e6df10cb48c/00002-5jqXClKLGOuBz5A: ok
  * Uploading nextcloud/nextcloud-e699a0d1-0920-4c64-aad7-8282498a6156/00001-4fenCKHPAwG7w67: ok
  * Uploading nextcloud/nextcloud-e699a0d1-0920-4c64-aad7-8282498a6156/00002-iSPizCQrjHKn2eI: ok
  * Uploading nextcloud/nextcloud-e699a0d1-0920-4c64-aad7-8282498a6156/00003-jAKMxygqhTCnqtv: ok
  * Uploading nextcloud/nextcloud-e699a0d1-0920-4c64-aad7-8282498a6156/00004-d4wxNwx4HvRVzCO: ok
  * Uploading nextcloud/nextcloud-e699a0d1-0920-4c64-aad7-8282498a6156/00005-3nB5afPzB9VYh9P: ok
  * Uploading nextcloud/nextcloud-e699a0d1-0920-4c64-aad7-8282498a6156/00006-uPypXDxCSykx2F1: ok
  * Uploading nextcloud/nextcloud-e699a0d1-0920-4c64-aad7-8282498a6156/00007-Ajse29b6KxBJ5zd: ok
  * Uploading apps/apps-4d33f318-ca6f-4b22-858a-4ba6dc4865e0/00001-3xgZhb2UP6AbAcN: ok
  * Uploading apps/apps-4d33f318-ca6f-4b22-858a-4ba6dc4865e0/00002-X3IjoBCmiEM4us4: ok
  * Uploading apps/apps-4d33f318-ca6f-4b22-858a-4ba6dc4865e0/00003-NXaynR5js2uoKl1: ok
  * Uploading config/config-903643b0-d476-4a4f-9fd5-734f0e44542a/00001-mgfGON5zq8bb1w8: ok
  * Uploading apps-custom_apps-d97ae3df/apps-custom_apps-d97ae3df-dea6cbfe-6c14-4331-81ce-f8f4081a43d1/00001-tWvchPzMKotteI6: ok
  * Uploading apps-custom_apps-d97ae3df/apps-custom_apps-d97ae3df-dea6cbfe-6c14-4331-81ce-f8f4081a43d1/00002-s1fXqgoadnmge4V: ok
  * Uploading apps-custom_apps-d97ae3df/apps-custom_apps-d97ae3df-dea6cbfe-6c14-4331-81ce-f8f4081a43d1/00003-XGeuBOUu6ebGEEq: PHP Fatal error:  Allowed memory size of 2147483648 bytes exhausted (tried to allocate 139810768 bytes) in /var/www/html/custom_apps/backup/lib/Service/ExternalFolderService.php on line 262
root@server-nextcloud-677b79b6db-ftxkm:/var/www/html# su -s /usr/local/bin/php www-data -- occ backup:point:upload 20220415045502-differential-qVAlyBQpqqrG9WL
- uploading 20220412052139-full-aRfck1aprlO1v6w to external folders
 - checking external folder 24:external
  > restoring point not found
  * Creating Restoring Point on external folder: ok
  > restoring point created
  * initiating health check
  > Health status: 0 correct, 1547 missing and 0 faulty files
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00001-o7A3WDTbXFBfUdA: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00002-LwdAISBN4HEFeac: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00003-Itxp42ga6pVyBnh: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00004-XIhwSYIWQ551BtA: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00005-IGEFamtzxYM7Lk3: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00006-JwpOC216MbtQcPU: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00007-ywM1CxEsMsiaFf9: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00008-coseqcNOVCy7hua: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00009-wvPSMWI2QcAYE5L: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00010-TRpqIBnxYjjihMe: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00011-vjr5buq5QA16CgR: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00012-DcvDEtUe26FZGQS: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00013-1IJ9fLmOrh6OHTb: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00014-rWz5ZiiSuAsPPbW: ok
  * Uploading data/data-4476767e-8aa0-4b96-9c8c-9c224ac21e35/00015-xAMrN6BFw5h1lrX: PHP Fatal error:  Allowed memory size of 2147483648 bytes exhausted (tried to allocate 139810216 bytes) in /var/www/html/custom_apps/backup/lib/Service/PackService.php on line 606

It is simply broken!

varet80 avatar Apr 20 '22 07:04 varet80

In the interest of consolidating discussion, would you mind closing this and upvoting #308?

danepowell avatar Jan 16 '23 20:01 danepowell