Jump to content

LuckyBackup Zeitplaner Problem ;(


Thomasg1977
Go to solution Solved by alturismo,

Recommended Posts

On 4/17/2024 at 9:44 PM, Revan335 said:

Ich hatte gesehen das es scheinbar ein Update des Docker Containers gab sowie auch von Krusader.

Ja nur eine kleine änderung und luckyBackup ist noch immer gleich wie vorher:

 

On 4/17/2024 at 9:44 PM, Revan335 said:

Funktionieren bei euch noch die Jobs?

Ja, ganz normal.

 

On 4/17/2024 at 9:44 PM, Revan335 said:

Seit dem 14. bei mir nicht mehr auf beiden Servern.

Was sagt denn der cron tab in luckyBackup?

 

On 4/17/2024 at 9:44 PM, Revan335 said:

Gibt es noch Logs von luckyBackup die ggf. mehr verraten können?

Nein.

Link to comment
8 minutes ago, ich777 said:

Was sagt denn der cron tab in luckyBackup?

Dort ist noch alles unverändert.

Uhrzeit, Konsolen Modus.

Hab Uhrzeit und Konsolenmodus (aus/an) mal geändert und neu in den Cron eintragen lassen.

 

Mal schauen ob es hilft.

Link to comment

Weitere Versuche:

- Aktualisierung erzwingen, damit der Docker Container neu erstellt wird

- Server Reboot

- neuen Scheduler erstellt inkl. @reboot und in Crontab eingetragen (beides ohne Erfolg)

Der Ordner Schedules wird auch unter Appdata aktualisiert. Schreibzugriff ist also vorhanden. Im Log Ordner ändert sich leider nichts

 

@ich777 Du hattest im Englischen Thread von User Scripts gesprochen mit denen du deine Jobs machst. Wie machst du das, dann teste ich das auch noch?

Link to comment

Die Cron Log Datei kannte ich noch gar nicht. Habe den Fehler vermutlich gefunden.

Scheinbar mag luckyBackup keine Jobs mit gleichen Quell/Ziel Pfaden.

 

Teste den Weg auch noch auf dem anderen Server.

 

Gibt es vielleicht noch ne andere Möglichkeit eine Aufgabe/Task nochmal ausführen zu lassen ohne ein neues luckyBackup Profil erstellen zu müssen?

 

Sonst muss ich mal die Startzeit des Profils anpassen und schauen ob sich dann die Some Files Vanished Meldung erledigt.

Das deutet für mich auf ein Timing Problem hin, das luckyBackup was sichern möchte was nicht mehr da ist. Bspw. weil es sich nicht mehr im Cache sondern auf dem Array befindet oder in der Zwischenzeit verändert wurde.

 

Danke für den Hinweis/Wink! @alturismo

Screenshot_20240420-100108_Firefox.png

Screenshot_20240420-101945_Firefox.png

Link to comment
1 hour ago, Revan335 said:

Scheinbar mag luckyBackup keine Jobs mit gleichen Quell/Ziel Pfaden.

Da ist dann eher rsync das Problem. Da wird geprüft ob quelle und ziel ident sind weil das keinen sinn mach sowas zu syncen und nur zu fehlern führen würde.

Link to comment
7 hours ago, ich777 said:

Da ist dann eher rsync das Problem. Da wird geprüft ob quelle und ziel ident sind weil das keinen sinn mach sowas zu syncen und nur zu fehlern führen würde.

Aber interessant das dann direkt das ganze Profil/alle Jobs nicht ausgeführt wird ohne Fehlermeldung. OK, im Cron Job Log stehtwas dazu drin. Aber in luckyBackup selbst oder den einzelnen Job Logs wäre sowas deutlich hilfreicher.

Vielleicht auch nur ein Gedankenfehler von mir wie ich das luckyBackup Profil und dessen Jobs verstehe.

 

Vielen Dank!

Link to comment
2 minutes ago, Revan335 said:

Aber in luckyBackup selbst oder den einzelnen Job Logs wäre sowas deutlich hilfreicher.

Wirft er nicht auch eine meldung wenn der source und destination pfad gleich sind?

Ich kann mich da schon erinnern das da irgendwas war.

 

3 minutes ago, Revan335 said:

Vielleicht auch nur ein Gedankenfehler von mir wie ich das luckyBackup Profil und dessen Jobs verstehe.

Naja du kannst nicht in ein unterverzeichnis der source syncen.

Link to comment
2 hours ago, ich777 said:

Naja du kannst nicht in ein unterverzeichnis der source syncen.

Das stimmt, da kommt meine ich ne Meldung. Hab ich im aktuellen Fall nicht.

 

2 hours ago, ich777 said:

Wirft er nicht auch eine meldung wenn der source und destination pfad gleich sind?

Ich kann mich da schon erinnern das da irgendwas war.

Dann muss ich sie übersehen haben, gesehen hab ich keine. Hab über den Klonen Button eine Dublette einer der vorhandenen Aufgaben erzeugt. Das scheint luckyBackup laut dem Eintrag im Cron Job Log nicht gefallen zu haben, wie ich jetzt gesehen/entdeckt hab.

 

Also Source/Destination ist nicht identisch. Da wird gewiss ne Meldung angezeigt würde ich mir denken.

Link to comment
  • 2 months later...

Hallo zusammen, 
bin neu im Thema LuckyBackup. Aber irgendwie startet das backup nicht vom Cron Job aus. 
Manuell funktioniert das Backup.  Zum testen habe ich den kompletten Inhalt des SSD_Backup Odners gelöscht, so das das Backup eigentlich von neuen geschrieben wird. Was wird aber nicht ausgeführt via cron. 

Habt ihr eine Idee?
Danke

Uhrzeit stimmt auch im docker container. 

root@13c92e0c308c:/# date
Fri 05 Jul 2024 03:47:04 PM CEST
root@13c92e0c308c:/# 


 

#Initial Cron
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luckybackup entries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45 20 * * *	env DISPLAY=:0 /usr/bin/luckybackup --silent --skip-critical /luckybackup/.luckyBackup/profiles/default.profile > /luckybackup/.luckyBackup/logs/default-LastCronLog.log 2>&1
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ end of luckybackup entries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-luckybackup'

============================================================================================
		Loading profile /luckybackup/.luckyBackup/profiles/default.profile
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


* task name		: domains
* source			: /mnt/user/domains
* destination			: /mnt/user/SSD_Backup/
* This task is included

* task name		: Musik
* source			: /mnt/user/Musik
* destination			: /mnt/user/SSD_Backup/
* This task is NOT included

* task name		: isos
* source			: /mnt/user/isos
* destination			: /mnt/user/SSD_Backup/
* This task is included

* task name		: Fotos
* source			: /mnt/user/Fotos
* destination			: /mnt/user/SSD_Backup/
* This task is NOT included

* task name		: system
* source			: /mnt/user/system
* destination			: /mnt/user/SSD_Backup/
* This task is NOT included

* task name		: Daten
* source			: /mnt/user/Dateien
* destination			: /mnt/user/SSD_Backup/
* This task is NOT included

* task name		: appdata
* source			: /mnt/user/appdata
* destination			: /mnt/user/SSD_Backup/
* This task is NOT included


			** Profile loaded successfully ... **


============================================================================================
				Task list check 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


* Checking if the task list is empty...					done
* Checking if 2 connected tasks have been selected for execution...	done
* Checking if no task is included...					done
* Checking if 2 or more identical destination directories are declared
  & 'Backup dir contents' is checked...					done


			** Task list looks ok... **

============================================================================================
				Directories check
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
		Source & destination data check results
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

			Errors have been found
		Please have a good look at the following messages

	WARNING means that the task is NOT going to be performed
	CRITICAL means that the task is going to be performed normally

	If a directory is empty or does not exist,
	there is a possibility that you 've forgotten to mount a partition/drive
	or have just mistyped a path !!

	BEWARE if a destination is empty or non-existent
	and it is not the first time you perform the specific task(s)

	Also have in mind that checks are not performed for remote data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[CRITICAL]   ->  domains
Last execution time    : Thursday, 4 July 2024 20:38:28 CEST (no errors)
Source directory   : /mnt/user/domains
Destination directory  : /mnt/user/SSD_Backup/ is empty or does not exist.
This task will NOT be skipped (unless '--skip-critical' is given as argument)
The Destination Directory will be created if it doesn't exist and filled with new backup data.

_____________________________________________________________________________________________
[CRITICAL]   ->  isos
Last execution time    : Thursday, 4 July 2024 20:38:28 CEST (no errors)
Source directory   : /mnt/user/isos
Destination directory  : /mnt/user/SSD_Backup/ is empty or does not exist.
This task will NOT be skipped (unless '--skip-critical' is given as argument)
The Destination Directory will be created if it doesn't exist and filled with new backup data.

_____________________________________________________________________________________________




		** ..nothing to do !! **

 

Link to comment

Hi Danke. Gerne doch. Hier im Beispiel der Screenshoots versuche ich den 'Domains' Ordner welcher auf einer SSD Liegt in den Ordner 'SSD_Backup' welcher auf dem Array liegt zu sichern. Starte ich den Job manuell von der GUI geht alles und die Daten werden kopiert. 

Danke euch. 

2024-07-06_16-48-59.jpeg

2024-07-06_16-49-42.jpeg

2024-07-06_16-49-53.jpeg

2024-07-06_16-50-01.jpeg

2024-07-06_16-50-09.jpeg

2024-07-06_16-50-19.jpeg

2024-07-06_16-50-32.jpeg

2024-07-06_16-50-45.jpeg

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...