Front page

Fwd: Re: Performance on a WAN line

bcbe1a24f087422295cc60fe158a97fc
SHOWGIRL RACKETEER BEEHIVE

From: Markus Bonet <m.bonet@gmx.de>
Date: Wed, 3 Aug 2016 20:39:44 +0200

   Am 2016-08-03 10:30, schrieb Lars Wirzenius:
   > On Wed, Aug 03, 2016 at 09:34:33AM +0200, Markus Bonet wrote:
   >> Just to verify: I am using those two options as they're supposed to be 
   >> used,
   >> right?
   > 
   > Looks like it, yes. As I said, you may want to try various values to
   > see if they affect performance.
   > 
   >> Can you confirm that this is related to the latency on the line?
   > 
   > More or less. I tend to say that Obnam is just slow, but latency
   > affects a lot. In the future, I hope to avoid how much effect latency
   > has on Obnam performance, but that work is still ongoing.
   
   Jan, Lars: Thanks for your hints.
   I played around with the options, but wasn't able to improve.
   
   I now decided to re-organize my local backup as well and when finished,
   I will use rsync to bring the repository to my remote site.
   This method achieves full bandwidth on my line and syncing a new
   generation is only transferring the deltas, so really fast as well.
   
   
   Cheers
   Markus
   
   _______________________________________________
   obnam-support mailing list
   obnam-support@obnam.org
   http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
From: Konrad Hofer <kohofer@gmail.com>
Date: Fri, 5 Aug 2016 15:05:18 +0200

   Hi,
   
   is it possible to restore a backup to a different computer?
   I run obnam backup on computer A; now I would like to restore
   to computer B.
   
   thanks very much
   
   --konrad
   
   _______________________________________________
   obnam-support mailing list
   obnam-support@obnam.org
   http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
From: SanskritFritz <sanskritfritz@gmail.com>
Date: Fri, 5 Aug 2016 15:11:36 +0200

   Absolutely. There is no limitations this was whatsoever. Just think of it,
   you can mount the repository from anywhere and just copy files from there.
   
   
   On Fri, Aug 5, 2016 at 3:05 PM, Konrad Hofer <kohofer@gmail.com> wrote:
   
   > Hi,
   >
   > is it possible to restore a backup to a different computer?
   > I run obnam backup on computer A; now I would like to restore
   > to computer B.
   >
   > thanks very much
   >
   > --konrad
   >
   > _______________________________________________
   > obnam-support mailing list
   > obnam-support@obnam.org
   >
   > http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
   >
From: Konrad Hofer <kohofer@gmail.com>
Date: Fri, 5 Aug 2016 15:18:34 +0200

   Strange, I get this message, when I connect my external USB-Disk to
   another Computer:
   
   ERROR: RA920EX: does not seem to be an Obnam repository
   
   
   On 05/08/16 15:11, SanskritFritz wrote:
   > Absolutely. There is no limitations this was whatsoever. Just think
   > of it, you can mount the repository from anywhere and just copy
   > files from there.
   > 
   > 
   > On Fri, Aug 5, 2016 at 3:05 PM, Konrad Hofer <kohofer@gmail.com
   > <mailto:kohofer@gmail.com>> wrote:
   > 
   >     Hi,
   > 
   >     is it possible to restore a backup to a different computer?
   >     I run obnam backup on computer A; now I would like to restore
   >     to computer B.
   > 
   >     thanks very much
   > 
   >     --konrad
   > 
   >     _______________________________________________
   >     obnam-support mailing list
   >     obnam-support@obnam.org <mailto:obnam-support@obnam.org>
   >     http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
   > 
   > 
   
   _______________________________________________
   obnam-support mailing list
   obnam-support@obnam.org
   http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
From: SanskritFritz <sanskritfritz@gmail.com>
Date: Fri, 5 Aug 2016 15:33:00 +0200

   It otherwise the repository is readable on the USB-stick by the original
   computer, it is indeed strange, but you should check that other computer,
   obnam does not make any distinction that way.
   
   
   
   
   
   
   
   On Fri, Aug 5, 2016 at 3:18 PM, Konrad Hofer <kohofer@gmail.com> wrote:
   
   > Strange, I get this message, when I connect my external USB-Disk to
   > another Computer:
   >
   > ERROR: RA920EX: does not seem to be an Obnam repository
   >
   >
   > On 05/08/16 15:11, SanskritFritz wrote:
   > > Absolutely. There is no limitations this was whatsoever. Just think
   > > of it, you can mount the repository from anywhere and just copy
   > > files from there.
   > >
   > >
   > > On Fri, Aug 5, 2016 at 3:05 PM, Konrad Hofer <kohofer@gmail.com
   > > <mailto:kohofer@gmail.com>> wrote:
   > >
   > >     Hi,
   > >
   > >     is it possible to restore a backup to a different computer?
   > >     I run obnam backup on computer A; now I would like to restore
   > >     to computer B.
   > >
   > >     thanks very much
   > >
   > >     --konrad
   > >
   > >     _______________________________________________
   > >     obnam-support mailing list
   > >     obnam-support@obnam.org <mailto:obnam-support@obnam.org>
   > >
   > http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
   > >
   > >
   >
From: Konrad Hofer <kohofer@gmail.com>
Date: Fri, 5 Aug 2016 15:46:09 +0200

   Connect to USB-Drive to Computer where I did the backup, it is
   recongized
   and obnam commands, like ls, generations work without problems!
   
   Does obnam check the hostname?
   
   On 05/08/16 15:33, SanskritFritz wrote:
   > It otherwise the repository is readable on the USB-stick by the
   > original computer, it is indeed strange, but you should check that
   > other computer, obnam does not make any distinction that way.
   > 
   > 
   > 
   > 
   > 
   > 
   > 
   > On Fri, Aug 5, 2016 at 3:18 PM, Konrad Hofer <kohofer@gmail.com
   > <mailto:kohofer@gmail.com>> wrote:
   > 
   >     Strange, I get this message, when I connect my external USB-Disk to
   >     another Computer:
   > 
   >     ERROR: RA920EX: does not seem to be an Obnam repository
   > 
   > 
   >     On 05/08/16 15:11, SanskritFritz wrote:
   >     > Absolutely. There is no limitations this was whatsoever. Just think
   >     > of it, you can mount the repository from anywhere and just copy
   >     > files from there.
   >     >
   >     >
   >     > On Fri, Aug 5, 2016 at 3:05 PM, Konrad Hofer <kohofer@gmail.com <mailto:kohofer@gmail.com>
   >     > <mailto:kohofer@gmail.com <mailto:kohofer@gmail.com>>> wrote:
   >     >
   >     >     Hi,
   >     >
   >     >     is it possible to restore a backup to a different computer?
   >     >     I run obnam backup on computer A; now I would like to restore
   >     >     to computer B.
   >     >
   >     >     thanks very much
   >     >
   >     >     --konrad
   >     >
   >     >     _______________________________________________
   >     >     obnam-support mailing list
   >     >     obnam-support@obnam.org <mailto:obnam-support@obnam.org>
   >     <mailto:obnam-support@obnam.org <mailto:obnam-support@obnam.org>>
   >     >   
   >      http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
   >     >
   >     >
   > 
   > 
   
   _______________________________________________
   obnam-support mailing list
   obnam-support@obnam.org
   http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
From: SanskritFritz <sanskritfritz@gmail.com>
Date: Fri, 5 Aug 2016 16:04:46 +0200

   When doing a backup, yes, but not when checking the repository. Even if it
   did, it would spit out a much more helpful message :)
   
   
   On Fri, Aug 5, 2016 at 3:46 PM, Konrad Hofer <kohofer@gmail.com> wrote:
   
   > Connect to USB-Drive to Computer where I did the backup, it is
   > recongized
   > and obnam commands, like ls, generations work without problems!
   >
   > Does obnam check the hostname?
   >
   > On 05/08/16 15:33, SanskritFritz wrote:
   > > It otherwise the repository is readable on the USB-stick by the
   > > original computer, it is indeed strange, but you should check that
   > > other computer, obnam does not make any distinction that way.
   > >
   > >
   > >
   > >
   > >
   > >
   > >
   > > On Fri, Aug 5, 2016 at 3:18 PM, Konrad Hofer <kohofer@gmail.com
   > > <mailto:kohofer@gmail.com>> wrote:
   > >
   > >     Strange, I get this message, when I connect my external USB-Disk to
   > >     another Computer:
   > >
   > >     ERROR: RA920EX: does not seem to be an Obnam repository
   > >
   > >
   > >     On 05/08/16 15:11, SanskritFritz wrote:
   > >     > Absolutely. There is no limitations this was whatsoever. Just think
   > >     > of it, you can mount the repository from anywhere and just copy
   > >     > files from there.
   > >     >
   > >     >
   > >     > On Fri, Aug 5, 2016 at 3:05 PM, Konrad Hofer <kohofer@gmail.com
   > <mailto:kohofer@gmail.com>
   > >     > <mailto:kohofer@gmail.com <mailto:kohofer@gmail.com>>> wrote:
   > >     >
   > >     >     Hi,
   > >     >
   > >     >     is it possible to restore a backup to a different computer?
   > >     >     I run obnam backup on computer A; now I would like to restore
   > >     >     to computer B.
   > >     >
   > >     >     thanks very much
   > >     >
   > >     >     --konrad
   > >     >
   > >     >     _______________________________________________
   > >     >     obnam-support mailing list
   > >     >     obnam-support@obnam.org <mailto:obnam-support@obnam.org>
   > >     <mailto:obnam-support@obnam.org <mailto:obnam-support@obnam.org>>
   > >     >
   > >
   > http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org
   > >     >
   > >     >
   > >
   > >
   >
From: Konrad Hofer <kohofer@gmail.com>
Date: Fri, 5 Aug 2016 16:30:40 +0200

   On 05/08/16 16:05, Lars Wirzenius wrote:
   > On Fri, Aug 05, 2016 at 03:46:09PM +0200, Konrad Hofer wrote:
   >> Connect to USB-Drive to Computer where I did the backup, it is
   >> recongized
   >> and obnam commands, like ls, generations work without problems!
   >>
   >> Does obnam check the hostname?
   > 
   > Obnam uses the hostname as the default value for its own --client-name
   > setting. But if that were the problem, the error message should be
   > different. Is the repository readable on both machines? Check with ls
   > and cat.
   
   No, obnam commands backup, ls, generations, genids (did not try others)
   on my computer B do not work. I always get this error:
   
   ERROR: RA920EX: does not seem to be an Obnam repository
   
   I plug in the USB-Disk, I get asked a password (it is encrypted), I can
   see the mounted drive and access it via file manager/terminal.
   
   What can I do?
   
   thanks a lot.
From: Konrad Hofer <kohofer@gmail.com>
Date: Fri, 5 Aug 2016 17:00:54 +0200

   On 05/08/16 16:57, Lars Wirzenius wrote:
   > All the files are owned by user csadmin, group csadmin, and accessible
   > (readable) only by the owner. On the machine with trouble accessing
   > the repository, are you running obnam with the same user uid as is
   > owned by the repository?
   Yes! The attached file could not be sent. I post the first 27 lines
   here!
   
   50855937      4 drwxrwxr-x   8 csadmin  csadmin      4096 Aug  4
   22:13 /media/csadmin/my-passport/14.04/
    50855938      4 drwx------   2 csadmin  csadmin      4096 Aug  4
   21:46 /media/csadmin/my-passport/14.04/metadata
    50855939      4 -rw-------   1 csadmin  csadmin         2 Nov 20
   2014 /media/csadmin/my-passport/14.04/metadata/format
    50855941      4 drwx------   6 csadmin  csadmin      4096 Aug  4
   21:46 /media/csadmin/my-passport/14.04/clientlist
    50855952      4 drwx------   3 csadmin  csadmin      4096 Nov 20
   2014 /media/csadmin/my-passport/14.04/clientlist/nodes
    50855953      4 drwx------   3 csadmin  csadmin      4096 Nov 20
   2014 /media/csadmin/my-passport/14.04/clientlist/nodes/0
    50855954      4 drwx------   3 csadmin  csadmin      4096 Nov 20
   2014 /media/csadmin/my-passport/14.04/clientlist/nodes/0/0
    50855955      4 drwx------   2 csadmin  csadmin      4096 Aug  4
   21:46 /media/csadmin/my-passport/14.04/clientlist/nodes/0/0/0
    50855949      4 -rw-------   1 csadmin  csadmin        83 Nov 20
   2014 /media/csadmin/my-passport/14.04/clientlist/nodes/0/0/0/2
    53482102      4 -rw-------   1 csadmin  csadmin        50 Aug  4
   21:46 /media/csadmin/my-passport/14.04/clientlist/nodes/0/0/0/24
    50855945      4 -rw-------   1 csadmin  csadmin        86 Aug  4
   21:46 /media/csadmin/my-passport/14.04/clientlist/metadata
    51793398      4 drwx------   2 csadmin  csadmin      4096 Aug  4
   22:13 /media/csadmin/my-passport/14.04/clientlist/delete
    50855956      4 drwx------   2 csadmin  csadmin      4096 Aug  4
   21:46 /media/csadmin/my-passport/14.04/clientlist/refcounts
    53481232     68 -rw-------   1 csadmin  csadmin     65547 Aug  4
   21:46 /media/csadmin/my-passport/14.04/clientlist/refcounts/refcounts-0
    50855942      4 drwx------   2 csadmin  csadmin      4096 Aug  4
   22:13 /media/csadmin/my-passport/14.04/clientlist/new
    50855940      4 drwx------   6 csadmin  csadmin      4096 Aug  4
   22:13 /media/csadmin/my-passport/14.04/17446190766902704149
    50866478      4 drwx------  13 c    27  52046561    244 -rw-------
    1 csadmin  csadmin    248010 Mär 19  2015
   /media/csadmin/my-passport/14.04/17446190766902704149/nodes/5/0/0/a08e
   sadmin  csadmin      4096 Jun  6 08:55
   /media/csadmin/my-passport/14.04/17446190766902704149/nodes
    51383988      4 drwx------   3 csadmin  csadmin      4096 Nov 20
   2014 /media/csadmin/my-passport/14.04/17446190766902704149/nodes/1
    51383989      4 drwx------   3 csadmin  csadmin      4096 Nov 20
   2014 /media/csadmin/my-passport/14.04/17446190766902704149/nodes/1/0
    51383990    136 drwx------   2 csadmin  csadmin    135168 Sep 10
   2015 /media/csadmin/my-passport/14.04/17446190766902704149/nodes/1/0/0
    50866479      4 drwx------   3 csadmin  csadmin      4096 Nov 20
   2014 /media/csadmin/my-passport/14.04/17446190766902704149/nodes/0
    50866480      4 drwx------   3 csadmin  csadmin      4096 Nov 20
   2014 /media/csadmin/my-passport/14.04/17446190766902704149/nodes/0/0
    50866481    136 drwx------   2 csadmin  csadmin    135168 Sep 10
   2015 /media/csadmin/my-passport/14.04/17446190766902704149/nodes/0/0/0
    52046301      4 drwx------   3 csadmin  csadmin      4096 Mär 19
   2015 /media/csadmin/my-passport/14.04/17446190766902704149/nodes/5
    52046302      4 drwx------   3 csadmin  csadmin      4096 Mär 19
   2015 /media/csadmin/my-passport/14.04/17446190766902704149/nodes/5/0
    52046303    128 drwx------   2 csadmin  csadmin    126976 Mai 13
   2015 /media/csadmin/my-passport/14.04/17446190766902704149/nodes/5/0/0
    52046561    244 -rw-------   1 csadmin  csadmin    248010 Mär 19
   2015
   /media/csadmin/my-passport/14.04/17446190766902704149/nodes/5/0/0/a08e
   
   konrad
From: Lars Wirzenius <liw@liw.fi>
Date: Fri, 5 Aug 2016 17:05:58 +0300

   On Fri, Aug 05, 2016 at 03:46:09PM +0200, Konrad Hofer wrote:
   > Connect to USB-Drive to Computer where I did the backup, it is
   > recongized
   > and obnam commands, like ls, generations work without problems!
   > 
   > Does obnam check the hostname?
   
   Obnam uses the hostname as the default value for its own --client-name
   setting. But if that were the problem, the error message should be
   different. Is the repository readable on both machines? Check with ls
   and cat.
From: Lars Wirzenius <liw@liw.fi>
Date: Fri, 5 Aug 2016 17:35:08 +0300

   On Fri, Aug 05, 2016 at 04:30:40PM +0200, Konrad Hofer wrote:
   > No, obnam commands backup, ls, generations, genids (did not try others)
   > on my computer B do not work. I always get this error:
   
   Yeah, I got that. I was asking you to check if you can access the
   files in the repository using plain old Unix commands, such as ls and
   cat.
   
   > ERROR: RA920EX: does not seem to be an Obnam repository
   > 
   > I plug in the USB-Disk, I get asked a password (it is encrypted), I can
   > see the mounted drive and access it via file manager/terminal.
   > 
   > What can I do?
   
   Plug the disk in, open the encryption as usual. Then run "find
   /path/to/obnam/repository/on/disk -ls", and mail the output, thanks.
From: Lars Wirzenius <liw@liw.fi>
Date: Fri, 5 Aug 2016 17:57:09 +0300

   On Fri, Aug 05, 2016 at 04:51:27PM +0200, Konrad Hofer wrote:
   > >> I plug in the USB-Disk, I get asked a password (it is encrypted), I can
   > >> see the mounted drive and access it via file manager/terminal.
   > >>
   > >> What can I do?
   > > 
   > > Plug the disk in, open the encryption as usual. Then run "find
   > > /path/to/obnam/repository/on/disk -ls", and mail the output, thanks.
   > 
   > Right, run
   > 
   > find /media/csadmin/my-passport/14.04/ -ls > repository.txt
   > bzip2 repository.txt
   
   All the files are owned by user csadmin, group csadmin, and accessible
   (readable) only by the owner. On the machine with trouble accessing
   the repository, are you running obnam with the same user uid as is
   owned by the repository?
From: Lars Wirzenius <liw@liw.fi>
Date: Fri, 5 Aug 2016 18:35:16 +0300

   On Fri, Aug 05, 2016 at 05:00:54PM +0200, Konrad Hofer wrote:
   > On 05/08/16 16:57, Lars Wirzenius wrote:
   > > All the files are owned by user csadmin, group csadmin, and accessible
   > > (readable) only by the owner. On the machine with trouble accessing
   > > the repository, are you running obnam with the same user uid as is
   > > owned by the repository?
   > Yes! The attached file could not be sent. I post the first 27 lines
   > here!
   
   Could you run the following command, on the machine that can't access
   the repository, and send the log file?
   
   obnam --log /tmp/obnam.log --log-level debug --trace obnamlib --trace larch clients
From: Lars Wirzenius <liw@liw.fi>
Date: Fri, 5 Aug 2016 18:36:08 +0300

   On Fri, Aug 05, 2016 at 05:00:54PM +0200, Konrad Hofer wrote:
   > On 05/08/16 16:57, Lars Wirzenius wrote:
   > > All the files are owned by user csadmin, group csadmin, and accessible
   > > (readable) only by the owner. On the machine with trouble accessing
   > > the repository, are you running obnam with the same user uid as is
   > > owned by the repository?
   > Yes! The attached file could not be sent. I post the first 27 lines
   > here!
   
   Also, what does the following output (still on the machine where the
   repo is inacceesible)?
   
   id
From: Konrad Hofer <kohofer@gmail.com>
Date: Fri, 19 Aug 2016 14:15:19 +0200

   Hi,
   
   sorry for the late response, I was on vacation!
   
   It is working now, I forgot to add the --repository switch!
   
   obnam --repository /media/csadmin/master/test restore --to
   /home(csadmin/Desktop
   
   Before I tried without the "--repository /media/csadmin/master/test"
   
   thanks very much for the help
   
   konrad
   
   On 05/08/16 17:36, Lars Wirzenius wrote:
   > On Fri, Aug 05, 2016 at 05:00:54PM +0200, Konrad Hofer wrote:
   >> On 05/08/16 16:57, Lars Wirzenius wrote:
   >>> All the files are owned by user csadmin, group csadmin, and accessible
   >>> (readable) only by the owner. On the machine with trouble accessing
   >>> the repository, are you running obnam with the same user uid as is
   >>> owned by the repository?
   >> Yes! The attached file could not be sent. I post the first 27 lines
   >> here!
   > 
   > Also, what does the following output (still on the machine where the
   > repo is inacceesible)?
   > 
   > id
   >
From: SanskritFritz <sanskritfritz@gmail.com>
Date: Fri, 19 Aug 2016 15:16:35 +0200

   On Fri, Aug 19, 2016 at 2:15 PM, Konrad Hofer <kohofer@gmail.com> wrote:
   
   > Hi,
   >
   >
   > It is working now, I forgot to add the --repository switch!
   >
   >
   Sorry, but I laughed hard here :D