From 30e9ed68d33b15f5c9099e5114eb06a8b13c6cbb Mon Sep 17 00:00:00 2001 From: Bart Moyaers Date: Mon, 23 Dec 2019 11:32:37 +0100 Subject: [PATCH] add commands take infinite backups --- NextcloudBackup.sh | 2 +- commands.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 commands.txt diff --git a/NextcloudBackup.sh b/NextcloudBackup.sh index 5077b1c..ed638f4 100644 --- a/NextcloudBackup.sh +++ b/NextcloudBackup.sh @@ -63,7 +63,7 @@ dbUser='oc_admin' dbPassword='O1sQtsof2aJhua7/KFjDCb330Dwgy/' # TODO: The maximum number of backups to keep (when set to 0, all backups are kept) -maxNrOfBackups=1 +maxNrOfBackups=0 # File names for backup files # If you prefer other file names, you'll also have to change the NextcloudRestore.sh script. diff --git a/commands.txt b/commands.txt new file mode 100644 index 0000000..d72aced --- /dev/null +++ b/commands.txt @@ -0,0 +1,3 @@ +// Copies backup to local pc +// TODO: edit backup folder name +scp -r root@192.168.0.88:/mnt/nextcloud_backup/20191222_230815 /media/bart/Data/Nextcloud_Backup/20191222_230815 \ No newline at end of file