Nextcloud handles files, calendars and contacts, while Immich backs up and organizes phone photos and videos. Both can use a lot of storage, and for both, backups are the most important operational task.
This guide is based on the Nextcloud admin manual and the Immich documentation (checked on 2026-11-09). The hardware numbers are official recommendations, not performance guarantees.
1. How many resources do you need?
| Application | Hivatalos adat | Mit jelent ez? |
|---|---|---|
| Nextcloud | According to the documentation, the minimum is 128 MB and the recommended minimum 512 MB per process; the need depends on users, apps, files and activity. | Storage is determined by the size of your files; the documentation gives no figure for it. |
| Immich | Minimum 6 GB RAM, 8 GB recommended; it can run on 4 GB with machine learning disabled. Minimum 2 cores, 4 recommended. The database is typically 1–3 GB. | Thumbnails and transcoded videos can increase the library size by roughly 10–20% on average. |
2. Backing up Nextcloud
- Back up the five items: the config folder, the custom apps folder (if any), the data folder, the theme folder and the database.
- Before the backup, turn on maintenance mode with the occ command so nothing is written meanwhile.
- Back up the database in a transaction-consistent way as documented (for MariaDB, mariadb-dump with the --single-transaction option).
- Copy the backup outside the Nextcloud environment and turn maintenance mode off.
- Before restoring, read the restore guide in the documentation.
sudo -E -u www-data php occ maintenance:mode --on
# back up config, data, theme and the database
sudo -E -u www-data php occ maintenance:mode --off3. Backing up Immich
- Immich recommends a 3-2-1 backup strategy, and the database must be backed up alongside the photos and videos.
- The database stores file paths and metadata and the library is not rescanned, so database backups are essential. A database dump contains only metadata, not photos or videos.
- By default, Immich creates an automatic database backup daily at 2:00 in the upload location's backups folder and keeps the last 14.
- The important original files are in the library, upload and profile folders. The documentation recommends backing up the entire upload location.
- If you back up while the server is running, back up the database first and the files afterwards: then at worst the database does not know a file, but it never points to a missing one.
4. Updates and responsibilities
- We perform the updates by agreement, after a backup. Before a larger version change we tell you if the release notes are worth reading.
- The plan's daily backup (7–30 days) protects the data of the apps on the server. A photo uploaded from your phone is, however, a single server copy, so under the 3-2-1 rule keep a copy elsewhere as well.
- According to the Immich documentation, the database should be kept on a local SSD, never on a network share.
5. Paperless-ngx and Forgejo in brief
- According to its README, Paperless-ngx is a document management system that turns paper documents into a searchable online archive. Its recommended installation is Docker Compose.
- According to the README, Paperless-ngx stores its data unencrypted, so it should never be run on an untrusted host. A separate server of your own and backups reduce this risk.
- The Paperless-ngx documentation recommends the document exporter for backups: it writes documents, thumbnails, metadata and the database to a folder, and on re-run updates only changed files. An export can only be imported into the same Paperless version that created it, and API tokens must be regenerated.
- According to the Forgejo documentation, a stable release appears every three months and an LTS release every year, with patch releases more often. A full backup is required before upgrading to a new stable release.
- After a Forgejo upgrade, the forgejo doctor check --all command verifies its state, and downgrades are not possible: an older version refuses to start against a newer database. SQLite is enough for low to moderate activity; MySQL or PostgreSQL is recommended for high activity.



