BackupPC-users

Re: [BackupPC-users] Backup a single file

2010-06-22 08:53:52
Subject: Re: [BackupPC-users] Backup a single file
From: Richard Shaw <hobbes1069 AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 22 Jun 2010 07:51:36 -0500
On Tue, Jun 22, 2010 at 6:18 AM, Jonas Meurer <jonas AT freesources DOT org> 
wrote:
> Hello,
>
> I would like to backup a single file from a huge directory.
> Unfortunately it's neither possible to store the file in a subdirectory,
> nor to backup the whole directory. The file in question is a self-
> compiled library which needs to be stored in /usr/lib.
>
> Currently I hardlink the library file to a subdir in /root, which is
> backupped anyway. But in order to make system restore easier in case of
> a crash, I'd like to backup all non-package data at the exact same place
> as on the system.
>
> Is it possible to backup a single file at all? If i give the file as
> argument to $Conf{RsyncShareName}, backuppc exits with an error.
>
> I found nothing regarding this question in either backuppc documentation
> or list archives.

You'll still need to specify the share name as the directory but then
also specify the specific file to backup using the BackupFilesOnly
configuration setting[1].

Richard

[1] 
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_backupfilesonly_

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>