Cannot backup because "Another backup operation is already running"

Asked by defaria

When I try to use deja-dup to backup I get a message saying "Backup Failed: Another backup operation is already running". Yet no backup operation is running - I killed any deja-dup process and any duplicity processes. How do I reset this so I can set up backups again?

Note somewhere along the line the window that was for deja-dup doing it's first backup got closed and after a day or two (and the backup area not growing in size) I decided it got stuck along the way and wanted to start over.

Question information

Language:
English Edit question
Status:
Solved
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Solved by:
defaria
Solved:
Last query:
Last reply:
Revision history for this message
Michael Terry (mterry) said :
#1

Hm. Are there existing deja-dup processes?

Can you open a Terminal window and type the following and report back what it says?

ps aux | grep deja-dup

Revision history for this message
defaria (andrew-defaria) said :
#2

As I said, I killed any deja-dup and duplicity processes already. A ps aux | grep deja-dup reveals nothing. I suspect that some dot file or something is hanging around causing deja-dup to think a backup is running but I cannot find that file.

Revision history for this message
Michael Terry (mterry) said :
#3

Well I proposed that because you should only be getting that message if another deja-dup process is owning the DBus name org.gnome.DejaDup.Operation.

That's what triggers that message (or also, if it can't connect to DBus at all, it gives that message. I should make it give a nicer message for that case, but it seems so rare).

You could check using d-feet what is owning that DBus name on the session bus...

Revision history for this message
defaria (andrew-defaria) said :
#4

I didn't have d-feet installed so I installed it. But I'm not knowledgeable about debugging DBus errors. I could not figure out what to put in for the connection. I thought that perhaps this was a problem because I'm logging into my laptop using ssh from my desktop. So i went over to the laptop to try it there. It was having some problems coming out of screensave mode and somewhere along the line I hit a button causing it to reboot.

Upon reboot this problem had cleared itself.

Oh well, maybe next time...

Revision history for this message
Christophe Narbonne (christophe31) said :
#5

just wanted to say, that it's still occurring, so thanx to this bug i need to reboot... =_=

Revision history for this message
Stuart Laverick (slaverick) said :
#6

Hello,

I am also getting the same message when backup runs: "Another backup operation is already running"

I ran ps aux | grep deja-dup after the failed backup and got:

[code]
stuart 3847 0.0 0.0 373764 4276 ? Sl 07:21 0:00 /usr/lib/x86_64-linux-gnu/deja-dup/deja-dup-monitor
stuart 6049 18.1 0.1 910652 20376 ? SNl 09:04 10:25 deja-dup --backup --auto
stuart 11495 0.0 0.1 912316 20404 ? Sl 09:54 0:00 deja-dup --backup
stuart 11894 0.0 0.0 11752 896 pts/9 S+ 10:01 0:00 grep --color=auto deja-dup
[/code]

There seems to be 2 instances running, but I only have 1 weekly backup set in the application settings.

Is something getting 'stuck' like a flag file staying on?

Any help appreciated, thanks.

Revision history for this message
mlissner (mlissner-michaeljaylissner) said :
#7

I've been getting this message for a long time too, and have basically identical results to my ps aux | grep deja-dup command. No GUI seems to be running, and I haven't haven't seen a real backup work in days.

Seems like some exit flag isn't getting reset when the program finishes.