Skip to content
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

Backup on filesystem mount no longer working #674

Closed
bovender opened this issue Dec 3, 2016 · 2 comments
Closed

Backup on filesystem mount no longer working #674

bovender opened this issue Dec 3, 2016 · 2 comments

Comments

@bovender
Copy link

bovender commented Dec 3, 2016

Hi,

the backup schedule option "When drive get[s] connected (udev)" no longer works for me.

The udev rule seems to be ok; after issuing sudo udevadm control -l debug I get this in the syslog when connecting the drive:

systemd-udevd[18966]: Process '/bin/su - 'daniel' -c '/usr/bin/nice -n 19 /usr/bin/ionice -c2 -n7 /usr/bin/backintime --profile-id 2 backup-job >/dev/null 2>&1'' succeeded.

But nothing happens, the backup is not triggered.

When I paste the command in the terminal, leaving out the redirection:

/bin/su - 'daniel' -c '/usr/bin/nice -n 19 /usr/bin/ionice -c2 -n7 /usr/bin/backintime --profile-id 2 backup-job'

I get this output:

Back In Time
Version: 1.1.12.a

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.

INFO: Lock
INFO: Inhibit Suspend started. Reason: take snapshot
INFO: Take a new snapshot. Profile: 2 Complete
INFO: Call rsync to take the snapshot
INFO: [qt4systrayicon] begin loop

So it appears it's working ok.

I'm puzzled because it used to work automatically, too.

Evidently the udev rule triggers, and evidently the command, when copied and pasted into the terminal, works as well. Why does it no longer work automatically?

I'm on Ubuntu 16.10.

@Germar
Copy link
Member

Germar commented Dec 3, 2016

This is a known bug in earlier versions. Please update to 1.2.0~alpha from our testing PPA:

sudo add-apt-repository ppa:bit-team/testing
sudo apt-get update
sudo apt-get upgrade

Duplicate of #605

@Germar Germar closed this as completed Dec 3, 2016
@bovender
Copy link
Author

bovender commented Dec 5, 2016

Thanks for the swift response, and my apologies for having missed the duplicate. Works fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants