A shell stub to backup ownCloud calendars and addressbooks as ICS or VCF. Maybe it works for Nextcloud as well.
In order to keep only one cleartext password, an owncloud backup user is used for authorization. All users wishing a backup of their data, have to share their calendars and contacts (read only) to this user and needs to be added to the config file...
oc.ics.vcf.backup
- Create an user
backup
within your ownCloud. - Share calendars and addressbooks read-only to the
backup
user.
Setup scripts
CONFFILE
ROOTDIR
OCSERVER
AUTHPASS
and CONFFILE
content...
- better error handling
- more things configurable
- with appropriate API backup all users of an OC instance (e.g. via group membership, etc.)
- ...