diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-09-08 12:55:33 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-09-15 16:48:51 +0300 |
commit | 6d82e3be708525b8ade2bbc74f2d1c05c0d80849 (patch) | |
tree | 0d429904cc2924fc5062b5251ec5aa3dcc944640 | |
parent | a4a3248d541fb82f3c9f8f9bf0774c1b70324ab3 (diff) |
Add timestamp to backup directory
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -469,7 +469,7 @@ class Updater { ]; // Create new folder for the backup - $backupFolderLocation = $this->getDataDirectoryLocation() . '/updater-'.$this->getConfigOption('instanceid').'/backups/nextcloud-'.$this->getConfigOption('version') . '/'; + $backupFolderLocation = $this->getDataDirectoryLocation() . '/updater-'.$this->getConfigOption('instanceid').'/backups/nextcloud-'.$this->getConfigOption('version') . '-' . time() . '/'; if(file_exists($backupFolderLocation)) { $this->silentLog('[info] backup folder location exists'); |