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