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

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

Re: [rdiff-backup-users] How do I backup only one file ?


From: Andreas Olsson
Subject: Re: [rdiff-backup-users] How do I backup only one file ?
Date: Tue, 9 Feb 2010 15:14:25 +0100
User-agent: KMail/1.12.2 (Linux/2.6.31-19-generic; KDE/4.3.2; x86_64; ; )

On Tuesday 09 February 2010 10:10:08 peters wrote:
> Could someone give me the command line to back up only one file (let's say
>  /etc/passwd) ?

rdiff-backup --include=/etc/passwd --exclude='**' /etc/ /destination/path

That is, you do one explicit include, followed by excluding everything else.

// Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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