nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

lvm backup

This is a discussion on lvm backup within the Ubuntu / Debian forums, part of the Linux Distribution category; is there a software wich is able to make a disk complete backup on which there are lvm partition ?...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Linux answers from nixCraft.


Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-12-2009, 06:10 PM
Junior Member
User
 
Join Date: Dec 2009
OS: Debian
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gorgorbhey is on a distinguished road
Default lvm backup

is there a software wich is able to make a disk complete backup on which there are lvm partition ?
Reply With Quote
  #2 (permalink)  
Old 14-12-2009, 06:49 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Are you talking about LVM snapshots, backup entire disk partition or selected files / directories? You will find software for each type of usage.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 14-12-2009, 07:15 PM
Junior Member
User
 
Join Date: Dec 2009
OS: Debian
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gorgorbhey is on a distinguished road
Default

i want to backup entire disk partition and keep lvm structure
Reply With Quote
  #4 (permalink)  
Old 14-12-2009, 07:32 PM
raj's Avatar
raj raj is offline
Senior Member
User
 
Join Date: Jun 2005
Location: Hyderabad
OS: Fedora, Debian Linux
Posts: 307
Thanks: 42
Thanked 8 Times in 8 Posts
Rep Power: 6
raj will become famous soon enough raj will become famous soon enough
Default

For folder synchronization use rsync tool -
  1. How To Use rsync Command To Backup Directory Under Linux

For creating an archive use tar tool -
  1. http://www.cyberciti.biz/faq/linux-t...command-howto/
For drive imaging use dd tool. backup /dev/sda1 to /nfs/backup/home.data.bin
Code:
dd if=/dev/sda1 of=/nfs/backup/home.data.bin bs=1024
To save disk space compress it:
Code:
dd if=/dev/sda1 | gzip > /nfs/backup/home.data.bin  bs=1024
dump and restore commands are traditionally used by UNIX and supported under Linux too.

Also, rsnapshot is very nice tool (but I never used it)
  1. http://www.cyberciti.biz/faq/linux-r...-backup-howto/


Let us know how it went. You may wanna try dd offline as small mistake may take out working data. You've been warned.
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote
  #5 (permalink)  
Old 15-12-2009, 12:52 PM
Junior Member
User
 
Join Date: Dec 2009
OS: Debian
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gorgorbhey is on a distinguished road
Default

Thank you Raj for your help

I want to make a server entire disk image in order to restore it on one other computer.
Next i will try to resize LVM Partitions on the backup computer and if it works i will resize the LVM Partitions on the server.

I found the G4U software which seems keep LVM architecture if i do a copydisk.

What do you think about this solution ?

Regards,
Nicolas
Reply With Quote
  #6 (permalink)  
Old 17-12-2009, 06:00 PM
Junior Member
User
 
Join Date: Dec 2009
OS: Debian
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gorgorbhey is on a distinguished road
Default

Well g4u didn't recognize my hard drives, neither my usb drive neither my ide drive...
i d like to find a software easy to use to replicate my internal hard drive on my usb hard drive, keeping lvm architecture
Reply With Quote
Reply

Tags
lvm partition backup software


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
LVM backup restore rakeshrhn Linux software 0 09-06-2009 02:15 PM
Creating the perl Backup script for hard disk to hard disk backup vmr.gouda CentOS / RHEL / Fedora 2 15-05-2008 01:08 AM
Postgres backup chiku Databases servers 2 03-01-2007 09:43 PM
backup ashok Linux software 5 19-07-2005 07:45 PM
Need Help (Linux Backup) santoshkamane Linux software 2 29-04-2005 09:18 PM


All times are GMT +5.5. The time now is 07:10 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38