[BackupPC-users] Backup a single file

2010-06-22 Thread Jonas Meurer
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.

greetings,
 jonas


signature.asc
Description: Digital signature
--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup a single file

2010-06-22 Thread Richard Shaw
On Tue, Jun 22, 2010 at 6:18 AM, Jonas Meurer jo...@freesources.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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup a single file

2010-06-22 Thread Les Mikesell
Richard Shaw wrote:
 On Tue, Jun 22, 2010 at 6:18 AM, Jonas Meurer jo...@freesources.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_

That should work - or you could build a tree of hard links that mirror the 
directory locations of the files you want to back up in each filesystem.

-- 
   Les Mikesell
lesmikes...@gmail.com




--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup a single file

2010-06-22 Thread Jonas Meurer
Hello,

On 22/06/2010 Richard Shaw wrote:
 On Tue, Jun 22, 2010 at 6:18 AM, Jonas Meurer jo...@freesources.org wrote:
  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].

Great, indeed that works. Thanks a lot for the hint.

greetings,
 jonas


signature.asc
Description: Digital signature
--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup a single file

2006-06-26 Thread Nils Breunese (Lemonbit Internet)
Mark Wass wrote:

 What are the setting in the config.pl file I need to set if I want  
 to backup a single file.

 I'm using Rsync and I only want to backup the /etc/temp.ini file

You want to use BackupPC to backup a single file? Wow.

Nils.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup a single file

2006-06-26 Thread David Rees
On 6/22/06, Mark Wass [EMAIL PROTECTED] wrote:

  What are the setting in the config.pl file I need to set if I want to
 backup a single file.

  I'm using Rsync and I only want to backup the /etc/temp.ini file

Have a look at $Conf{BackupFilesOnly}

http://backuppc.sourceforge.net/faq/BackupPC.html#item_%24conf%7bbackupfilesonly%7d

-Dave

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/