BackupPC-users

Re: [BackupPC-users] Problem with Full Backups and Exclussions

2015-01-05 11:24:04
Subject: Re: [BackupPC-users] Problem with Full Backups and Exclussions
From: Michelle Dupont <Michelle.Dupont AT ulg.ac DOT be>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 5 Jan 2015 17:22:35 +0100 (CET)
On Mon, 5 Jan 2015, Francisco Suarez wrote:

Thanks Michelle,
I'm not sure I understand well how the exclusions work still. Only need to all content exclude 
these directories. When you say share do you mean share's already entered under 
"RsyncShareName" for example "/home".

Yes, it is.

If you define 2 RsyncShareName :
/home
/var

and you don't want to save the folder called "cache" in /home and the folder called "log" in /var

then you have to add 2 keys in BackupFilesExclude:
- first key: "/home" and you add it "cache" as exclusion
- second key: "/var" and you add it "log" as exclusion

Best regards,
M




Which of these will accomplish the desired result to exclude content on the 
directories listed?

$Conf{BackupFilesExclude} = {
  '/' => [
    '/home/theplans/log/*',
    '/home/run/positions/trace/*',
    '/home/hun/res/received/*',  
  ]
};

previously had this:

$Conf{BackupFilesExclude} = {
  '*' => [
    '/home/theplans/log/',
    '/home/run/positions/trace/',
    '/home/hun/res/received/',  
  ]
};


Francis Suarez 
Snr PHP Developer
WIHP
wihphotels.com 
3031 N Rocky Point Dr, Ste 575
Tampa, FL 33607 
813-513-9841 OFFICE 

On Mon, Jan 5, 2015 at 10:21 AM, Michelle Dupont <Michelle.Dupont AT ulg.ac DOT 
be> wrote:
      Hi,

      On Mon, 5 Jan 2015, Francisco Suarez wrote:

            I've recently started having problems with full backup on one host.

            I changed the exclusions list thinking this could be the issue, it still 
finishing up "partial" status.

            Is this the correct method to exclude?

            $Conf{BackupFilesExclude} = {
              '/' => [
                '/home/theplans/log/*',
                '/home/run/positions/trace/*',
                '/home/hun/res/received/*',  
              ]
            };

            previously had this:

            $Conf{BackupFilesExclude} = {
              '*' => [
                '/home/theplans/log/',
                '/home/run/positions/trace/',
                '/home/hun/res/received/',  
              ]
            };


If you precise a * in the key field then your exclusions are applied for all 
shares.

If you have any different exclusions by share, so you have to write the same 
sharename in the Key field as your Xfer sharename for which the exclusions are 
applied.

Best,
M



Michelle Dupont
UDI de la Faculté des Sciences - UNIPC
Universite de Liège
Institut de Physique - B5
Sart Tilman
4000 LIEGE

Tél: 04/366.29.06
Fax: 04/242.79.52 ou 04/366.29.33
Email: michelle.dupont AT ulg.ac DOT be
WWW: http://www.unipc.ulg.ac.be (intranet)
WWW: http://www.unipcfs.ulg.ac.be/ (internet)
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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/





Michelle Dupont
UDI de la Faculté des Sciences - UNIPC
Universite de Liège
Institut de Physique - B5
Sart Tilman
4000 LIEGE

Tél: 04/366.29.06
Fax: 04/242.79.52 ou 04/366.29.33
Email: michelle.dupont AT ulg.ac DOT be
WWW: http://www.unipc.ulg.ac.be (intranet)
WWW: http://www.unipcfs.ulg.ac.be/ (internet)
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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/