Nextcloud ver­sion­ing is a function for managing file versions. Changes are auto­mat­ic­ally doc­u­mented in detail, allowing you to access older versions of your files whenever needed. Via Nextcloud’s web interface, you can view and restore previous file versions with just a few clicks.

What is Nextcloud ver­sion­ing?

Ver­sion­ing is an in­teg­rated feature in Nextcloud that auto­mat­ic­ally saves previous file versions without over­writ­ing the existing content. Each time a file is changed, Nextcloud ver­sion­ing creates a new version or backup, which is stored on your server. This is what allows you to easily restore earlier versions of a file, providing an effective way of pre­vent­ing data loss.

Nextcloud ver­sion­ing is es­pe­cially useful for undoing unwanted or ac­ci­dent­al changes as well as restoring deleted content. Thanks to ver­sion­ing, you can also trans­par­ently track all changes made to a file, which is es­pe­cially be­ne­fi­cial for teamwork. You can view which changes have been made and when in the Nextcloud version history whenever you need to.

How does ver­sion­ing work with Nextcloud?

Nextcloud auto­mat­ic­ally saves and manages older file versions. To help users avoid exceeding their storage quota, Nextcloud ver­sion­ing uses no more than 50% of the available free storage for backups. Once this limit is reached, the oldest versions are deleted auto­mat­ic­ally to make room for new ones. So that important changes remain available for a reas­on­able period, Nextcloud ver­sion­ing keeps file versions on a staggered schedule. This means the cloud software gradually removes older versions. The deletion pattern follows this sequence:

  • In the first second: Nextcloud saves a version.

  • Within the first ten seconds: Nextcloud saves a version every two seconds.

  • During the first minute: A version is saved every ten seconds.

  • Within the first hour: A version is saved every minute.

  • Within the first 24 hours: A version is saved every hour.

  • For the first 30 days: Nextcloud keeps one version per day.

  • After 30 days: Nextcloud retains one version per week.

Every time a new file version is created, Nextcloud adjusts the versions according to this pattern. Adjusting versions auto­mat­ic­ally allows for an optimal balance between storage space and the avail­ab­il­ity of older versions. Ad­min­is­trat­ors can adjust the behaviour of Nextcloud ver­sion­ing, allowing for custom storage durations or even disabling ver­sion­ing entirely.

Tip

With Managed Nextcloud, IONOS offers you a secure and con­veni­ent cloud solution. Our managed service requires no ad­min­is­trat­ive effort on your part, as IONOS handles the server setup, main­ten­ance and updates for you. Expand your cloud storage flexibly with Nextcloud apps, online office, and other useful AI functions.

How to view, restore and name file versions

The Nextcloud version history lets you easily access earlier file versions, restore them and eve assign a custom label to them. The following guide shows you exactly how to use this feature:

Note

The way version control is shown and the buttons displayed may vary slightly depending on the version of Nextcloud you’re using.

How to view file versions

  1. Log in to your Nextcloud instance.

  2. Click on the file whose version history you wish to view, then open the context menu (three-dot icon) and click on Open Details.

  3. Switch to the Versions tab, where the file’s version history is displayed.

  4. Hover over the timestamp to see the exact date and time of each version. To download a specific version, simply double-click on the entry.

Image: Files in Nextcloud version history
The current version of a file is always at the top of the Nextcloud version history.

How to restore previous file versions

  1. Log in to your Nextcloud instance.

  2. Click on the file you want to restore, then open the context menu (three-dot icon) and select Open Details.

  3. Go to the Versions tab.

  4. Click on the three-dot icon next to the version you want to restore and select Restore File to restore that version.

Image: Nextcloud versioning: Restoring a version
Once you restore a file version, it auto­mat­ic­ally moves to the top of the Nextcloud version history.

How to rename file versions

  1. Log in to your Nextcloud instance.

  2. Click on the file whose version you want to rename, then open the context menu (three-dot icon) and select Details.

  3. Go to the Versions tab.

  4. Depending on the Nextcloud version, either tap select “Edit version name” from the context menu or click the pencil icon next to the version you want to name. Versions that are labelled are excluded from the automatic deletion process.

Image: Nextcloud: Renaming a version
Renaming a file version is a great way to archive it long-term in Nextcloud storage.
Managed Nextcloud
Cloud storage that puts you in control
  • Keep your data safe with industry-leading security
  • Save time on updates and main­ten­ance
  • Easily add apps and online office tools
Go to Main Menu