backup
backup copied to clipboard
Minimal docker-compose setup does not work
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
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
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:
Restore the previously created backup point with
./occ backup:point:restore 20220408093225-full-8A4xLe1OzzrZJvF --do-not-ask-data --do-not-ask-sql
After the restoration, the files-sections looks just like before:
Is the Backup-App not compatible with docker, or did I wrong something?
Thx for your help!
Hi, Has this issue been solved by someone? I have the exact same problem and really need help please.
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.
Hi @robeatoz thanks for the response! Any chance you can include your docker-compose.yml? Or maybe at least the borg backup section?