Skip to content

Commit

Permalink
add calcardbackup community container (#5864)
Browse files Browse the repository at this point in the history
Signed-off-by: PailloM <[email protected]>
Signed-off-by: pailloM <[email protected]>
Signed-off-by: Simon L. <[email protected]>
Co-authored-by: Simon L. <[email protected]>
  • Loading branch information
pailloM and szaimen authored Jan 14, 2025
1 parent 4f5d257 commit ce7a10e
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
37 changes: 37 additions & 0 deletions community-containers/calcardbackup/calcardbackup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-calcardbackup",
"display_name": "Calendar and contacts backup",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/calcardbackup",
"image": "waja/calcardbackup",
"image_tag": "latest",
"restart": "unless-stopped",
"environment": [
"CRON_TIME=0 0 * * *",
"INIT_BACKUP=yes",
"BACKUP_DIR=/backup",
"NC_DIR=/nextcloud",
"NC_HOST=%NC_DOMAIN%",
"DB_HOST=nextcloud-aio-database",
"DB_PORT=5432",
"CALCARD_OPTS=-ltm 5"
],
"volumes": [
{
"source": "nextcloud_aio_calcardbackup",
"destination": "/backup",
"writeable": true
},
{
"source": "nextcloud_aio_nextcloud",
"destination": "/nextcloud",
"writeable": false
}
],
"backup_volumes": [
"nextcloud_aio_calcardbackup"
]
}
]
}
15 changes: 15 additions & 0 deletions community-containers/calcardbackup/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## calcardbackup
This container packages calcardbackup which is a tool that exports calendars and addressbooks from Nextcloud to .ics and .vcf files and saves them to a compressed file.

### Notes
- Backups will be created at 00:00 CEST every day. Make sure that this does not conflict with the configured daily backups inside AIO.
- All the exports will be included in AIOs backup solution
- You can find the exports in the nextcloud_aio_calcardbackup volume
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack

### Repository
https://github.com/waja/docker-calcardbackup

### Maintainer
https://github.com/pailloM

0 comments on commit ce7a10e

Please sign in to comment.