Re: [BackupPC-users] Exclude directories
Hi, Michael Stowe wrote on 2013-05-31 08:21:03 -0500 [Re: [BackupPC-users] Exclude directories]: On each of our samba servers inside of each share is a .deleted folder that all of the files that a user deletes from the share within windows goes to instead of actually being deleted immediately. I do not want to back these up but they are not all in the same path on all the servers. What is the correct syntax to exclude these from the backups? Should */.deleted work? Or will I need to explicitly declare all the paths? $Conf{BackupFilesExclude} = { '*' = [ '*/.deleted' '*/.deleted/*' ] }; strictly, this depends on the XferMethod (which the OP did not mention), but the above looks as though it should mostly work. For rsync(d), the '*/' in the patterns is meaningless except for preventing '.deleted' at the top level within the share to match. Probably the same holds for tar, but I didn't check. As for smb, there always seems to be confusion whether in-/excludes need to contain slashes or backslashes. My memory seems to say backslashes, but I haven't ever used smb XferMethod myself. In any case, it should be possible to use wildcards and *not* list all paths. Again, the syntax of in-/excludes depends on the XferMethod used. Regards, Holger -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ 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] BlackOut during entire days
Hi, Nicolas Cauchie wrote on 2013-05-30 14:36:54 +0200 [[BackupPC-users] BlackOut during entire days]: Hello all, I'm looking for a trick to program a blackout during weekends days (from saturaday morning 00h to sunday night 24h). Results : no backups at all saturadays and sundays. From Google : $Conf{BlackoutPeriods} = [ { hourBegin = 0.0, hourEnd = 24.0, weekDays = [0,7], }, seems to don't work.. Any idea ? usually, this is a result of not having enough good pings, but in this case I'd guess you have a wakeup scheduled for 0:00, and this is when backups are started. You could drop this wakeup from the schedule or shift it by a small amount. Then again, BlackoutPeriods is checked when the backup is *run* (as opposed to *queued*), which would tend to be slightly later than the wakeup anyway - at least for some hosts, unless all are started in parallel. Check your configuration(*). Regards, Holger (*) We can't. We haven't got it. -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ 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] Exclude directories
Sorry I didn't mention the xfer method. All servers use rsync over ssh. I plan to try the above this weekend with the full runs. On Fri, Jun 7, 2013 at 1:24 PM, Holger Parplies wb...@parplies.de wrote: Hi, Michael Stowe wrote on 2013-05-31 08:21:03 -0500 [Re: [BackupPC-users] Exclude directories]: On each of our samba servers inside of each share is a .deleted folder that all of the files that a user deletes from the share within windows goes to instead of actually being deleted immediately. I do not want to back these up but they are not all in the same path on all the servers. What is the correct syntax to exclude these from the backups? Should */.deleted work? Or will I need to explicitly declare all the paths? $Conf{BackupFilesExclude} = { '*' = [ '*/.deleted' '*/.deleted/*' ] }; strictly, this depends on the XferMethod (which the OP did not mention), but the above looks as though it should mostly work. For rsync(d), the '*/' in the patterns is meaningless except for preventing '.deleted' at the top level within the share to match. Probably the same holds for tar, but I didn't check. As for smb, there always seems to be confusion whether in-/excludes need to contain slashes or backslashes. My memory seems to say backslashes, but I haven't ever used smb XferMethod myself. In any case, it should be possible to use wildcards and *not* list all paths. Again, the syntax of in-/excludes depends on the XferMethod used. Regards, Holger -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ 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/ -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j___ 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] Exclude directories
Here is the entry in config.pl after adding it to the web interface. Is this correct? $Conf{BackupFilesExclude} = { '*' = [ '/sys', '/proc', '/dev', '/tmp', '/server', '/mnt', '*.tmp', '.deleted', '.deleted/' ] }; On Fri, Jun 7, 2013 at 3:38 PM, Kameleon kameleo...@gmail.com wrote: Sorry I didn't mention the xfer method. All servers use rsync over ssh. I plan to try the above this weekend with the full runs. On Fri, Jun 7, 2013 at 1:24 PM, Holger Parplies wb...@parplies.de wrote: Hi, Michael Stowe wrote on 2013-05-31 08:21:03 -0500 [Re: [BackupPC-users] Exclude directories]: On each of our samba servers inside of each share is a .deleted folder that all of the files that a user deletes from the share within windows goes to instead of actually being deleted immediately. I do not want to back these up but they are not all in the same path on all the servers. What is the correct syntax to exclude these from the backups? Should */.deleted work? Or will I need to explicitly declare all the paths? $Conf{BackupFilesExclude} = { '*' = [ '*/.deleted' '*/.deleted/*' ] }; strictly, this depends on the XferMethod (which the OP did not mention), but the above looks as though it should mostly work. For rsync(d), the '*/' in the patterns is meaningless except for preventing '.deleted' at the top level within the share to match. Probably the same holds for tar, but I didn't check. As for smb, there always seems to be confusion whether in-/excludes need to contain slashes or backslashes. My memory seems to say backslashes, but I haven't ever used smb XferMethod myself. In any case, it should be possible to use wildcards and *not* list all paths. Again, the syntax of in-/excludes depends on the XferMethod used. Regards, Holger -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ 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/ -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j___ 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] Exclude directories
I hope this doesn't confuse more than help but I had a problem with the = share notation using rsyncd. The system ignored my exclusions. The instructions say that this happens only if you are using smb (as I remember) but not other transfer protocols. I switched to a streight comma delimited list for the include files and cleared the problem. Unless you have Windoz machines I don't think the share notation is needed. Gary R On 06/07/2013 01:41 PM, Kameleon wrote: Here is the entry in config.pl http://config.pl after adding it to the web interface. Is this correct? $Conf{BackupFilesExclude} = { '*' = [ '/sys', '/proc', '/dev', '/tmp', '/server', '/mnt', '*.tmp', '.deleted', '.deleted/' ] }; On Fri, Jun 7, 2013 at 3:38 PM, Kameleon kameleo...@gmail.com mailto:kameleo...@gmail.com wrote: Sorry I didn't mention the xfer method. All servers use rsync over ssh. I plan to try the above this weekend with the full runs. On Fri, Jun 7, 2013 at 1:24 PM, Holger Parplies wb...@parplies.de mailto:wb...@parplies.de wrote: Hi, Michael Stowe wrote on 2013-05-31 08:21:03 -0500 [Re: [BackupPC-users] Exclude directories]: On each of our samba servers inside of each share is a .deleted folder that all of the files that a user deletes from the share within windows goes to instead of actually being deleted immediately. I do not want to back these up but they are not all in the same path on all the servers. What is the correct syntax to exclude these from the backups? Should */.deleted work? Or will I need to explicitly declare all the paths? $Conf{BackupFilesExclude} = { '*' = [ '*/.deleted' '*/.deleted/*' ] }; strictly, this depends on the XferMethod (which the OP did not mention), but the above looks as though it should mostly work. For rsync(d), the '*/' in the patterns is meaningless except for preventing '.deleted' at the top level within the share to match. Probably the same holds for tar, but I didn't check. As for smb, there always seems to be confusion whether in-/excludes need to contain slashes or backslashes. My memory seems to say backslashes, but I haven't ever used smb XferMethod myself. In any case, it should be possible to use wildcards and *not* list all paths. Again, the syntax of in-/excludes depends on the XferMethod used. Regards, Holger -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net mailto: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/ -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ 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/ -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j___ 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/