rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Simple use help


From: Nathaniel Smith
Subject: Re: [rdiff-backup-users] Simple use help
Date: Thu, 11 Dec 2003 15:29:19 -0800
User-agent: Mutt/1.5.4i

On Thu, Dec 11, 2003 at 10:36:55PM +0100, Laurent GUERBY wrote:
> Up to now I used 
> 
> $ cd /home; tar cfz /mnt/drive/backup-YYYYMMDD.tgz $(cat /tmp/list.txt)
> 
> to backup data, and I'd like to use rdiff-backup to do the work.

I think you want to do something like

  $ rdiff-backup /home /mnt/drive/home-backup \
      --include-filelist /tmp/list.txt --exclude '**'

i.e., backup /home, by default excluding everything, except those
files which match some line of /tmp/list.txt.  (You might want to
review the manpage to make sure that you don't need to add globs to
your filelist or the like; I don't recall the details of how that
works.)

-- Nathaniel

-- 
"...these, like all words, have single, decontextualized meanings: everyone
knows what each of these words means, everyone knows what constitutes an
instance of each of their referents.  Language is fixed.  Meaning is
certain.  Santa Claus comes down the chimney at midnight on December 24."
  -- The Language War, Robin Lakoff




reply via email to

[Prev in Thread] Current Thread [Next in Thread]