mirror of
https://github.com/IBICO74/nextcloud-backup.git
synced 2026-07-02 02:27:04 +00:00
Automated backup solution for Dockerized Nextcloud installations. Features: - Secure backup-user approach (no sudo required) - Hybrid backup strategy (daily metadata + weekly/yearly full) - rclone support for 40+ cloud providers - Configurable retention policies - Docker-aware with maintenance mode support Includes: - nextcloud-backup.sh: Main backup script (v2, recommended) - nextcloud-backup-v1.sh: Legacy sudo version (reference only) - README.md: Complete documentation - nextcloud-backup.cron: Cron schedule example
8 lines
273 B
Text
8 lines
273 B
Text
# Nextcloud Backup - Cron Schedule
|
|
# Runs daily at 03:15 as backup-user
|
|
|
|
SHELL=/bin/bash
|
|
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|
|
|
# Daily backup at 03:15
|
|
15 3 * * * backup-user /opt/backup/bin/nextcloud-backup.sh >> /opt/backup/logs/cron.log 2>&1
|