[Klug-general] Slick CLI entry for incremental backup?

Peter Childs peterachilds at gmail.com
Tue Jun 16 11:40:58 UTC 2009


2009/6/16 Michael E. Rentell <michael.rentell at ntlworld.com>:
> Good morning all,
>
> I keep an exact copy of my data files (all of /home/mick - including all
> the hidden dot files) on my old machine which is networked under NFS.
> Seems to work but takes a long time.
>
> I use Mandriva 2008 (2009 yukky) but the backup software provided isn't
> for me (actually I'm baffled by the compression etc).
>
> Is there a single CLI entry I can put into a konsole which will take
> every file in /home/mick and copy it to /mnt/backups (which is the
> networked drive on the other machine) but actually copy over and
> overwrite only files which have changed?
>
> Doing a complete backup takes hours (lotta data) but most actually
> hasn't changed.
>
> Any ideas gratefully received.
>

rsync -a  /home/mick /mnt/backups

should do the trick. but you will probably want to check what flags do
what... and may what to add v (verbose) to see whats actually going
on. The first sync may take a while but after that it should run nice
and quick.

Peter.



More information about the Kent mailing list