stop useless backups


Recommended Posts

9 minutes ago, nuhll said:

circles forever.

Any time the spinner is up for longer than exactly 120 seconds it will never disappear.  However the underlying script that is taking long to finish will complete.

 

10 minutes ago, nuhll said:

this i still would like to have that file backuped, and would prefer a "once a week" or so option...

Are your problems with it continually running the backup over and done with? 

Link to comment
On 11/7/2021 at 12:35 AM, Squid said:

Any time the spinner is up for longer than exactly 120 seconds it will never disappear.  However the underlying script that is taking long to finish will complete.

 

Are your problems with it continually running the backup over and done with? 

Its still happening... 

 

Nov 8 12:24:54 Unraid-Server emhttpd: spinning down /dev/sdi
Nov 8 12:32:02 Unraid-Server emhttpd: read SMART /dev/sdi
Nov 8 12:49:19 Unraid-Server flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Nov 8 13:49:27 Unraid-Server flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Nov 8 14:32:42 Unraid-Server emhttpd: spinning down /dev/sdi
Nov 8 14:33:57 Unraid-Server emhttpd: spinning down /dev/sdj
Nov 8 14:34:00 Unraid-Server emhttpd: spinning down /dev/sdh
Nov 8 14:34:00 Unraid-Server emhttpd: spinning down /dev/sde
Nov 8 14:34:00 Unraid-Server emhttpd: spinning down /dev/sdf
Nov 8 14:34:00 Unraid-Server emhttpd: spinning down /dev/sdl
Nov 8 14:39:42 Unraid-Server kernel: atlantic 0000:05:00.0 eth1: atlantic: link change old 10000 new 0
Nov 8 14:39:42 Unraid-Server kernel: br1: port 1(eth1) entered disabled state
Nov 8 14:39:48 Unraid-Server kernel: atlantic 0000:05:00.0 eth1: atlantic: link change old 0 new 10000
Nov 8 14:39:48 Unraid-Server kernel: br1: port 1(eth1) entered blocking state
Nov 8 14:39:48 Unraid-Server kernel: br1: port 1(eth1) entered forwarding state
Nov 8 14:49:34 Unraid-Server flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Nov 8 15:11:02 Unraid-Server emhttpd: spinning down /dev/sdg
Nov 8 15:49:41 Unraid-Server flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Nov 8 16:49:48 Unraid-Server flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Nov 8 17:49:58 Unraid-Server flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Nov 8 18:19:47 Unraid-Server emhttpd: read SMART /dev/sdj
Nov 8 18:49:06 Unraid-Server flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update

 

thats atleast 7 backups in 6 hours

Link to comment
  • 6 months later...
On 5/14/2022 at 1:02 PM, olschool said:

I can't specifically identify what may be filling my syslog, any expert guidance would be appreciated. 

 

Have you had a chance to read this thread?

 

*Something* is updating files on your flash drive repeatedly, causing the My Servers flash backup to back up the changes.

 

You have the rclone plugin installed, that is the likely culprit. Unfortunately, while it is running it updates the /boot/config/plugins/rclone/.rclone.conf on the flash drive continuously.

 

Open a web terminal and run the commands posted earlier in this thread:
  https://forums.unraid.net/topic/112745-stop-useless-backups/#comment-1032807 

that will tell Flash Backup not to backup the .rclone.conf file

 

Then you'll probably want to reboot to clear out your log file.

 

  • Like 1
Link to comment
  • 1 month later...
On 5/20/2022 at 4:39 PM, ljm42 said:

@olschool Were you able to run those commands to stop rclone from being backed up continuously? 

I did but this is what I got

 

root@YoungStewtsGen:~# /etc/rc.d/rc.flash_backup stop
root@YoungStewtsGen:~# git -C /boot rm --cached /boot/config/plugins/rclone/.rclone.conf
fatal: Unable to create '/boot/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
root@YoungStewtsGen:~# git -C /boot commit -m "remove .rclone.conf"
fatal: Unable to create '/boot/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
root@YoungStewtsGen:~# git -C /boot push
Everything up-to-date
root@YoungStewtsGen:~# /etc/rc.d/rc.flash_backup start
root@YoungStewtsGen:~# 

Link to comment
17 hours ago, olschool said:

I did but this is what I got

 

OK do it again, but wait 20 minutes after the "stop" command before running the "rm" command.

 

If you still get this message after waiting 20 minutes:
  '/boot/.git/index.lock': File exists.
then let me know the output from running this:  

ps -ef | grep "git"

(and don't run any more commands after that)

Link to comment
  • 5 months later...

I'm also having issues with constantly getting FlashBackups from Dynamix monitor.ini

When a disk hits its warning threshold for temp or capacity then it modifies this monitor.ini file. We just moved into summer so my NVMe's have been going above 55C so been triggering FlashUpdate 30x or more per day. 

Ended up raising the temp limits and putting in a .gitignore for the monitor.ini file 

 

commit 567886bd602fe3cb5275d3226c1763ab542c1758 (HEAD -> master, origin/master)
Author: gitbot <gitbot@unraid.net>
Date:   Fri Dec 16 15:39:07 2022 +1300

    Config change

diff --git a/config/plugins/dynamix/monitor.ini b/config/plugins/dynamix/monitor.ini
index 610b6e4..74c5dbe 100644
--- a/config/plugins/dynamix/monitor.ini
+++ b/config/plugins/dynamix/monitor.ini
@@ -14,3 +14,4 @@ parity.ack="true"
 [temp]
 cache="55"
 nvme_mirror="60"
+nvme_mirror2="60"


commit e91ca96edaaf3a23c86d1ec5df8214945ef9a617
Author: gitbot <gitbot@unraid.net>
Date:   Fri Dec 16 15:33:07 2022 +1300

    Config change

diff --git a/config/plugins/dynamix/monitor.ini b/config/plugins/dynamix/monitor.ini
index 4fe88ac..610b6e4 100644
--- a/config/plugins/dynamix/monitor.ini
+++ b/config/plugins/dynamix/monitor.ini
@@ -11,3 +11,6 @@ disk9="94"
 [smart]
 parity.187="1"
 parity.ack="true"
+[temp]
+cache="55"
+nvme_mirror="60"

commit dabafbd261a8709783feba83c394d33e7d445dfe
Author: gitbot <gitbot@unraid.net>
Date:   Fri Dec 16 14:58:05 2022 +1300

    Config change

diff --git a/config/plugins/dynamix/monitor.ini b/config/plugins/dynamix/monitor.ini
index e1fd020..4fe88ac 100644
--- a/config/plugins/dynamix/monitor.ini
+++ b/config/plugins/dynamix/monitor.ini
@@ -11,5 +11,3 @@ disk9="94"
 [smart]
 parity.187="1"
 parity.ack="true"
-[temp]
-nvme_mirror="60"

 

Link to comment