probably then setting up a little tar job to backup those files into /root is the easiest. rsyncd is preferred for me because you can define multiple shares with different includes/excludes. You can also secure rsyncd by setting "hosts allow" in the clients rsyncd.conf.

Would need more info on your rsync options and settings to look further.

Regards,

Les

Ed Burgstaler wrote:
Sorry for not stating it Les. But I'm using rsync not rsyncd.


From: Les Stott [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 28, 2005 6:48 PM
To: Ed Burgstaler
Cc: [email protected]
Subject: Re: [BackupPC-users] Backing up a single file off of root



Ed Burgstaler wrote:
I'm currently backing up /home,/root, /etc and so on ...
But I would like to backup two single files that are off of / and I keep getting the "not a directory" error.
 
Appreciate any input
i gather your using rsyncd to do this and using seperate share names for home rooo and etc?

if so you could define a fourth share and setup a BackupFilesOnly directive like so...

 
$Conf{BackupFilesOnly} = {
       'root' => ['filname1', 'filename2'],      # these are for the root share only
    };

However it may not be desirabe to share at root level so heres another way...

setup a cronjob to tar the files into /root, which does get backed up. Schedule it to suit your backup needs. If the files are mostly static then you probably only need to run this once a night.

Hope that helps.

Regards,

Les

Reply via email to