# Changelog
+## 2.3.1
+
+### General
+- Bugfix: Unbound variable when no parameters are supplied
+
+## 2.3.0
+
+### General
+- The scripts now exit when any command fails.
+- Defined the command for compression in the "TODO section" of the script for easier customization.
+- Added section for setup in readme.
+- Updated links.
+- Document requirement pigz when using compression.
+- Formatting.
+
+### Backup
+- Bugfix: Fixed the double trailing slash for paths containing the variable `backupdir`.
+
+## 2.2.0
+
+### General
+- Better handling of external data directory: Backup/restore of external data direcrory is done automatically if the variable `nextcloudLocalExternalDataDir` is set.
+
+## 2.1.3
+
+### General
+- Added timestamps for every step.
+
+## 2.1.2
+
+### General
+- Use pigz for compression.
+
+## 2.1.1
+
+### Backup
+- Optimized cleaning up of old backups.
+
+## 2.1.0
+
+### General
+- Added a variable *useCompression* to use compression (.tar.gz) for file and data directory (enabled by default, this was also the default behavior before this option was implemented).
+- You can disable compression of these directories (.tar) if you use some other (archiving) backup mechanism which utilizes the Nextcloud backup and restore scripts (e.g. Borg Backup, see here: https://codeberg.org/DecaTec/Linux-Server-Backup)
+
+## 2.0.0
+
+### General
+- Added script (`setup.sh`) for an (more or less) automated setup of the backup and restore scripts (utilizing OCC in order to gather information about Nextcloud instance).
+
+## 1.1.1
+
+### Backup
+- When a backup is cancelled, the webserver is restartet automatically.
+
+## 1.1.0
+
+### Backup
+- New variable *ignoreUpdaterBackups*: When set to true, the backups of Nextcloud's updater are not included in the backups (default: *false*).
+
## 1.0.0
### General
- Single quotes for variables.
### Restore
-- The commands for retoring the database are checked at the beginning of the script. Is the specific database system is not installed, the restore is cancelled.
+- The commands for restoring the database are checked at the beginning of the script. Is the specific database system is not installed, the restore is cancelled.
- The default main backup directory now is the same as in the backup script.
\ No newline at end of file