[Linux-ME] daily backup (incremental backup ) - SOLVED
Bipinchandra Ranpura
bipin_mr at yahoo.com
Fri Dec 5 05:23:57 EST 2003
Dear Manoj,
Have found out the mistake in my script.
One must create directory if he/she wants to move old
files to backup directory. In my script I was not
creating any new backup-dir(datewise), therefore
despite of have -b --backup-dir flags it was not
working. This means
rsync can only create automatically new direcotry for
destination but not backup-dir !!!!
Am I correct?
Bipin
--- Manoj Menon <manojcmenon at yahoo.com> wrote:
> Hi Bipin,
>
> Perhaps this is totally irrelevant, but how do you
> mount '/mnt/novell' ? ncpfs ?
>
> Regards,
> Manoj.C
>
> --- Bipinchandra Ranpura <bipin_mr at yahoo.com> wrote:
> > I have Novell Netware File server. Which is
> mounted
> > as /mnt/novell on one of my Linux m/c.
> > I want to take backup of Novell Server to my
> Linux
> > m/c. I need everyday backup of Novell server to be
> > taken on Linux m/c. I don't want full backup
> every
> > day but I need an incremental backup. I do not
> want
> > to delete any old directory or files.
> >
> > I have taken script from rsync examples, and made
> > changes. . But it doesn`t work can someone help
> me.
> >
> > #directory to backup (source)
> > /mnt/novell
> > # novell server mounted everyday just for backup
> > purpose
> >
> > #directory on which backup back to be
> > taken(destination)
> > BSERVER=/home/bipin/
> >
> > #sub-directory date wise for everyday's
> incremental
> > backup???
> > BACKUPDIR=`date +%Y%m%d`
> >
> > OPTS="--backup --backup-dir=/home/bipin/$BACKUPDIR
> > -a"
> >
> > rsync $OPTS $BDIR $BSERVER/current
> >
> > above command creates directory current but
> doesnot
> > create any sub-directory backup-dir (date wise
> where
> > only latest updated or newly created files get
> > backedup). Can I get some guidance.
> >
> > Thanking you in advance.
> >
> > Bipin
>
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
>
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
More information about the rsync
mailing list