Skip to content

How to invoke occ in docker-calcardbackup or docker in general? #140

@BernieO

Description

@BernieO

Hi Waja,

I still have just absolute no idea about docker and instead of investigating several hours to dig into the docker universe, which I don't use and need, I thought I'd take your time (sorry!) and ask you for your expert opinion.

Nextcloud 32.0 introduced an occ command to import ical calendar files (see here) which I want to implement in calcardbackup. Therefore I obviously need to run an occ command and I wonder what I need to do, to issue occ commands with docker-calcardbackup or docker in general.

The default path to occ in a Nextcloud installation would be ${nextcloud_path}/occ - would that work with your container?

I could also add an option to which a command can be given that will be used to invoke occ. e.g.:

./calcardbackup /path/to/nextcloud --occ-command "my special docker command occ"

This would then use the given command instead of the default and invoke my special docker command occ calender:import [...]
Is that the way to go?

I'd be very happy if you could give me your opinion.

BernieO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions