-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schedule not working after restore (Garuda Arch Linux) #1737
Comments
Hello coffseducation , Thank you for taking the time to report the bug and providing the details. I appreciate your feedback.
How do you installed BIT?
I don't understand this sentence. Can you please rephrase it?
How was your schedule setup? There are a lot of options. Please post the output You could also have a look into the syslog. Maybe there you can see something. If you have any more details to share, feel free to reach out. Best regards, |
How do you installed BIT?
I don't understand this sentence. Can you please rephrase it?
The schedule is not working. It was set for 21.00. It has not run since restore. I changed the time in settings to Midnight hoping to re-set it. It still did not run at the set time. crontab -l I cannot find /var/log/syslog* |
Hello coffseducation, it is a bit hard to follow your answers. Please try to use the formatting options of Microsoft GitHub comments and also use the inline-reply method to answer the same way as I do. Read and answer in the GitHub web front-end and not via email please. Otherwise I am unable to help you.
This looks wired. You somehow installed the latest (unstable! & unreleased!) development version of Back In Time. As we state in our install instruction this is discouraged and only for developers not for users. This version is unstable and theoretically you risk loosing your data. What is "octopi"? To my knowledge it is a GNU Linux distribution for RaspberryPi. Garuda Arch Linux is an Arch-based distro where you usually use "pacman" to install packages. Please contact the community of your GNU Linux distribution to find out how to install the latest stable release of Back In Time from the distributions official repository.
You have not answered this question.
This answer does not help. Which entry did you choose in the "Schedule" section on the "General" tab in the "Manage profiles" dialog?
Please read again carefully. I also tried to improve this section of the FAQ with PR #1739 . Please see my draft. Is it clearer about how to read log entries? EDIT: Note to myself. I verified that BIT does verify and update the crontab entries everytime it starts. So importing a config or just copy the config file from a previous installation wont't cause the problem. When BIT starts, it reads the schedule settings from config and write them to crontab if not yet present. |
Thanks for the link. It was for email and I am on the github site. Hopefully this is the correct method now.
Yes, that was odd. I installed BiT with Octopi, which, yes, appears to use pacman as the package manager. Using the command line revealed a conflict which I removed. (I have rebooted and do not have the print, sorry!)
The BiT gui settings in General has a profile called, 'Main profile' Whereas in the config file located on my backup drive the profile appears to be listed as 'profile1' config.version=6
journalctl --identifier backintime did not print anything before but now works - due to the conflict removal?. journalctl --identifier backintime Apologies for bad formatting and thanks for your patience. Please let me know if corrections or more info is needed. |
Please set the schedule to "Every hour", report again I am assuming the scheduling is OK, but when BIT runs there might be some errors. You will see them in the syslog then. EDIT:
The string "profile1" in the config file is the name of a variable and not of the profile itself. Not an issue. EDIT2: Octopi seems to be a graphical front-end for pacman. |
crontab -l crontab -l I set this in the root version of BiT. Note the 13! I checked the non-root version and it was set for 13:00! Changing it to 5 min in the non-root version gives: The non-root version is the only version making changes.
No print. I then removed all config files: and restarted BiT root. I imported the config.
crontab -l
May 30 22:48:31 Vampa backintime[16046]: Main profile(1) :: ERROR: pidfile /root/.local/share/backintime/password_cache/PID already exists. Daemon already running? |
Maybe Garuda Arch Linux is one of the distros where Cron does exist but is disabled by default. Please contact the folks of your distro to be sure. Have a look at this forum posting: https://forum.garudalinux.org/t/cron-installed-but-not-enabled/26016 Add this line to your crontab (via
After one minute you should see "Cron is running" entries in the file Post the output of the following commands please:
I assuming that Cron does not run on your system. Please open a ticket at your distros package manager and describe the problem. She/he need to decide how to handle it. A running Cron instance is a dependency for Back In Time. So it is a bug in your Distro and not on our site. |
ps aux | grep cron
systemctl status cron
No print |
RESOLVED ✅ systemctl start cronie.service Thanks! |
Again I strongly recommend not to use an Arch based distribution. The Back In Time version your distribution offers you is not maintained by Arch or Garuda. And it is buggy because install BIT should activate cron. Try Debian based distro. There you have well maintained packages. btw: I am even not able to start the installer of Garuda on a VirtualBox VM. |
I have restored my /home folder to a new sytem - Garuda Arch Linux from Kubuntu.
I retored the config and have the snapshots listed in the gui.
Opening the settings I see that my schedule is still set - but no backup happens at the allocated time.
Changing the time makes no difference either.
nb Manually activating snapshots works.
One thing I noticed is that the backup config file says the profile1 whereas in the gui the setting the profile is listed as 'Main profile'
How do I get the schedule to run again?
The text was updated successfully, but these errors were encountered: