Re: Partition image on the fly

2006-04-19 Thread IG
: Sent: Tuesday, April 18, 2006 11:15 AM Subject: Partition image on the fly Hi! It is possible to make partition image on the fly? With the system (*Linux server) running? I think in the aproach: At midnigth (less system use), the script remounts partition readonly by some minutes while p

Re: Partition image on the fly

2006-04-19 Thread George Borisov
Digby Tarvin wrote: > On Tue, Apr 18, 2006 at 03:41:26PM +0100, George Borisov wrote: >> Ron Johnson wrote: >>> dd? Only if the restore-partition is the *exact* same size, right? >> Same, or larger. If it is larger then you resize the partition after dd >> to the actual maximum size. We do this wi

Re: Partition image on the fly

2006-04-18 Thread Daniel Webb
On Tue, Apr 18, 2006 at 07:41:59PM +0200, Andreas Rippl wrote: > have you thought about using something like rsync? It will speed up the > process of taking images tremenduously. As you are talking about a diary > backup - I'm not too sure what you mean by that - have you looked at > rsnapshot? He

Re: Partition image on the fly

2006-04-18 Thread Digby Tarvin
On Tue, Apr 18, 2006 at 03:41:26PM +0100, George Borisov wrote: > Ron Johnson wrote: > > > > dd? Only if the restore-partition is the *exact* same size, right? > > Same, or larger. If it is larger then you resize the partition after dd > to the actual maximum size. We do this with NTFS disk imag

Re: Partition image on the fly

2006-04-18 Thread Andrew Sackville-West
On Tue, Apr 18, 2006 at 07:41:59PM +0200, Andreas Rippl wrote: > > #!/bin/bash > > /bin/rm -rf /mnt/sda1/backup/daily.6/ > mv /mnt/sda1/backup/daily.5/ /mnt/sda1/backup/daily.6/ > mv /mnt/sda1/backup/daily.4/ /mnt/sda1/backup/daily.5/ > mv /mnt/sda1/backup/daily.3/ /mnt/sda1/backup/daily.4/ >

Re: Partition image on the fly

2006-04-18 Thread Andreas Rippl
On Tue, Apr 18, 2006 at 11:15:22AM -0300, tomlobato wrote: Content-Description: Mail message body > > Hi! > > > It is possible to make partition image on the fly? With the system (*Linux > server) running? > > I think in the aproach: At midnigth (less system u

Re: Partition image on the fly

2006-04-18 Thread George Borisov
tomlobato wrote: > > It is possible to make partition image on the fly? With the system (*Linux > server) running? > > I think in the aproach: At midnigth (less system use), the script remounts > partition readonly by some minutes while put the output of 'dd if=/d

Re: Partition image on the fly

2006-04-18 Thread George Borisov
Ron Johnson wrote: > > dd? Only if the restore-partition is the *exact* same size, right? Same, or larger. If it is larger then you resize the partition after dd to the actual maximum size. We do this with NTFS disk images all the time, I assume ext2/3 will work just as well. -- George Boriso

Re: Partition image on the fly

2006-04-18 Thread Ron Johnson
On Tue, 2006-04-18 at 11:15 -0300, tomlobato wrote: > Hi! > > > It is possible to make partition image on the fly? With the system (*Linux > server) running? > > I think in the aproach: At midnigth (less system use), the script remounts > partition readonly b

Partition image on the fly

2006-04-18 Thread tomlobato
Hi! It is possible to make partition image on the fly? With the system (*Linux server) running? I think in the aproach: At midnigth (less system use), the script remounts partition readonly by some minutes while put the output of 'dd if=/dev/...' to a file in another HD o