Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Nextclouds Backup app work #135

Closed
marcatsmci opened this issue Jan 14, 2022 · 7 comments · Fixed by #138
Closed

Make Nextclouds Backup app work #135

marcatsmci opened this issue Jan 14, 2022 · 7 comments · Fixed by #138
Labels
2. developing Work in progress enhancement New feature or request
Milestone

Comments

@marcatsmci
Copy link

I try the Backup App as proposed in the README (Note that this implementation does not provide remote backups, for this you can use the Backup App.)

The first problem is the backups locations :
/var/lib/docker/volumes/nextcloud_aio_nextcloud_data/_data/appdata_xxxxxxxxx/backup
Was not possible to set any other location.

The second problem is the missing of "pg_programs" : pg_dump for example...

Anybody tried to use this app successfully ?

@szaimen
Copy link
Collaborator

szaimen commented Jan 14, 2022

I must admit: I didn't test the Nextcloud Backup app yet.


The second problem is the missing of "pg_programs" : pg_dump for example...

This is happening because the used library uses pg_dump internally:
https://github.com/spatie/db-dumper

We could think about adding postgresql-client into the container in order to fix this on our side:
https://askubuntu.com/a/501130


The first problem is the backups locations :
/var/lib/docker/volumes/nextcloud_aio_nextcloud_data/_data/appdata_xxxxxxxxx/backup
Was not possible to set any other location.

Why do you need to set it to a different location?

@marcatsmci
Copy link
Author

Why do you need to set it to a different location?

I like to have choice on my servers, something like /var/backups;-)

@szaimen
Copy link
Collaborator

szaimen commented Jan 14, 2022

Why do you need to set it to a different location?

I like to have choice on my servers, something like /var/backups;-)

Fine by me but for local backups you can use the built-in borg solution, no?

@marcatsmci
Copy link
Author

The main advantage with the backup app is the separated parts of the backup :

  • DB
  • datas
  • apps
  • ...

@szaimen
Copy link
Collaborator

szaimen commented Jan 14, 2022

I don't wanna start a discussion now so I only mention that you are probably looking for this: #76 ;)

@marcatsmci
Copy link
Author

Nice !

@szaimen
Copy link
Collaborator

szaimen commented Jan 14, 2022

Another possibility is backing up /var/lib/docker/volumes/nextcloud_aio_* with the program of your choice after you clicked on Stop containers.
(which has the data seperated as well)

@szaimen szaimen added 2. developing Work in progress enhancement New feature or request labels Jan 14, 2022
@szaimen szaimen added this to the next milestone Jan 14, 2022
@szaimen szaimen changed the title Backup App : questions Make Nextclouds Backup app work Jan 14, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2. developing Work in progress enhancement New feature or request
Projects
None yet
2 participants