Date: Wed, 30 Jun 2004 18:42:01 +0200 (CEST) From: Cordula's Web <cpghost@cordula.ws> To: pieckiel+freebsd-questions@sdf.lonestar.org Cc: freebsd-questions@freebsd.org Subject: Re: Snapshot question Message-ID: <20040630164201.059D84AC32@fw.farid-hajji.net> In-Reply-To: <20040629154746.GC27491@SDF.LONESTAR.ORG> (pieckiel%2Bfreebsd-questions@sdf.lonestar.org) References: <20040629135105.GB27491@SDF.LONESTAR.ORG> <20040629154746.GC27491@SDF.LONESTAR.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
[Does a snapshot change between backup and verify?] http://docs.freebsd.org/cgi/mid.cgi?20040629135105.GB27491 Kevin A. Pieckiel wrote: > cd / > mksnap_ffs /var /var/.snap/backup.snap > mdconfig -a -t vnode -f /var/.snap/backup.snap -u 6 > mount -r /dev/md6 /mnt/backup/root.var > tar -cvf ${BACKUP_DEVICE} --totals --preserve \ > --blocking-factor ${BACKUP_BLOCKSIZE} --block-number --multi-volume \ > --new-volume-script ${PROGROOT}/next.sh \ > --newer-mtime "${TIMESTAMP}" ${BACKUP_FLAGS} \ > ${BACKUP_PATHS} >> ${LOGFILE} 2>&1 > tar --compare -f ${BACKUP_DEVICE} --blocking-factor ${BACKUP_BLOCKSIZE} \ > --multi-volume --new-volume-script ${PROGROOT}/next.sh >> ${COMPAREFILE} 2>&1 > umount /mnt/backup/root.var > mdconfig -d -u 6 > rm -f /var/.snap/backup.snap > > Here, BACKUP_PATHS is set as follows: > > BACKUP_PATHS="/mnt/backup" Strange. I can't reproduce this bug. All snapshots I'm taking on a very active FS are still 100% stable. Since you're mounting the snapshot read-only, nothing _should_ change. Anyone else experiencing this behaviour? -cpghost. -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040630164201.059D84AC32>