Ok, I did successfully a full backup in specifying the 2 directories what 
I wanted to save.
But, now, I would to save 2 specifics directories ('e$\data' and 
'e$\notes\data') and in one ('e$\notes\data') I would like to filter
the files or the type of file what I want to save. For information, I'm 
using Samba.

This is my configuration of $Conf{BackupFilesOnly} :

$Conf{BackupFilesOnly} = {
 '*/notes/data' => [
      '*.id',
     'names.nsf'
],
 '*' => [
    'Data'
]
};

So I would like to save all files which are in e$\data as (it's working) :

'*' => [
        'Data'
] 

And for 'e$\notes\data' I tested this command but it doesn't work (and it 
doesn't work) :

 '*/notes/data' => [
      '*.id',
     'names.nsf'
]

Have you got the correct syntaxe ?

Thanks a lot.
Regards,

Romain





Matt Miller <[EMAIL PROTECTED]> 
03/10/2007 14:48

A
Romain PICHARD/Mondeville/VIC/[EMAIL PROTECTED]
cc
"[email protected]" 
<[email protected]>
Objet
Re: [BackupPC-users]  Including .excluding directories






-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] wrote:
> 
> Now, in my case, all backups (full / Inc / Patial) work and restore too.
> I've got a question about directories that I want to back up.
> I would like to know if it's possible to save the administrative share "
> e$ " in including or excluding several directories ?
> 
> Via the web interface or config.pl I can see that it's possible with
> files but now, I would like to know if it's possible with several
> directories.
> 
> For example :
> 
> - e$
> -- Data  (I would like to save it)
> -- Documents and Settings (I DON'T want to save it)
> -- notes
>     |
>     ----data (I would like to save just several files in e\notes\data
> but not all)
> 
> Thanks a lot for your help.
> 
> Romain

If I'm understanding the question correctly, this is easily done. I
don't know what transfer method you are using for backups and your
strategy may vary depending.
We use rsync for backups and only want to back up certain folders, but
not others. This can be done by sharing the parent folder with rsync on
the client and then limiting which folders inside get backed up with
each pc's config.pl on the server.
In your case you would share e$ with rsync and then limit it to Data and
 the specific files in notes/data that you want.

So here's the relevant part of the client's rsync.conf we use.

   [DocumentsAndSettings]
        path = C:/Documents and Settings/<username>/
        comment = stuff to back up

but we don't need to back up all of a users files (ie: music, videos,
etc..), only work related.
So on the backuppc server, that pc's config.pl might look something like
this:

$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncdUserName} = 'backuppc';
$Conf{RsyncdPasswd} = '<password>';
$Conf{RsyncShareName} = 'DocumentsAndSettings';
$Conf{BackupFilesOnly} = ['My Documents', 'Desktop'];

$Conf{BackupFilesOnly} tells backuppc which files and folders to backup.
In this case we're backing up 'My Documents' and the 'Desktop'.
I've already globally excluded a bunch of file types (.mp3, .avi, .jpg,
.exe, etc...) in the server's config.pl so we don't get any music,
movies, pictures, installers, etc backed up.
There's pretty extensive documentation in the cygwin/rsyncd package on
sourceforge
(http://sourceforge.net/project/showfiles.php?group_id=34854) to help
you write your own.

I hope this helps.

- --
- - Matt Miller -
Solutions for Progress
728 South Broad Street
Philadelphia, PA  19146
215-701-6108 (v)
215-972-8109 (f)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHA4+GCg+4SLjWLD0RAsk7AJ97ucw36D1BUGTJUKShrWxmRwterACfX8dI
MsJlMp/PDeIPYnI1O8LAdRk=
=z2Nz
-----END PGP SIGNATURE-----



 
SC2N -S.A  Siège Social : 2, Rue Andre Boulle - 94000 Créteil  - 327 153 
722 RCS Créteil

 

"This e-mail message is intended only for the use of the intended
recipient(s).
The information contained therein may be confidential or privileged, and
its disclosure or reproduction is strictly prohibited.
If you are not the intended recipient, please return it immediately to its
sender at the above address and destroy it."

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to