Front page

restore without specifying --to

15b5374a1c8c47aeabce6352d9c4b288
BACKFIELD POSITIVE CLAMSHELL

From: Jonathan Dowland <jon+obnam-support@alcopop.org>
Date: Fri, 22 Apr 2016 09:57:41 +0100

   I'm performing a restore. I issued the following
   
       obnam -r /mnt/archive.obnam restore /archive
   
   With obnam 1.8-1 (jessie). I believed that the "/archive" argument above
   was defining the restore point, which it isn't. I omitted --to, but
   rather than fail, it began restoring to /home/jon/archive ($HOME was
   $PWD).
   
   Reporting this on request (bug is missing --to should mean restore
   fails). I haven't checked to see whether this is present in a more
   recent version of obnam yet.
   
   _______________________________________________
   obnam-support mailing list
   obnam-support@obnam.org
   http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
From: Lars Wirzenius <liw@liw.fi>
Date: Sat, 16 Jul 2016 10:01:19 +0300

   I've fixed this now by making --to required when using restore.
   (Either on the command line or via a config file.)
   
   On Fri, Apr 22, 2016 at 09:57:41AM +0100, Jonathan Dowland wrote:
   > I'm performing a restore. I issued the following
   > 
   >     obnam -r /mnt/archive.obnam restore /archive
   > 
   > With obnam 1.8-1 (jessie). I believed that the "/archive" argument above
   > was defining the restore point, which it isn't. I omitted --to, but
   > rather than fail, it began restoring to /home/jon/archive ($HOME was
   > $PWD).
   > 
   > Reporting this on request (bug is missing --to should mean restore
   > fails). I haven't checked to see whether this is present in a more
   > recent version of obnam yet.
   > 
   > _______________________________________________
   > obnam-support mailing list
   > obnam-support@obnam.org
   > http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
   >