Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
bup 0.13: backwards backups are back!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Avery Pennarun  
View profile  
 More options Mar 21 2010, 5:13 pm
From: Avery Pennarun <apenw...@gmail.com>
Date: Sun, 21 Mar 2010 17:13:20 -0400
Local: Sun, Mar 21 2010 5:13 pm
Subject: bup 0.13: backwards backups are back!
Hi all,

Okay, they're not actually "back," because we never had them before.
The most exciting new feature of bup 0.13 is that you can backup from
a *remote* server to your *local* machine, even if your remote server
has no way to ssh into your local machine.

You've been able to do it "forwards" since early versions of bup:

    mydesktop:~ # bup save -r bupserver: -n mydesktop /

(to backup my local machine, 'mydesktop', to a branch on the remote
machine "bupserver").  However, if you're like me, that's not really
what you want.  Having all the computers in the world able to ssh
*into* your backup machine is kind of crappy, even if you set it up so
they can only run bup.  That machine has a full copy of *all* the
files on *all* your machines, including old versions, which is a major
security risk.

If you're like me, you want that backup machine hidden away behind a
firewall where nobody can get at it, and you want your backup machine
to make outgoing connections, not accept incoming ones.  So if you're
like me, what you want is the new 'bup rbackup' command:

    bupserver:~ $ bup rbackup root@mydesktop save -n mydesktop /

The rbackup command does some screwy stuff with file descriptors to
run the 'bup server' command locally, then forward its connection to
the remote 'bup save' instance, which then communicates with the local
server over the existing ssh connection.  Notice that you don't need a
-r option in the above command.

This is great for backing up your public servers that are sitting on a
hosting provider, and pulling their contents down to, say, a computer
you have sitting behind a firewall at home.

Tip: if your remote server is Ubuntu and you have an Ubuntu server at
home, back up the local server first.  Then when you back up your
remote server, it won't actually have to send all the duplicated
Ubuntu contents back to the bup server, thus saving you lots of time
and bandwidth.  Naturally, backing up multiple similar (or even
cloned) public servers to the same repo will save you tons of
bandwidth and space.

In other news, thanks to Lukasz, who has once again provided the
patches needed to get the latest bup working on cygwin.

Avery Pennarun (8):
      main.py: don't leak a file descriptor.
      main: when printing help, don't mix stdout/stderr.
      save-cmd: exit nonzero if any errors were encountered.
      save/index/drecurse: correct handling for fifos and nonexistent paths.
      options: allow user to specify an alternative to getopt.gnu_getopt.
      client: Extract 'bup server' connection code into its own module.
      rbackup-cmd: we can now backup a *remote* machine to a *local* server.
      server: only suggest a max of one pack per receive-objects cycle.

Lukasz Kosewski (2):
      lib/bup/index.py:  mmap.mmap() objects need to be closed() for Win32.
      cmd/index-cmd.py:  How it pains me to have to explicitly close() stuff

Have fun,

Avery


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »