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: Kevin Spicer
Subject: Re: [rdiff-backup-users] Simple use help
Date: 11 Dec 2003 23:33:55 +0000

On Thu, 2003-12-11 at 21:36, Laurent GUERBY wrote:
> Hi,
> 
> I have a list of files and directories I want to backup in a file
> relative to a fixed directory (here /home): 
> 
> $ cat /tmp/list.txt
> user1/.bashrc
> user1/.emacs
> user1/work
> user1/bin
> user2/.emacs
> user2/private
> user2/src/project
> 
> 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 might be wrong.... but I think might be able to do this (using your
existing file)

cd /home; rdiff-backup --include-globbing-filelist /tmp/list.txt
--exclude /home /home /backup

If that doesn't work then this probably will...

Change each line in list.txt to include the full path, then....

rdiff-backup --include-globbing-filelist /tmp/list.txt --exclude /home
/home /backup






reply via email to

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