I recently migrated from the older install with separate containers initiated by me to the AIO installation and it appears the backup function is not working.
I viewed a similar issue in the forums but it appears their mounts were incorrect which is not the case here or borg would not have setup a directory structure in the backup folder. For a similar reason I do not believe we have a permissions issue. I’m at a loss.
The Basics
- Nextcloud Server version (e.g., 29.x.x):
- AIO v14.1.1 & Nextcloud Nextcloud Hub 26 Spring (35.0.0)
- Operating system and version (e.g., Ubuntu 24.04):
Unraid 7.3.0(slackware base)
- Web server and version (e.g, Apache 2.4.25):
AIO installed
- Reverse proxy and version _(e.g. nginx 1.27.2)
swag/nginx 5.8.0-ls486
- PHP version (e.g, 8.3):
AIO installed
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
Upon Installation
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
Yes
Summary of the issue you are facing:
Borg backup does not seem to actually backup files despite all signs to the contrary. The backup directory is 10MB while there are over 200GB of files on the server. Nextcloud notifications report backup is successful on a daily basis and borg backup logs appear to show the backup completing successfully. The directory listed in the borg backup logs correspond to the docker volume mounts for the correct directory on the system.
/root <-> nextcloud_aio_backup_cache
/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data <-> /mnt/user/nextcloud-aio/
/nextcloud_aio_volumes/nextcloud_aio_mastercontainer <-> nextcloud_aio_mastercontainer
/mnt/borgbackup <-> /mnt/user/backups/nextcloud
/nextcloud_aio_volumes/nextcloud_aio_elasticsearch <-> nextcloud_aio_elasticsearch
/mnt/redis <-> nextcloud_aio_redis
And the backup directory assigned appears to have a folder structure created by the backup container.
/mnt/user/backups/nextcloud/borg# ls
README
config
data/
hints.447
index.447
integrity.447
nonce
The data directory is entirely empty
Steps to replicate it (hint: details matter!):
-
Install Nextcloud via AIO
-
select backup directory
-
initiate backups
Log entries
Creating archive at "/mnt/borgbackup/borg::20260922_040111-nextcloud-aio"
------------------------------------------------------------------------------
Repository: /mnt/borgbackup/borg
Archive name: 20260922_040111-nextcloud-aio
Archive fingerprint: 2de751138aa6a603df06f9b5e2416f4adaabf4dea32fb0821f2812f784d25b2c
Time (start): Tue, 2026-09-22 04:01:12
Time (end): Tue, 2026-09-22 04:03:14
Duration: 2 minutes 2.38 seconds
Number of files: 87895
Utilization of max. archive size: 0%
------------------------------------------------------------------------------
Original size Compressed size Deduplicated size
This archive: 226.14 GB 203.54 GB 117.83 MB
All archives: 915.56 GB 824.29 GB 211.03 GB
Unique chunks Total chunks
Chunk index: 164558 695318
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Original size Compressed size Deduplicated size
Deleted data: 0 B 0 B 0 B
All archives: 915.56 GB 824.29 GB 211.03 GB
Unique chunks Total chunks
Chunk index: 164558 695318
------------------------------------------------------------------------------
Performing backup...
Starting the backup...
BORG_PRUNE_OPTS are --keep-within=7d --keep-weekly=4 --keep-monthly=6
Pruning the archives...
Compacting the archives...
Backup finished successfully on 22.09.2026 - 04:03:17 (00 hours 02 minutes 06 seconds).
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
above
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
N/A
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
N/A
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
need a command that works on the AIO generated container without OCC
Backup
Backup and restore
Last backup successful on 2026-09-22 04:01:12 UTC! (Logs)
Click here to reveal all backup options (including an option for automatic updates)
Backup information
This is your encryption password for backups:
[REDACTED]
Please save this password in a safe place. You won't be able to restore from backup if you lose this password!
All important data from your Nextcloud AIO instance such as the database, your files and the mastercontainer's configuration files, will be backed up.
The backup uses a tool called BorgBackup, a well-known server backup tool that efficiently backs up your files and encrypts them on the fly.
By using this tool, backups are incremental, differential, compressed and encrypted – so only the first backup will take a while. Further backups should be fast as only changes are taken into account.
Backups will be created in the following directory on the host: /mnt/user/backups/nextcloud/borg
Apps
The output of occ app:list (if possible).
Same as above