Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to set up regular backups, and deja-dup seems like a nice tool. However, I want to put my backups on an extension USB drive that I have, not on a remote network location. Naturally, this drive is not always connected. If I configure deja-dup to backup to a directory on this drive (e.g. /media/extention/backup), what would happen? Will it prompt me to connect the drive when it is missing (the desired behavior), or just fail silently? Is there some way to tweak it to do so?

I can roll my own cron-based backup script that checks if this drive is mounted, but I would really prefer to use an existing, integrated tool.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Deja Dup will wait for you to connect your external drive. So, when your external USB drive is not connected, Deja Dup will show a Notification saying that "Backup will continue when <external USB drive's partition name> gets connected."

So, when you do connect your external drive, Deja Dup will start backup automatically. Otherwise, it will wait in the background till the drive is connected.

share|improve this answer
    
That is correct, but when I connect my drive and open DejyDup and press "start backup now" I get the error that I don't have the right permissions –  rubo77 Jun 4 at 22:50
    
I fixed that with the permissions like this: I created a folder dejaDupBackup on the USB drive as root and gave that folder to my user with chown myuser dejaDupBackup. Then I chose a non existing folder inside that folder on the USB by entering "dejaDupBackup/backup-" into the field in the settings of DejaDup –  rubo77 Jun 4 at 23:05

The only downside to this is it will nag you constantly until you connect the USB drive. I set this up on my daughters laptop as a manual step.

I configured dejay dup as desired (daily) but left 'automatic backups' OFF. I then made a script file to run deja-dup --backup and pointed a launcher to it. She now runs the launcher after connecting the USB drive. The first backup is long/intense but subsequent backups are short/quick.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.