Backup of Nextcloud objects


#1

Hi everyone,

I am very happy with Nextcloud and MIAB.

Can someone please help me and say what is the best practice for this:

  1. backup email messages to remote server
  2. backup Nextcloud calendar to remote server
  3. backup Nextcloud documents to remote server
  4. backup Nextcloud contacts to remote server

and finally

  1. one-click restore to remote server of entire Nextcloud infrastructure

#2

What’s wrong with using the default backup functionality of mailinabox? It essentially includes all of the userdata and you can import it to another box relatively easily.


#3

Oh, would you mind sending me the link to the guide ?


#4

I would also like to know how to add apps to Nextcloud and which version of Nextcloud do I have ?


#5

For backup, You run

cd mailinabox
sudo management/backup.py

And for making changes to nextcloud you’ll have to unlock admin first I’m not so sure about it so @murgero


#6

There is a script in the tools folder to enable admin


#7

@murgero, do you know if there are there any immediate downsides to enabling Nextcloud administrator to allow for software module installs; apart from any issues arising not being officially supported by MIAB?


#8

It can open security risks. If the admin account is compromised then you can get data stole, email, etc. and malicious files can be uploaded too.


#9

Is it possible to enable and disable the account as necessary?


#10

I am not sure there is a way without messing with a database somewhere.