On Fri, Feb 19, 2010 at 09:49:35PM +0100, Jean-Francois wrote:

> Le Vendredi 19 Fivrier 2010 21:15:46, Otto Moerbeek a icrit :
> > On Thu, Feb 18, 2010 at 11:51:23PM +0100, Jean-Francois wrote:
> > > Le Jeudi 18 Fivrier 2010 23:43:38, Adriaan a icrit :
> > > > On Thu, Feb 18, 2010 at 11:21 PM, Jean-Francois <jfsimon1...@gmail.com>
> > > > wrote:
> > > >
> > > > [snip]
> > > >
> > > > > My dump level 1 dumps all the files again. How to let it dump based
> > > > > on the lower level ?
> > > > >
> > > > > I did as follows :
> > > > > sudo dump -0ua -f /mnt/tera/backup/2010.02.18_www.0 /var/www/htdocs/
> > > > > sudo dump -0ua -f /mnt/tera/backup/2010.02.18_www.1 /var/www/htdocs/
> > > >
> > > > You did two level 0 dumps, so what else you expect ?;)
> > >
> > > Mistyped the mail. I proceed in this way and get two times the same dump.
> > > Is it normal ?
> > > sudo dump -0ua -f /mnt/tera/backup/2010.02.18_www.0 /var/www/htdocs/
> > > sudo dump -1ua -f /mnt/tera/backup/2010.02.18_www.1 /var/www/htdocs/
> >
> > Show your dump output. Of both runs.
> >
> >     -Otto
> 
> Not sure to understand the subtle of the man page explanations regarding the
> dump of different nature of mount points.
> 
> Just one additional information, the dump of higher levels work when I dump
> /var but not /var/htdocs.
> 
> $ sudo dump -0ua -f /mnt/tera/backup/2010.02.18_www.0 /var/www/htdocs/
>   DUMP: Ignoring u flag for subdir dump
>   DUMP: Dumping sub files/directories from /var
>   DUMP: Dumping file/directory /var/www/htdocs/
>   DUMP: Date of this level 0 dump: Fri Feb 19 21:47:18 2010
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /dev/rwd0g (/var) to /mnt/tera/backup/2010.02.18_www.0
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 188530 tape blocks.
>   DUMP: Volume 1 started at: Fri Feb 19 21:47:21 2010
>   DUMP: dumping (Pass III) [directories]
>   DUMP: dumping (Pass IV) [regular files]
>   DUMP: 196284 tape blocks on 1 volume
>   DUMP: Date of this level 0 dump: Fri Feb 19 21:47:18 2010
>   DUMP: Volume 1 completed at: Fri Feb 19 21:47:33 2010
>   DUMP: Volume 1 took 0:00:12
>   DUMP: Volume 1 transfer rate: 16357 KB/s
>   DUMP: Date this dump completed:  Fri Feb 19 21:47:33 2010
>   DUMP: Average transfer rate: 16357 KB/s
>   DUMP: Closing /mnt/tera/backup/2010.02.18_www.0
>   DUMP: DUMP IS DONE
> $ sudo dump -1ua -f /mnt/tera/backup/2010.02.18_www.1 /var/www/htdocs/
>   DUMP: Ignoring u flag for subdir dump
>   DUMP: Subdir dump is done at level 0

There you go.

Incremental dumps should be done at the filessytem level. 

        -Otto

>   DUMP: Dumping sub files/directories from /var
>   DUMP: Dumping file/directory /var/www/htdocs/
>   DUMP: Date of this level 0 dump: Fri Feb 19 21:47:36 2010
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /dev/rwd0g (/var) to /mnt/tera/backup/2010.02.18_www.1
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 188530 tape blocks.
>   DUMP: Volume 1 started at: Fri Feb 19 21:47:39 2010
>   DUMP: dumping (Pass III) [directories]
>   DUMP: dumping (Pass IV) [regular files]
>   DUMP: 196284 tape blocks on 1 volume
>   DUMP: Date of this level 0 dump: Fri Feb 19 21:47:36 2010
>   DUMP: Volume 1 completed at: Fri Feb 19 21:47:51 2010
>   DUMP: Volume 1 took 0:00:12
>   DUMP: Volume 1 transfer rate: 16357 KB/s
>   DUMP: Date this dump completed:  Fri Feb 19 21:47:51 2010
>   DUMP: Average transfer rate: 16357 KB/s
>   DUMP: Closing /mnt/tera/backup/2010.02.18_www.1
>   DUMP: DUMP IS DONE
> 
> $ sudo dump -0ua -f /mnt/tera/backup/2010.02.18_www.0 /var
>   DUMP: Date of this level 0 dump: Fri Feb 19 21:47:58 2010
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /dev/rwd0g (/var) to /mnt/tera/backup/2010.02.18_www.0
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 313894 tape blocks.
>   DUMP: Volume 1 started at: Fri Feb 19 21:48:01 2010
>   DUMP: dumping (Pass III) [directories]
>   DUMP: dumping (Pass IV) [regular files]
>   DUMP: 334448 tape blocks on 1 volume
>   DUMP: Date of this level 0 dump: Fri Feb 19 21:47:58 2010
>   DUMP: Volume 1 completed at: Fri Feb 19 21:48:22 2010
>   DUMP: Volume 1 took 0:00:21
>   DUMP: Volume 1 transfer rate: 15926 KB/s
>   DUMP: Date this dump completed:  Fri Feb 19 21:48:22 2010
>   DUMP: Average transfer rate: 15926 KB/s
>   DUMP: level 0 dump on Fri Feb 19 21:47:58 2010
>   DUMP: Closing /mnt/tera/backup/2010.02.18_www.0
>   DUMP: DUMP IS DONE
> $ sudo dump -1ua -f /mnt/tera/backup/2010.02.18_www.1 /var
>   DUMP: Date of this level 1 dump: Fri Feb 19 21:48:29 2010
>   DUMP: Date of last level 0 dump: Fri Feb 19 21:47:58 2010
>   DUMP: Dumping /dev/rwd0g (/var) to /mnt/tera/backup/2010.02.18_www.1
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 601 tape blocks.
>   DUMP: Volume 1 started at: Fri Feb 19 21:48:33 2010
>   DUMP: dumping (Pass III) [directories]
>   DUMP: dumping (Pass IV) [regular files]
>   DUMP: 413 tape blocks on 1 volume
>   DUMP: Date of this level 1 dump: Fri Feb 19 21:48:29 2010
>   DUMP: Volume 1 completed at: Fri Feb 19 21:48:33 2010
>   DUMP: Date this dump completed:  Fri Feb 19 21:48:33 2010
>   DUMP: Average transfer rate: 0 KB/s
>   DUMP: level 1 dump on Fri Feb 19 21:48:29 2010
>   DUMP: Closing /mnt/tera/backup/2010.02.18_www.1
>   DUMP: DUMP IS DONE

Reply via email to