BackupPC-users

Re: [BackupPC-users] Backing up the backup to an external USB drive

2008-12-11 08:35:35
Subject: Re: [BackupPC-users] Backing up the backup to an external USB drive
From: Rodrigo Real <rreal AT ucpel.tche DOT br>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 11 Dec 2008 11:32:48 -0200
Hello Adam

Adam Goryachev wrote:
> 
> Step 1) Use LVM's snapshot feature to take a snapshot of your root and
> backuppc partitions.
> Step 2) dd the snapshot to the two partitions on your USB HDD
> 
> You won't be able to boot from the USB directly, because as you said,
> you would need to install grub, adjust the menu.lst, etc to make it
> work. If you had a USB drive larger than 500GB, eg, a 750GB drive, then
> you could do so much more :)

I was thinking about running a small shell script that would do this 
adjustments just after the end of the copy process. This script would 
mount the usb partitions e edit those files.

> 
> ie, setup the 3rd partition as the "active" partition, install grub to
> this partition, and configure the menu.lst file as needed. Then use the
> first two partitions the same as above.

This is a good idea, and would simplify the process.

Re-structuring the thoughts, maybe I could do:

  1 - copy the /boot and root partitions just once in a while, or maybe 
rsync it in a low frequency, excluding the files that should be adjusted
  2 - in a higher frequency take a snapshot of the backuppc lvm volume 
to the usb drive

This way I guess some problems would be solved:

  * I don't have to take a snapshot of a mounted and live root system, 
which I guess would cause problems (as said by Tino)
  * I don't have to make that script to adjust everything everytime I do 
a backup

The only problem I see is that I don't have disk space to make a 
snapshot and after it to dd the file to the usb disk, I never used this 
snapshot feature, I will see if I can redirect the file as a pipe 
directly to the usb drive.

I will try to follow this way and see where it takes me. It would be 
very confortable to have this sort of ready to use system.

Let me know ff you have any other ideias, I will send news soon about this.

Rodrigo

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/