nextcloud / nextcloud/backup

Minimal docker-compose setup does not work

Open
#252 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
272
Forks
37
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Use the linked minimal showcase and reproduce the issue with docker-compose up --build, the occ app:install backup command, and the backup point create and restore commands. Compare the files and design state before the backup with the state after restoration. Done means the post-backup file and design change are reverted in this Docker setup, or the incompatibility and failing step are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, php
Domain
backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.