[Linux-ME] daily backup (incremental backup ) - SOLVED
bipin_mr at yahoo.com
Fri Dec 5 05:23:57 EST 2003
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?
--- Manoj Menon <manojcmenon at yahoo.com> wrote:
> Hi Bipin,
> Perhaps this is totally irrelevant, but how do you
> mount '/mnt/novell' ? ncpfs ?
> --- Bipinchandra Ranpura <bipin_mr at yahoo.com> wrote:
> > I have Novell Netware File server. Which is
> > as /mnt/novell on one of my Linux m/c.
> > I want to take backup of Novell Server to my
> > m/c. I need everyday backup of Novell server to be
> > taken on Linux m/c. I don't want full backup
> > day but I need an incremental backup. I do not
> > 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
> > #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
> > 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
> > create any sub-directory backup-dir (date wise
> > 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
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
More information about the rsync