backup icon indicating copy to clipboard operation
backup copied to clipboard

Minimal docker-compose setup does not work

Open robeatoz opened this issue 2 years ago • 3 comments

Hi,

I created a minimal docker-compose setup in https://github.com/robeatoz/nextcloud-backup-minimal-showcase to test the Nextcloud Backup App.

Unfortunately, it doesn't work. Here are the steps how to reproduce the problem:

Start the containers

docker-compose up --build

Log into the Nextcloud container

docker-compose exec --user www-data nextcloud-server /bin/bash

Install the Backup-App

www-data@2dc9a7ff71ea:~/html$ ./occ app:install backup

Open the Browser, go to http://localhost:8080/ and login with user admin and password admin .

Create a file named createdBeforeBackup.md image

Create a backup point with

www-data@2dc9a7ff71ea:~/html$ ./occ backup:point:create

Validate backup point successfully created:

www-data@2dc9a7ff71ea:~/html$ ./occ backup:point:list

image

Make some changes which should be reverted after restoration of the backup:

  • Create another file named createdAfterBackup.md.
  • Change the design color to red

The files-section looks like this: image

Restore the previously created backup point with

./occ backup:point:restore 20220408093225-full-8A4xLe1OzzrZJvF --do-not-ask-data --do-not-ask-sql

image

After the restoration, the files-sections looks just like before: image

Is the Backup-App not compatible with docker, or did I wrong something?

Thx for your help!

robeatoz avatar Apr 08 '22 09:04 robeatoz

Hi, Has this issue been solved by someone? I have the exact same problem and really need help please.

BobbyFinland avatar Feb 15 '23 13:02 BobbyFinland

Hi @BobbyFinland,

Unfortunately, no. I switched to make backups for all docker volumes in my docker-compose.yml with borg backup triggered by a weekly cron job.

robeatoz avatar Feb 15 '23 14:02 robeatoz

Hi @robeatoz thanks for the response! Any chance you can include your docker-compose.yml? Or maybe at least the borg backup section?

BobbyFinland avatar Feb 19 '23 12:02 BobbyFinland