Re: backup system for RHEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well
Finally these are the results of the test:

time dd if=/home/images/nodo1.img of=/home/images/backup/nodo1backup.img
bs=1M
10240+1 records in
10240+1 records out
10737418242 bytes (11 GB) copied, 255,37 seconds, 42,0 MB/s

real    4m20.980s
user    0m0.028s
sys     0m19.461s
# ll nodo1.img
-rwxr-xr-x 1 root root 10737418242 jul 24 14:28 nodo1.img
# ll backup/nodo1backup.img
-rw-r--r-- 1 root root 10737418242 jul 24 14:27 backup/nodo1backup.img


In 4 minutes I have made a copy of the image and then I used it and it works
fine.

The problem I see with this, is the size of the image. When you make a real
snapshot the size is very small, but with this method the size is the same
as the original image. Backing up this file to an external device will take
a long time.

For me, it´s valid, because I have a small number of images, but for a big
number of images It will be impossible to make this backup.

Another aproach to this problem?

ESG


2009/7/24 Geofrey Rainey <Geofrey.Rainey@xxxxxxxxxx>

> Na you won't break anything apart from maybe increasing the load/ i/o wait
> On your server..otherwise you'll get a nice backup :) (make sure you've got
> The exact same space as the partition you're backing up too)
>
> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:
> redhat-list-bounces@xxxxxxxxxx] On Behalf Of ESGLinux
> Sent: Friday, 24 July 2009 10:39 p.m.
> To: General Red Hat Linux discussion list
> Subject: Re: backup system for RHEL
>
> Thanks Geogfry,
> I´m going to try it to see what happens,
>
> I expect I´ll dont break nothing ;-)
>
> Greetings,
>
> ESG
>
>
>
> 2009/7/24 Geofrey Rainey <Geofrey.Rainey@xxxxxxxxxx>
>
> > Yes exactly, that's the way.
> >
> >
> > -----Original Message-----
> > From: redhat-list-bounces@xxxxxxxxxx
> > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of ESGLinux
> > Sent: Friday, 24 July 2009 10:33 p.m.
> > To: General Red Hat Linux discussion list
> > Subject: Re: backup system for RHEL
> >
> > 2009/7/24 Geofrey Rainey <Geofrey.Rainey@xxxxxxxxxx>
> >
> > > For the Xen images made of partitions, you'd do:
> > >
> > > # dd if=/dev/sda? of=/backup/xen-backup-image.img bs=1M
> > >
> > > (where /dev/sda? is the partition which your
> > > /etc/xen/<xen-config>:disk='phy:.....' refers to.
> > >
> > > Make sense?
> > >
> >
> > Not really,
> >
> > Because the images are not in a partition, They are files.
> > For example I have this:
> > disk = [ "tap:aio:/home/images/NODE1.img,xvda,w" ]
> >
> > perhaps doing:
> >  dd if=/home/images/NODE1.img of=/backup/xen-backup-image.img bs=1M
> >
> > will work?
> >
> > ESG
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> > ==========================================================
> > For more information on the Television New Zealand Group, visit us
> > online at tvnz.co.nz
> > ==========================================================
> > CAUTION:  This e-mail and any attachment(s) contain information that
> > is intended to be read only by the named recipient(s).  This information
> > is not to be used or stored by any other person and/or organisation.
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> ==========================================================
> For more information on the Television New Zealand Group, visit us
> online at tvnz.co.nz
> ==========================================================
> CAUTION:  This e-mail and any attachment(s) contain information that
> is intended to be read only by the named recipient(s).  This information
> is not to be used or stored by any other person and/or organisation.
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux