[Box Backup] Virtual Machine backup

Chris Wilson boxbackup@boxbackup.org
Sat, 6 Jun 2009 17:12:01 +0300 (EAT)


Hi Dave,

On Fri, 5 Jun 2009, Dave Bamford wrote:

> I tried the LDFLAGS=static but I got this error
>
> configure:8360: checking for openssl/ssl.h
> configure:8368: result: yes
> configure:8384: checking for SSL_read in -lssl
> configure:8419: g++ -o conftest -g -O2  -static conftest.cpp -lssl -lcrypto 
> -lz  >&5
> /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libcrypto.a(dso_dlfcn.o): 
> In function `dlfcn_bind_func':
> (.text+0x2fb): undefined reference to `dlsym'

It seems that there's already an option to use static linking, which might 
work better. If you want to try this again, please run ./configure with 
the --enable-static-bin option instead of LDFLAGS=-static.

> I think the best idea is to let the script which takes the machine 
> snapshots replace the output file and see if box diffs it. It should 
> work according to Ben. The only issue now is how to set up the box 
> parameters so box can upload a 200G file. I think I will build a test vm 
> with a small footprint first.

You'll need 200G free in the account before the first backup, and enough 
free space to store the patch after each snapshot. So you could try a 
difference between soft and hard limits of e.g. 20G.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |