Skip to content

Latest commit

 

History

History
144 lines (95 loc) · 5.04 KB

CHANGELOG.md

File metadata and controls

144 lines (95 loc) · 5.04 KB

Changelog

3.3.1

  • fixed setup.sh: which has parameter useCompression for compressed backups statically set
  • fixed setup.sh: which now asks if parameter includeNextcloudDataDir should be included in Backup
  • fixed Nextcloud Backup.sh which now exludes data dir if not wanted in backup

3.3.0

  • Use rsync as default for backups
  • Disabled compressed backups to enable incremental sync backups
  • Remove tar commands from code

3.2.0

RSYNC

  • Use RSync to be prepared for incremental backups

General

  • New configuration option includeNextcloudDataDir (default: true): This can be set to false in order to exclude Nextcloud's data directory from the backups (not recommended).
  • Added hint to configuration file that mariadb and mysql are equivalent for the variable databaseSystem.
  • Some configuration options in NextcloudBackupRestore.conf are optional, e.g. are set to default values by setup.sh. These are potentially dangerous options which should usually not be changed (e.g. includeNextcloudDataDir).

Backup

  • Use parameter --default-character-set=utf8mb4 when dumping the database on MySQL/MariaDB and the 4-byte support is enabled in the config.php.

Restore

  • When calling NextcloudRestore.sh without parameters, a list of available backups to restore is shown instead of error message.

3.0.3

General

  • Variable includeUpdaterBackups in NextcloudBackupRestore.conf.sample

Backup

  • Bugfix: The backup directory to use was not recognized when given by parameter

3.0.2

Backup

  • Bugfix: When calling the backup script by cron, the configuration file NextcloudBackupRestore.conf could not be found

3.0.1

Backup

  • Bugfix: Option to include/ignore backups from the Nextcloud updater was not set correctly during setup

3.0.0

General

  • Backup/restore scripts now use a central configuration file (NextcloudBackupRestore.conf)
  • This configuration file includes all the settings which should be configured to match the specific Nextcloud instance. This simplifies the initial configuration of the backup/restore scripts
  • The setup (setup.sh) creates this central configuration file (NextcloudBackupRestore.conf) rather than modifying the backup/restore scripts
  • Bugfix: setup.sh won't set wrong database password if password contains slashes and/or backslashes

Restore

  • While restore, only the contents of Nextcloud's data directory gets removed, rather than the whole directory (useful when the data directory is stored directly in a mounted drive)

2.3.3

Restore

  • Update fingerprint after disabling maintenance mode

2.3.2

Restore

  • Bugfix: Compression command on restore

Setup

  • Hint for installing pigz when using compression
  • Bugfix: Set variable backupMainDir correctly

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

  • Versioning of Nextcloud-Backup-Restore.
  • The database system (MySQL/MariaDB or PostgreSQL) is configured in the variable area of the scripts, so it's not necessary to comment/uncomment the specific database commands.
  • Special characters for the database password can be used now.
  • Single quotes for variables.

Restore

  • 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.