From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <138575260903100719m1a3001bdld235cf0ae26f059d@mail.gmail.com> References: <138575260903100719m1a3001bdld235cf0ae26f059d@mail.gmail.com> Date: Tue, 10 Mar 2009 09:32:11 -0600 Message-ID: From: Latchesar Ionkov To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] venti conf Topicbox-Message-UUID: b87df11e-ead4-11e9-9d60-3106f5b1d025 I use vac (and sometimes vacfs) on my Linux. archdir=/archives/`date +%Y/%m/%d`/$archbase mkdir -p $archdir lastvac=`find /archives -name $archname-*.vac 2>/dev/null | sort | tail -1` if [ "x$lastvac" != "x" ] ; then d="-d $lastvac" else d="" fi thisvac=$archname-`date +%Y-%m-%d`.vac vac $d -f /tmp/$thisvac $* && mv -f /tmp/$thisvac $archdir/$thisvac && \ vac -m -f /archives/archives.vac `find /archives -maxdepth 1 -mindepth 1 -type d` If I mount /archives/archives.vac with vacfs I see tree similar to the one in plan9 (/2008/12/24/...). I can also mount particular day using the /archives/2008/12/24/*.vac score. Lucho On Tue, Mar 10, 2009 at 8:19 AM, hugo rivera wrote: > Hello, > I am a little confused about setting up venti (on linux). > I followed the instructions found on the wiki, and venti is up. But > now I am lost; as far as I understood (from the man pages) I have to > run vac every time I want to backup something and then unvac it every > time I want to recover it, right? I heard many times, here and > elsewhere, that you can configure venti to perform a backup of the > whole system say at 3:00 am, then am I supposed to create some kind of > rc script to do this (using vac, of course)? and where yesterday fits > into this? I feel that I am missing a big part here. I want to be able > to backup my home directory every day at 3:00 am. > Sorry if the question has an obvious answer, but I cannot see the > whole venti picture yet. > -- > Hugo > >