[Feature request] Auto backup when plugging external disk in

Bug #185167 reported by Marco Rodrigues on 2008-01-22
6
Affects Status Importance Assigned to Milestone
nssbackup
Opinion
Wishlist
Unassigned
sbackup (Ubuntu)
Wishlist
Unassigned

Bug Description

It would be perfekt if the backup would start everytime a special partition will be mounted. (when the stick or the hdd appears (only her stick of course))
if the backup is already made it stops and if there should be made on, it should start!

I wrote a little python-script, but that is a very dirty hack!

bye
Frank Polte

Important: only her stick of course.
-> how to ensure the backup destination for the automated backup is authorized?

Changed in nssbackup:
importance: Undecided → Wishlist
milestone: none → release0.3
Jean-Peer Lorenz (peer.loz) wrote :

Very interesting feature, partly it sounds like Mac's TimeMachine ;) So we put it on the wishlist for later releases. Unfortenately, it is not so easy to implement - so be patient.

Changed in nssbackup:
status: New → Confirmed
TimWintle (timwintle) wrote :

There is work on a similar system that you might be interested in:

(it's still in alpha)

https://launchpad.net/timevault/+download

Anton (feenstra) wrote :

Meanwhile, you may consider an alternative. You can put an 'autorun' script on the USB stick that launches the backup. I've done that on my external disk, but that one only runs the backup config, so I can push 'make backup now' (that was actually still using sbackup). Presumably, you could likewise start the whole backup process in the background.

(One caveat comes from Gnome's security features. You will *always* have to click 'yes' on two different notice windows to actually run the autorun script.)

As to TimeMachine, I've started using TimeVault that does similar things. It can write to an external disk, and IIRC it will gracefully stop and re-start when the volume is removed and re-inserted. It's still in beta phase (0.7.3 now), but already seems to work quite stably. It's in the Ubuntu repo.

(by the way, there isn't anything particular to notebooks about this feature...)

Changed in nssbackup:
milestone: release0.3 → none
description: updated
Changed in nssbackup:
status: Confirmed → Opinion
Changed in sbackup (Ubuntu):
status: New → Opinion
summary: - It lacks a special Notebook feature
+ [Feature request] Auto backup when plugging external disk in

I've implemented this for my wife as an autorun script on the external
disk, which starts the backup. This works in Ubuntu (I don't know about
other distro's). The only drawbacks are that it pops up a window asking
the user if she want to execute this removable medium, and that you'll
be depending on a proper setup in the configuration file, that will not
be on the external disk. I do this with sbackup, but I'm sure it will
work with nssbackup as the only feature you need is a command to start
the backup.

It wouldn't be difficult for [ns]sbackup to have an option in the gui to
install itself onto a particular external disk.

You could get some level of authorization by setting a custom backup
path (possibly including a hash key in its name) that points to a
directory on the external disk, and cancel backup if it doesn't exist.
That way, any other USB drive with the same autorun script, would not
get the backup.

--
Groetjes,

Anton
  _____________ _______________________________________________________
| | |
| _ _ ___,| K. Anton Feenstra |
| / \ / \'| | | IBIVU/Bioinformatics - Free University Amsterdam |
|( | )| | | De Boelelaan 1083A - 1081 HV Amsterdam - Netherlands |
| \_/ \_/ | | | Tel +31 20 59 87783 - Fax +31 20 59 87653 - Room P136 |
| | <email address hidden> - www.few.vu.nl/~feenstra/ |
| | "Step Aside, Butch" (Pulp Fiction) |
|_____________|_______________________________________________________|

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers