Comment 1 for bug 622496

Revision history for this message
Anton (feenstra) wrote : Re: [Nssbackup-team] [Bug 622496] [NEW] problem occurs if nssbackup is run with the destination drive not present. It looses the config info.

On 23/08/10 03:03, BlueLight wrote:
> Public bug reported:
>
> (Not So) Simple Backup Suite 0.3.1
> Lucid 10.04 32 bit fully updated
>
> When nssbackup is used with an external usb hardrive a problem occurs if nssbackup is run with the destination drive not present. It falls back to the default /var/backup directory.
> If on the next backup the usb drive is present it doesn't switch back to the custom destination directory but keeps the default.
>
> I would expect nssbackup to check for an external destination (network
> or usb) and use it if present.What happen if I change the default
> destination directory to the usb drive? Where to do this?

AFAIK, nssbackup checks for existance of the destination directory, and
  if it does not exist does not perform the backup.

One alternative would be to put an autorun script on your USB stick that
launches (ns)sbackup when inserted (depends on your OS exactly how that
works).

--
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/ |
| | "I Wrapped a Newspaper Round My Head" (F. Zappa) |
|_____________|_______________________________________________________|