Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.


I have a problem with Deja-Dup automatic backup. I want to backup several partitions daily after attaching external usb drive. However I encountered silly problem - Deja-Dup (or should I write duplicity) when launched automatically cannot write to a selected directory on this external disk. If I understand this correctly the problem is classic "no sudo".
So there goes my question - what should I do to make it happen. In my task manager I see a process called 'deja-dup-monitor' running. My understanding is that this process starts a deja-dup program when external disk is mounted (maybe it does this only because it wants to make initial backup and has to show a dialog asking whether I'd like to password it). It is then that actual backup is launched in form of duplicity process - and it seems this process doesn't have su rights.

That's my take on it, but I may be wrong.
I'd like to hear any suggestions and btw if you happen to know I have also questions regarding backing up itself:

  1. Does this program make daily backups at fixed hour or will it make backup after mounting external disk (can I check it for example in cron or something)?
  2. Will I be warned if it wants to make a backup and disk is not mounted?
  3. Will I be informed in any way about back up process (will it go silent, always popup deja-dup window or maybe show some icon in the taskbar - desired)?
  4. Is it possible to view progress of backup (I know only initial backup is long, but still)?

And finally your personal opinion - should I leave this idea and maybe make cron notifiy me to make the backup manually? (persistent notifications in gnome 3 seem apropriate for the task, hihi)
Cheers

share|improve this question
This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. I am flagging this for closure. Regards, – Ringtail Mar 12 '12 at 20:55

closed as too localized by Bruno Pereira Mar 12 '12 at 20:57

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

To answer the personal opinion, you don't have to do the backup manually. You can use rsync to perform the backup. You will not get a notification, it will run in the background.

I have a bash script which cron calls every hour. I check whether the USB drive has been mounted. My USB drive is called 'BACKUP1', so it gets mounted at /media/BACKUP1

if [ -d "/media/BACKUP1" ]; then 
    rsync -r -t -v --progress --delete -s /home/username/Folder/ /media/BACKUP1/Folder
    ...
    ...
fi
share|improve this answer

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