BackupPC-users

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

2008-12-12 12:10:44
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: Fri, 12 Dec 2008 14:39:18 -0200
Adam Goryachev wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Rodrigo Real wrote:
>> 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
>>
> If a script can fix it properly, why not do it on the same frequancy
> (if you can solve problem 1) ?

You are completely right, no reason for not synching everything...

>> 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.
>>
> You could always reduce your FS size, to make space for the
> snapshots,.... depending on your pool size/etc....

Yes, I reduced the root system and the snapshot backup is running right now.

Rodrigo

> 
> Regards,
> Adam
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFJQauqGyoxogrTyiURAuwMAKDTv2F/kjW1W2s9GHn5eTJP0cu2AACfUrhd
> 5h9rGH+JAUsacn0tRswiZf4=
> =3ztI
> -----END PGP SIGNATURE-----
> 
> 
> ------------------------------------------------------------------------------
> 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/
> 


------------------------------------------------------------------------------
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/