Failure: I don't know what to Title This

Asked by Mike O'Donnell

Michael:

I am sure you are as tired of me having trouble with this, as I am; Maybe more so.... Sorry!

I still use Ubuntu 10.04 with Deja-Dup 14.2. I have enabled the duplicity PPA for Lucid and have in Software Sources, the backport repositories enabled for anything to come in from you, for my Lucid install. I haven't been doing any backups lately, as nothing new seemed important enough to run it. On October 24/11, I removed about 125 gigs of binaries files from my internal hard drive. I deleted the data from my backup (external HD) by using by:

cd /media

Then:

sudo rm -r /media/<UUID>

Terminal told me that it couldn't remove the directory media/<UUID< (good!) and removed the data from the duplicity files and in effect deleted the old backups! I then ran a new backup, which eventually signaled a new 1st full backup had been successfully completed. I closed DD and unmounted and shut off the external HD.

I brought in some new files Oct 25/11. Today (Oct 26/11). I decided to run DD to backup them up also. Here the difficulties started.

When running the backup, which I thought would just be an incremental to the new 1st full backup of Oct 24/11, DD signaled "Cleaning up" deleted my backup files on the ext. HD as seen in System monitor and proceeded to complete 1st full backup again; and eventually signaled "Backup Finished, your files were successfully backed up". As again, something was amiss, I made a small "test file" and installed deja-dup-dbg (which I don't know how to use, I thought you might want to walk me through it, if you wanted me to use it).

I then tried to run another backup, which I assumed would be an incremental with the test file in it, and basically DD did the same as before, deleted the earlier backup and ran a whole new 1st backup. OK! I removed the test file, shut off DD, shut off and unmounted off the Ext.HD. Rebooted, remounted and started the Ext. Hd and tried Restore and was told it was checking for backups; then got a message "Restore Failed.. no backups to restore" and deleted the earlier full backup, when I checked what it had done in System Monitor.

I did another full backup with another "test file" successfully and unmounted and closed the external HD (as always today).. Rebooted, mounted the ext. HD and deleted the test file; ran Restore and the same happened, as in the earlier paragraph.

I ran another backup, it ran another 1st full backup, .... but this time it backed up completely and then deleted the data from the back up HD, as seen in System Monitor and automatically ran another 1st backup, all in the same sequence. At the end of the second run it announced "Backup Finished .. your files were successfully backed up" I closed the ext. HD, unmounted it, turned off, rebooted (as always today), deleted the test file from my hard-drive, mounted and turned on the Ext. HD and ran Restore to have DD signal again "Restore Failed" no backups to restore, and deleted all the data on the ext. HD, again.

I have all the manifest from Oct 24 and Oct 26 with all the duplicity sigs for those days. I don't want to flood here with them all, as I have "flooded enough" with all this writing.

I have reached a point, where DD is not a viable backup source for me.

If, you want any further information, or if you want to have me attempt anything that would help you with this; please contact me, with Noob directions, for me to follow.

I am beginning to think that DD has trouble with Lucid ???

Mike

Question information

Language:
English Edit question
Status:
Open
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mike O'Donnell (mikeodonnell) said :
#1

From my /etc/apt/sources.list:

deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

To receive backports for DD from you; Do I need the sources one, uncommented too? I am not going to try to compile any new packages for DD while using Lucid.

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

Hi, Mike! I'm sorry that DD continues to be a headache.

A) I haven't made any backports of newer DD releases to Ubuntu 10.04 because the dependencies for newer versions cannot be met on 10.04. So you won't see a new deja-dup in lucid-backports (though, to answer your question, if I did make a backport, your sources.list is fine).

B) The combination of DD 14.2 and the very latest duplicity from its PPA is not well tested. I would not expect problems, but that doesn't mean there aren't unexpected problems.

C) It sounds like DD is not recognizing the previous backup as complete. Which would cause it on startup to delete the files, thinking the incomplete backup is just a waste of space. It would also cause restore to not treat the backup as a valid option, hence the "no backups to restore" message.

Now, to figure out what's going on, I'd ideally have the log file to examine. i.e. the files /tmp/deja-dup.log1 and /tmp/deja-dup.log2 after running the following:

# First, make a backup
DEJA_DUP_DEBUG=1 deja-dup | tail -n 1000 > /tmp/deja-dup.log1

# Now try to make an incremental backup (which we expect will delete the previous one)
# Note that this line is different than the above one, as we now want the first 1000 lines, not the last 1000
DEJA_DUP_DEBUG=1 deja-dup | head -n 1000 > /tmp/deja-dup.log2

You can't attach such files to a Question, so maybe file a new bug and attach there?

Sorry this is such a pain. And if you are totally done with DD, I understand. :)

Revision history for this message
Mike O'Donnell (mikeodonnell) said :
#3

Can you help with this problem?

Provide an answer of your own, or ask Mike O'Donnell for more information if necessary.

To post a message you must log in.