Re: [BackupPC-users] Excluding files from BackupPC

2017-07-12 Thread Michael Stowe

On 2017-07-12 13:03, Jeffrey West wrote:

So I added one entry

‘cygwin64’,

Also tried

‘/cygwin64’,

Also tried

‘”cygwin64”’

Also tried

‘”/cygwin64”’

Restarted the service after trying all of these and it still shows
this when I backup and it is backing up the C:\cygwin64 directory.


Something's funny about that, and I can't say I'm sure what, but I think 
it might be instructive to examine the smbclient command line, e.g.:



/usr/bin/smbclient \\l-jwest17b.corpnet.com [2] [1]\C$ -U
corpnet\backup -E -d 1 -c tarmode full -TcrX – /Document 


The -rX should mean "use regex excludes, and here's the list" -- I can't 
say I know what that "-" is doing in there.  smbclient is ultimately the 
one handling the exclusions, so it does matter, for example, whether or 
not it's compiled to handle regexes in excludes (it will behave 
differently.)


In your fairly straightforward case, I doubt regexes are the issue, but 
it may be something else on the command line, like the exclusions are 
being overridden by inclusions, or ignored for some other reason.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Excluding files from BackupPC

2017-07-12 Thread Jeffrey West via BackupPC-users
So I added one entry



‘cygwin64’,



Also tried



‘/cygwin64’,



Also tried



‘”cygwin64”’



Also tried



‘”/cygwin64”’



Restarted the service after trying all of these and it still shows this
when I backup and it is backing up the C:\cygwin64 directory.



  pool 644   0/04517
cygwin64/usr/share/groff/1.22.3/font/devdvi/TITC

  pool 644   0/06821
cygwin64/usr/share/groff/1.22.3/font/devdvi/TR

  pool 644   0/0   37225
cygwin64/usr/share/groff/1.22.3/font/devdvi/TREC

  pool 644   0/03877
cygwin64/usr/share/groff/1.22.3/font/devdvi/TRTC

  create   755   0/0   0
cygwin64/usr/share/groff/1.22.3/font/devhtml

  pool 644   0/0   25106
cygwin64/usr/share/groff/1.22.3/font/devhtml/B

  pool 644   0/0   25107
cygwin64/usr/share/groff/1.22.3/font/devhtml/BI

  pool 644   0/0   25092
cygwin64/usr/share/groff/1.22.3/font/devhtml/CB

  pool 644   0/0   25093
cygwin64/usr/share/groff/1.22.3/font/devhtml/CBI

  pool 644   0/0   25092
cygwin64/usr/share/groff/1.22.3/font/devhtml/CI

  pool 644   0/0   25107
cygwin64/usr/share/groff/1.22.3/font/devhtml/CR

  pool 644   0/0 220
cygwin64/usr/share/groff/1.22.3/font/devhtml/DESC

  pool 644   0/0   25106
cygwin64/usr/share/groff/1.22.3/font/devhtml/I

  pool 644   0/0   25091
cygwin64/usr/share/groff/1.22.3/font/devhtml/R

  pool 644   0/0   25091
cygwin64/usr/share/groff/1.22.3/font/devhtml/S

  create   755   0/0   0
cygwin64/usr/share/groff/1.22.3/font/devlatin1

  pool 644   0/03651
cygwin64/usr/share/groff/1.22.3/font/devlatin1/B

  pool 644   0/03652
cygwin64/usr/share/groff/1.22.3/font/devlatin1/BI

  pool 644   0/0  88
cygwin64/usr/share/groff/1.22.3/font/devlatin1/DESC

  pool 644   0/03651
cygwin64/usr/share/groff/1.22.3/font/devlatin1/I

 pool 644   0/03636
cygwin64/usr/share/groff/1.22.3/font/devlatin1/R

  create   755   0/0   0
cygwin64/usr/share/groff/1.22.3/font/devlbp

  pool 644   0/07033
cygwin64/usr/share/groff/1.22.3/font/devlbp/CB

  pool 644   0/07033
cygwin64/usr/share/groff/1.22.3/font/devlbp/CI

  pool 644   0/07033
cygwin64/usr/share/groff/1.22.3/font/devlbp/CR

  pool 644   0/0 180
cygwin64/usr/share/groff/1.22.3/font/devlbp/DES



Any other ideas?  I cannot seem to exclude folders.



Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216 <(321)%20296-7724>
Direct 407-542-7697 <(407)%20542-7697>
Cell407-925-7030 <(407)%20925-7030>
www.riptidesoftware.com



*From:* Michael Stowe [mailto:mst...@chicago.us.mensa.org]
*Sent:* Wednesday, July 12, 2017 1:44 PM
*To:* General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
*Cc:* Jeffrey West ; helpdesk <
helpd...@riptidesoftware.com>
*Subject:* Re: [BackupPC-users] Excluding files from BackupPC



On 2017-07-12 12:25, Jeffrey West via BackupPC-users wrote:

All,

I am having a major issue with BackupPC. I first tried using
BackupFilesOnly to restrict backups to just the C:\Users directory, but I
needed to exclude some files and since the first overrides the second I
decided to try just using the ExcludeFiles directive. I am using the
following.

$Conf{BackupFilesExclude} = {

#Windows 7 Specific

'*' => [

#7/Vista junction points

'/Documents and Settings',

'/ProgramData/Application Data',

'/ProgramData/Desktop',

'/ProgramData/Documents',

'/ProgramData/Favorites',

'/ProgramData/Start Menu',

'/ProgramData/Templates',

'/Users/All Users',

'/Users/Users/Default User',

'/Users/Users/All Users/Application Data',

'/Users/Users/All Users/Desktop',

'/Users/All Users/Documents',

'/Users/All Users/Favorites',

'/Users/All Users/Start Menu',

'/Users/All Users/Templates',

#Junction points common to every user profile

'/Users/*/Application Data',

'/Users/*/Cookies',

'/Users/*/Local Settings',

'/Users/*/My Documents',

'/Users/*/NetHood',

'/Users/*/PrintHood',

'/Users/*/Recent',

'/Users/*/SendTo',

'/Users/*/Start Menu',

'/Users/*/Templates',

'/Users/*/AppData/Local/Application Data',

'/Users/*/AppData/Local/History',

'/Users/*/AppData/Local/Temporary Internet Files',

'/Users/*/Documents/My Music',

'/Users/*/Documents/My Pictures',

'/Users/*/Documents/My Videos',

#Temporary and in-use user data

'/Users/*/AppData/Local/Microsoft/Windows/Temporary Internet

Files',

'/Users/*/AppData/Local/Temp&#

Re: [BackupPC-users] Excluding files from BackupPC

2017-07-12 Thread Michael Stowe

On 2017-07-12 12:25, Jeffrey West via BackupPC-users wrote:

All,

I am having a major issue with BackupPC.  I first tried using
BackupFilesOnly to restrict backups to just the C:\Users directory,
but I needed to exclude some files and since the first overrides the
second I decided to try just using the ExcludeFiles directive.  I am
using the following.

$Conf{BackupFilesExclude} = {

  #Windows 7 Specific

  '*' => [

#7/Vista junction points

'/Documents and Settings',

'/ProgramData/Application Data',

'/ProgramData/Desktop',

'/ProgramData/Documents',

'/ProgramData/Favorites',

'/ProgramData/Start Menu',

'/ProgramData/Templates',

'/Users/All Users',

'/Users/Users/Default User',

'/Users/Users/All Users/Application Data',

'/Users/Users/All Users/Desktop',

'/Users/All Users/Documents',

'/Users/All Users/Favorites',

'/Users/All Users/Start Menu',

'/Users/All Users/Templates',

#Junction points common to every user profile

'/Users/*/Application Data',

'/Users/*/Cookies',

'/Users/*/Local Settings',

'/Users/*/My Documents',

'/Users/*/NetHood',

'/Users/*/PrintHood',

'/Users/*/Recent',

'/Users/*/SendTo',

'/Users/*/Start Menu',

'/Users/*/Templates',

'/Users/*/AppData/Local/Application Data',

'/Users/*/AppData/Local/History',

'/Users/*/AppData/Local/Temporary Internet Files',

'/Users/*/Documents/My Music',

'/Users/*/Documents/My Pictures',

'/Users/*/Documents/My Videos',

#Temporary and in-use user data

'/Users/*/AppData/Local/Microsoft/Windows/Temporary Internet
Files',

'/Users/*/AppData/Local/Temp',

'/Users/*/NTUSER.DAT*',

'/Users/*/ntuser.dat*',

'/Users/*/AppData/Local/Microsoft/Windows/UsrClass.dat*',

'/Users/*/AppData/Local/Microsoft/Windows
Defender/FileTracker',


'/Users/*/AppData/Local/Microsoft/Windows/Explorer/thumbcache_*.db',

'/Users/*/AppData/Local/Microsoft/Windows/WER',

'/Users/*/AppData/Local/lxss',

'/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/Cache',


'/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/OfflineCache',

'/Users/*/AppData/Roaming/Microsoft/Windows/Cookies',

'/Users/*/AppData/Roaming/Microsoft/Windows/Recent',

'ProgramData/Microsoft/Search',

'ProgramData/Microsoft/Windows Defender',

'*.lock',

‘*.so’,

'Thumbs.db',

'IconCache.db',

'Cache*',

'cache*',

#Installation folders and system data

'/Program Files',

'/Windows',

'/$Recycle.Bin',

'/MSOCache',

'/System Volume Information',

'/Boot',

'/autoexec.bat',

'/bootmgr',

'/BOOTSECT.BAK',

'/config.sys',

'/hiberfil.sys',

'/pagefile.sys'

  ]

};

I restarted the BackupPC service and I am manually running a backup
using

/usr/share/BackupPC/bin/BackupPC_dump -v -f l-jwest17b.corpnet.com [1]

I am seeing this when backing up.

lla/ui/ui_template_buttons.json

  pool 644   0/0   10999 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/ui_template_dialogs.json

  pool 644   0/0   11641 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/ui_template_toggles.json

  pool 644   0/0   23160 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/world_templates_screen.json

  pool 644   0/06236 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/xbl_failed.json

  pool 644   0/05523 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/xbl_first_launch.json

  pool 644   0/05980 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/xbl_optional_signin.json

  pool 644   0/02796 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/_ui_defs.json

  create   755   0/0   0 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music

  pool 644   0/0 440 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/pack_manifest.json

  create   755   0/0   0 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/sounds

  create   755   0/0   0 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.

[BackupPC-users] Excluding files from BackupPC

2017-07-12 Thread Jeffrey West via BackupPC-users
All,



I am having a major issue with BackupPC.  I first tried using
BackupFilesOnly to restrict backups to just the C:\Users directory, but I
needed to exclude some files and since the first overrides the second I
decided to try just using the ExcludeFiles directive.  I am using the
following.



$Conf{BackupFilesExclude} = {

  #Windows 7 Specific

  '*' => [

#7/Vista junction points

'/Documents and Settings',

'/ProgramData/Application Data',

'/ProgramData/Desktop',

'/ProgramData/Documents',

'/ProgramData/Favorites',

'/ProgramData/Start Menu',

'/ProgramData/Templates',

'/Users/All Users',

'/Users/Users/Default User',

'/Users/Users/All Users/Application Data',

'/Users/Users/All Users/Desktop',

'/Users/All Users/Documents',

'/Users/All Users/Favorites',

'/Users/All Users/Start Menu',

'/Users/All Users/Templates',



#Junction points common to every user profile

'/Users/*/Application Data',

'/Users/*/Cookies',

'/Users/*/Local Settings',

'/Users/*/My Documents',

'/Users/*/NetHood',

'/Users/*/PrintHood',

'/Users/*/Recent',

'/Users/*/SendTo',

'/Users/*/Start Menu',

'/Users/*/Templates',

'/Users/*/AppData/Local/Application Data',

'/Users/*/AppData/Local/History',

'/Users/*/AppData/Local/Temporary Internet Files',

'/Users/*/Documents/My Music',

'/Users/*/Documents/My Pictures',

'/Users/*/Documents/My Videos',



#Temporary and in-use user data

'/Users/*/AppData/Local/Microsoft/Windows/Temporary Internet Files',

'/Users/*/AppData/Local/Temp',

'/Users/*/NTUSER.DAT*',

'/Users/*/ntuser.dat*',

'/Users/*/AppData/Local/Microsoft/Windows/UsrClass.dat*',

'/Users/*/AppData/Local/Microsoft/Windows Defender/FileTracker',

'/Users/*/AppData/Local/Microsoft/Windows/Explorer/thumbcache_*.db',

'/Users/*/AppData/Local/Microsoft/Windows/WER',

'/Users/*/AppData/Local/lxss',

'/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/Cache',

'/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/OfflineCache',

'/Users/*/AppData/Roaming/Microsoft/Windows/Cookies',

'/Users/*/AppData/Roaming/Microsoft/Windows/Recent',

'ProgramData/Microsoft/Search',

'ProgramData/Microsoft/Windows Defender',

'*.lock',

‘*.so’,

'Thumbs.db',

'IconCache.db',

'Cache*',

'cache*',



#Installation folders and system data

'/Program Files',

'/Windows',

'/$Recycle.Bin',

'/MSOCache',

'/System Volume Information',

'/Boot',

'/autoexec.bat',

'/bootmgr',

'/BOOTSECT.BAK',

'/config.sys',

'/hiberfil.sys',

'/pagefile.sys'

  ]

};



I restarted the BackupPC service and I am manually running a backup using



/usr/share/BackupPC/bin/BackupPC_dump -v -f l-jwest17b.corpnet.com



I am seeing this when backing up.



lla/ui/ui_template_buttons.json

  pool 644   0/0   10999 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/ui_template_dialogs.json

  pool 644   0/0   11641 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/ui_template_toggles.json

  pool 644   0/0   23160 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/world_templates_screen.json

  pool 644   0/06236 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/xbl_failed.json

  pool 644   0/05523 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/xbl_first_launch.json

  pool 644   0/05980 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/xbl_optional_signin.json

  pool 644   0/02796 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/_ui_defs.json

  create   755   0/0   0 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music

  pool 644   0/0 440 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/pack_manifest.json

  create   755   0/0   0 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/sounds

  create   755   0/0   0 Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resou

[BackupPC-users] Excluding files from rsync

2013-06-20 Thread Bart Verwilst
Hi,

The IRC channel seems to be pretty much dead so I'm turning towards the 
mailinglist for some advice. :)

One of the subdirectories of the main directory that needs to be backed 
up hold hundreds of thousands of cached file that need no backup. I can 
exclude them from being backed up with BackupFilesExclude, but that 
doesn't stop rsync from iterating over it, adding hours to the backup 
time.

I then tried adding --exclude=/my/cache/dir as RsyncArgsExtra since the 
manual clearly states:


Examples of additional arguments that should work are 
--exclude/--include, eg:

 $Conf{RsyncArgsExtra} = [
   '--exclude', '/proc',
   '--exclude', '*.tmp',
 ];


However, no matter how I formulate my exclude, it never appears on the 
actual rsync commandline. Adding -v for example gets shown just fine.

In the end, I digged into the code and found the following snippet in 
/usr/share/BackupPC/lib/BackupPC/Xfer/Rsync.pm :


eval {
 $argList = File::RsyncP->excludeStrip($argList);
 };


--exclude seems to be stripped out in a hardcoded way. Then why does the 
manual tell me otherwise?

Is there any non-hackish way to stop rsync from traversing the whole 
cache subdirectory?

Thanks a lot in advance,

Kind regards,

Bart Verwilst

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Excluding files and folders with spaces

2012-02-21 Thread Sorin Srbu
-Original Message-
From: Carl Wilhelm Soderstrom [mailto:chr...@real-time.com]
Sent: den 21 februari 2012 14:29
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Excluding files and folders with spaces

On 02/21 02:17 , Sorin Srbu wrote:
> I didn't find any information on how filenames and folders that have a space
> in their name should be added to Xfer/BackupFilesExclude.
>
> Can I just add eg "/home/Virtual VMs" (including the "") in the field?

For rsync at least you should be able to.
If your XferMethod doesn't work with a certain character for some reason,
you can usually substitute a '?', but I haven't found that necessary for
some time.

-- 
Carl Soderstrom



Thanks! I'll give it a go and see what happens.

-- 
/Sorin


smime.p7s
Description: S/MIME cryptographic signature
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
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] Excluding files and folders with spaces

2012-02-21 Thread Carl Wilhelm Soderstrom
On 02/21 02:17 , Sorin Srbu wrote:
> Hi all,
> 
> I didn't find any information on how filenames and folders that have a space 
> in their name should be added to Xfer/BackupFilesExclude.
> 
> Can I just add eg "/home/Virtual VMs" (including the "") in the field?

For rsync at least you should be able to.
If your XferMethod doesn't work with a certain character for some reason,
you can usually substitute a '?', but I haven't found that necessary for
some time.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
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/


[BackupPC-users] Excluding files and folders with spaces

2012-02-21 Thread Sorin Srbu
Hi all,

I didn't find any information on how filenames and folders that have a space 
in their name should be added to Xfer/BackupFilesExclude.

Can I just add eg "/home/Virtual VMs" (including the "") in the field?

-- 
BW,
Sorin
---
# Sorin Srbu[Sysadmin, Systems Engineer]
# Dept of Medicinal Chemistry,  Phone: +46 (0)18-4714482 >3 signals> GSM
# Div of Org Pharm Chem,Mobile: +46 (0)70-4250229
# Box 574, Uppsala University,  Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b
#   Web: http://www.orgfarm.uu.se
---
# ()  ASCII ribbon campaign - Against html E-mail
# /\
#
# This message was not sent from an iProduct!
#
# MotD follows:
# Under en vanlig dag kommer din hand indirekt att komma i kontakt med 15 st 
penisar.



smime.p7s
Description: S/MIME cryptographic signature
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
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] excluding files from backup

2011-09-07 Thread Holger Parplies
Hi,

SSzretter wrote on 2011-09-07 13:33:24 -0700 [[BackupPC-users]  excluding files 
from backup]:
> So what is the proper syntax for excluding files backed up via smb from a
> windows box (folders too)?

ask smbclient. I was going to recommend reading smbclient(1), but it isn't
very explicit on the syntax of its excludes (in contrast to rsync(1)).

> I have this currently, and I have tried adding a wildcard   '/WINDOWS/*' ,
> no difference  :
> 
> $Conf{BackupFilesExclude} = { 
>   '*' => [ 
> '/Documents and Settings/*/Local Settings/Temporary Internet Files/', 
> [...]
>   ] 
> };

that would seem to be syntactically correct. In any case, the exclude would
apply, since you've got no other exclude for a share, and '*' would match any
share without an exclude.

> I found this thread which seems to imply my slashes need to go the other
> way ??like  '\WINDOWS\'  ??

Almost. In general, you should be able to use either '/' or '\\' as path
separator, but depending on who handles exclusions and how, it might only work
with the native path separator (if it's just a plain string comparison,
"/WINDOWS/" obviously won't match "\\WINDOWS\\"; it *shouldn't* be a plain
string comparison, but I haven't checked the code, and it might not even be
the smbclient side handling the excludes).

Note how I tend to quote the backslash character; you'll have to do that, too,
in a config file (the web interface may or may not do it for you).

> http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/backupfilesexclude-via-smb-for-windows-shares-solved-90560/

Sorry, I refuse to follow that reference.

> This thread has similar information:
> http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg08889.html

Does it? I read it as a simple issue of spelling error in the configuration.
Yes, if you misspell variable names, they won't be interpolated correctly.

Earlier, you had written:
> In the latest xfer log for this morning, just a SMALL sampling: 
> 
> create d 755 0/0 0 System Volume Information 
> create d 755 0/0 0 temp 

Ah, yes. That's the lines immediately following the interesting ones. I had
thought it was obvious. My mistake. What *smbclient command invocation* does
the log file show? What excludes are passed?

Even before that, you had written:
> After further investigation, I believe my file exclusions are not working in 
> backuppc. I checked some random machine transfer logs and I see lots of 
> entries for /WINDOWS/... 
> In my config.pl this (and other) directories should be exuded. I am using 
> SMB to do backups (xp machines mostly): 
> 
> Do I need anything besides this: ? 

To which I had, sometime in between, replied:
> err, beside the question mark? 
> 
> You need to not have set BackupFilesOnly. What does your log file say? 

Just for those readers who were gnirednow (that's "wondering", but backwards)
about the context.

Regards,
Holger (who will soon need a sanity break from this list)

--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
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/


[BackupPC-users] excluding files from backup

2011-09-07 Thread SSzretter
So what is the proper syntax for excluding files backed up via smb from a 
windows box (folders too)?
I have this currently, and I have tried adding a wildcard   '/WINDOWS/*' , no 
difference  :

$Conf{BackupFilesExclude} = { 
  '*' => [ 
'/Documents and Settings/*/Local Settings/Temporary Internet Files/', 
'/Documents and Settings/*/Local Settings/Temp/', 
'/Documents and Settings/*/NTUSER.DAT', 
'/Documents and Settings/*/ntuser.dat.LOG', 
'/Documents and Settings/*/Local Settings/Application 
Data/Microsoft/Windows/UsrClass.dat', 
'/Documents and Settings/*/Local Settings/Application 
Data/Microsoft/Windows/UsrClass.dat.LOG', 
'/Documents and Settings/*/Local Settings/Application 
Data/Mozilla/Firefox/Profiles/*/Cache/', 
'/Documents and Settings/*/Local Settings/Application 
Data/Mozilla/Firefox/Profiles/*/OfflineCache/', 
'/Documents and Settings/*/Recent/', 
'*.lock', 
'Thumbs.db', 
'IconCache.db', 
'Cache', 
'cache', 
'/WINDOWS/', 
'/RECYCLER/', 
'/MSOCache/', 
'/System Volume Information/', 
'/AUTOEXEC.BAT', 
'/BOOTSECT.BAK', 
'/CONFIG.SYS', 
'/hiberfil.sys', 
'/pagefile.sys', 
'/WINNT/' 
  ] 
};

I found this thread which seems to imply my slashes need to go the other way ?? 
   like  '\WINDOWS\'  ??

http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/backupfilesexclude-via-smb-for-windows-shares-solved-90560/

This thread has similar information:
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg08889.html

SO, what IS the proper way to define excludes so it's not going to back up the 
windows folder and similar?






HISTORY:

It's set to : 

$Conf{BackupFilesOnly} = {}; 

My file count / reuse summary is basically not changed (which I would expect 
some numbers to drop) in the web admin for the machine's latest backup. 

In the latest xfer log for this morning, just a SMALL sampling: 

create d 755 0/0 0 System Volume Information 
create d 755 0/0 0 temp 
create d 755 0/0 0 TempEI4 
create d 755 0/0 0 WINDOWS 
create d 755 0/0 0 WINDOWS/$968930Uinstall_KB968930$ 
create d 755 0/0 0 WINDOWS/$968930Uinstall_KB968930$/spuninst 
create d 755 0/0 0 WINDOWS/$hf_mig$ 
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2079403 
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2079403/SP3QFE 
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2079403/update 
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2115168 

pool 644 0/0 30216 WINDOWS/Prefetch/MOFCOMP.EXE-01718E95.pf 
pool 644 0/0 55314 WINDOWS/Prefetch/MRT.EXE-1B4A8D49.pf 
pool 644 0/0 7844 WINDOWS/Prefetch/MRTSTUB.EXE-0574A4ED.pf 
create 644 0/0 110134 WINDOWS/Prefetch/MSACCESS.EXE-175F0AD1.pf 
pool 644 0/0 171224 WINDOWS/Prefetch/MSCORSVW.EXE-1366B4F5.pf 



SSzretter wrote on 2011-08-31 13:37:13 -0400 [[BackupPC-users] excluding files 
from backup]: 
After further investigation, I believe my file exclusions are not working in 
backuppc. I checked some random machine transfer logs and I see lots of 
entries for /WINDOWS/... 
In my config.pl this (and other) directories should be exuded. I am using 
SMB to do backups (xp machines mostly): 

Do I need anything besides this: ? 


--- reply: 


err, beside the question mark? 

You need to not have set BackupFilesOnly. What does your log file say? 

Regards, 
Holger

+--
|This was sent by sszret...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
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/


[BackupPC-users] excluding files from backup

2011-09-04 Thread SSzretter
It's set to : 

$Conf{BackupFilesOnly} = {}; 

My file count / reuse summary is basically not changed (which I would expect 
some numbers to drop) in the web admin for the machine's latest backup. 

In the latest xfer log for this morning, just a SMALL sampling: 

create d 755 0/0 0 System Volume Information 
create d 755 0/0 0 temp 
create d 755 0/0 0 TempEI4 
create d 755 0/0 0 WINDOWS 
create d 755 0/0 0 WINDOWS/$968930Uinstall_KB968930$ 
create d 755 0/0 0 WINDOWS/$968930Uinstall_KB968930$/spuninst 
create d 755 0/0 0 WINDOWS/$hf_mig$ 
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2079403 
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2079403/SP3QFE 
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2079403/update 
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2115168 

pool 644 0/0 30216 WINDOWS/Prefetch/MOFCOMP.EXE-01718E95.pf 
pool 644 0/0 55314 WINDOWS/Prefetch/MRT.EXE-1B4A8D49.pf 
pool 644 0/0 7844 WINDOWS/Prefetch/MRTSTUB.EXE-0574A4ED.pf 
create 644 0/0 110134 WINDOWS/Prefetch/MSACCESS.EXE-175F0AD1.pf 
pool 644 0/0 171224 WINDOWS/Prefetch/MSCORSVW.EXE-1366B4F5.pf 



SSzretter wrote on 2011-08-31 13:37:13 -0400 [[BackupPC-users] excluding files 
from backup]: 
After further investigation, I believe my file exclusions are not working in 
backuppc. I checked some random machine transfer logs and I see lots of 
entries for /WINDOWS/... 
In my config.pl this (and other) directories should be exuded. I am using 
SMB to do backups (xp machines mostly): 

Do I need anything besides this: ? 


---  reply:


err, beside the question mark? 

You need to not have set BackupFilesOnly. What does your log file say? 

Regards, 
Holger

+--
|This was sent by sszret...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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] excluding files from backup

2011-09-04 Thread Ralf Gross
SSzretter schrieb:
> It's set to :
> 
> $Conf{BackupFilesOnly} = {};
> 
> My file count / reuse summary is basically not changed (which I would expect 
> some numbers to drop) in the web admin for the machine's latest backup.
> 
> In the latest xfer log for this morning, just a SMALL sampling:
> 
> create d 755   0/0   0 System Volume Information
>   create d 755   0/0   0 temp
>   create d 755   0/0   0 TempEI4
>   create d 755   0/0   0 WINDOWS
>   create d 755   0/0   0 WINDOWS/$968930Uinstall_KB968930$
>   create d 755   0/0   0 
> WINDOWS/$968930Uinstall_KB968930$/spuninst
>   create d 755   0/0   0 WINDOWS/$hf_mig$
>   create d 755   0/0   0 WINDOWS/$hf_mig$/KB2079403
>   create d 755   0/0   0 WINDOWS/$hf_mig$/KB2079403/SP3QFE
>   create d 755   0/0   0 WINDOWS/$hf_mig$/KB2079403/update
>   create d 755   0/0   0 WINDOWS/$hf_mig$/KB2115168
> 
>  pool 644   0/0   30216 WINDOWS/Prefetch/MOFCOMP.EXE-01718E95.pf
>   pool 644   0/0   55314 WINDOWS/Prefetch/MRT.EXE-1B4A8D49.pf
>   pool 644   0/07844 WINDOWS/Prefetch/MRTSTUB.EXE-0574A4ED.pf
>   create   644   0/0  110134 WINDOWS/Prefetch/MSACCESS.EXE-175F0AD1.pf
>   pool 644   0/0  171224 WINDOWS/Prefetch/MSCORSVW.EXE-1366B4F5.pf


I don't see any context in your mail.

 
> +--
> |This was sent by sszret...@hotmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--


Ah, Backup Central again.

Ralf

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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/


[BackupPC-users] excluding files from backup

2011-09-04 Thread SSzretter
It's set to :

$Conf{BackupFilesOnly} = {};

My file count / reuse summary is basically not changed (which I would expect 
some numbers to drop) in the web admin for the machine's latest backup.

In the latest xfer log for this morning, just a SMALL sampling:

create d 755   0/0   0 System Volume Information
  create d 755   0/0   0 temp
  create d 755   0/0   0 TempEI4
  create d 755   0/0   0 WINDOWS
  create d 755   0/0   0 WINDOWS/$968930Uinstall_KB968930$
  create d 755   0/0   0 WINDOWS/$968930Uinstall_KB968930$/spuninst
  create d 755   0/0   0 WINDOWS/$hf_mig$
  create d 755   0/0   0 WINDOWS/$hf_mig$/KB2079403
  create d 755   0/0   0 WINDOWS/$hf_mig$/KB2079403/SP3QFE
  create d 755   0/0   0 WINDOWS/$hf_mig$/KB2079403/update
  create d 755   0/0   0 WINDOWS/$hf_mig$/KB2115168

 pool 644   0/0   30216 WINDOWS/Prefetch/MOFCOMP.EXE-01718E95.pf
  pool 644   0/0   55314 WINDOWS/Prefetch/MRT.EXE-1B4A8D49.pf
  pool 644   0/07844 WINDOWS/Prefetch/MRTSTUB.EXE-0574A4ED.pf
  create   644   0/0  110134 WINDOWS/Prefetch/MSACCESS.EXE-175F0AD1.pf
  pool 644   0/0  171224 WINDOWS/Prefetch/MSCORSVW.EXE-1366B4F5.pf

+--
|This was sent by sszret...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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] excluding files from backup

2011-08-31 Thread Holger Parplies
Hi,

SSzretter wrote on 2011-08-31 13:37:13 -0400 [[BackupPC-users] excluding files 
from backup]:
> After further investigation, I believe my file exclusions are not working in
> backuppc.  I checked some random machine transfer logs and I see lots of
> entries for /WINDOWS/...
>  In my config.pl this (and other) directories should be exuded.   I am using
> SMB to do backups (xp machines mostly):
> 
> Do I need anything besides this:  ?

err, beside the question mark?

You need to not have set BackupFilesOnly. What does your log file say?

Regards,
Holger

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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/


[BackupPC-users] excluding files from backup

2011-08-31 Thread SSzretter
After further investigation, I believe my file exclusions are not working in
backuppc.  I checked some random machine transfer logs and I see lots of
entries for /WINDOWS/...
 In my config.pl this (and other) directories should be exuded.   I am using
SMB to do backups (xp machines mostly):

Do I need anything besides this:  ?

$Conf{BackupFilesExclude} = {
  '*' => [
'/Documents and Settings/*/Local Settings/Temporary Internet Files/',
'/Documents and Settings/*/Local Settings/Temp/',
'/Documents and Settings/*/NTUSER.DAT',
'/Documents and Settings/*/ntuser.dat.LOG',
'/Documents and Settings/*/Local Settings/Application
Data/Microsoft/Windows/UsrClass.dat',
'/Documents and Settings/*/Local Settings/Application
Data/Microsoft/Windows/UsrClass.dat.LOG',
'/Documents and Settings/*/Local Settings/Application
Data/Mozilla/Firefox/Profiles/*/Cache/',
'/Documents and Settings/*/Local Settings/Application
Data/Mozilla/Firefox/Profiles/*/OfflineCache/',
'/Documents and Settings/*/Recent/',
'*.lock',
'Thumbs.db',
'IconCache.db',
'Cache',
'cache',
'/WINDOWS/',
'/RECYCLER/',
'/MSOCache/',
'/System Volume Information/',
'/AUTOEXEC.BAT',
'/BOOTSECT.BAK',
'/CONFIG.SYS',
'/hiberfil.sys',
'/pagefile.sys',
'/WINNT/'
  ]
};
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
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] excluding files

2011-04-04 Thread Holger Parplies
Hi,

Bowie Bailey wrote on 2011-04-04 11:36:18 -0400 [Re: [BackupPC-users] excluding 
files]:
> On 4/3/2011 5:59 PM, Scott wrote:
> > [...]
> > In the web interface I added an entry for:  *.MPG 
> > [...]
> 
> You probably just put the entry in the wrong place.
> [...]
> [...] followed by your "*.MPG" exclusion.

you *may* also need to think about your XferMethod, because excludes are,
in general, handled by the XferMethod and thus subject to its syntax
specifications. Your simple "*.MPG" should probably work for all methods -
presuming they see your file names in upper case - but it wouldn't hurt to
mention what XferMethod you are using if your problems persist after checking
your exclude definitions. You should then also attach a copy of your host
config file, preferably as attachment of the original file and not cut&paste
from the web interface ;-).

All of that said, I personally dislike exclusions like "*.mpg", because there
is no way for the user to override them for single files that should be backed
up. Similarly, you only exclude things you expect, missing "music.mph" (typo)
or "music.mpg.bak" (copy) or "music.mp3" (different common naming scheme
(there is no such thing as an "extension", except, maybe, under Windoze, but
there shouldn't be even there ;-)).
If you can express your exclude as a directory ("My Music"?), you might need
to figure out space quoting issues, but you might be able to avoid the issues
above. Then again, all of that may not apply to your situation. Just something
to think about.

Regards,
Holger

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
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] excluding files

2011-04-04 Thread Bowie Bailey
On 4/3/2011 5:59 PM, Scott wrote:
> I tried excluding files and does not seem to be working :
>
> In the web interface I added an entry for:  *.MPG 
>
> Yet in the backup pc folder I am seeing .MPG files! 
>
> Do I need to type anything more than just  "*.MPG" ?   (windows client)
>

You probably just put the entry in the wrong place.

First, you need to create a key.  This will either be identical to one
of your share names, or * to affect all shares.  Once you have added the
key, then you can add exclusions.

If you look at the exclusion section in the web interface, you should
see the share name or *, followed by a "Delete" button.  Then there will
be"Insert" and "Delete" buttons followed by your "*.MPG" exclusion.

-- 
Bowie

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
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/


[BackupPC-users] excluding files

2011-04-03 Thread Scott
I tried excluding files and does not seem to be working :

In the web interface I added an entry for:  *.MPG

Yet in the backup pc folder I am seeing .MPG files!

Do I need to type anything more than just  "*.MPG" ?   (windows client)
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
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] Excluding files

2008-05-03 Thread Tino Schwarze
On Fri, May 02, 2008 at 07:46:54AM +1000, Adam Goryachev wrote:

> > I'm currently using BackupPC to backup few of my servers. I'm only
> > having a problem with one of the server getting backed up. There's an
> > rsync process that's been running flat out for a long time.  It seems
> > that BackupPC is trying to backup a directory of rapidly-changing files,
> > that should be excluded.
> > 
> > Yesterday, I went to the config.pl and excluded all the possible files
> > that are rapidly changing like log files. today the backup was ran again
> > and the rsync process started running for a long time.
> > 
> > What will be the best way to track down  what is causing this process to
> > not stop?
> 
> On the client machine being backed up, do a ps axf or similar and find
> the pid of the rsync process. Then do a "lsof -p $pid" and it will show
> the files that the rsync process has open. Generally the last one is the
> filename that is currently being transferred. Sometimes you only get
> libraries, but repeat the command over a few minutes and you should it.

To see the open files of a process, I usuallye use
  ls -l /proc/$pid/fd
This doesn't show any libraries...

Tino.

-- 
„What we resist, persists.” (Zen saying)

www.craniosacralzentrum.de
www.forteego.de

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Excluding files

2008-05-01 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jake Solid wrote:
> I'm currently using BackupPC to backup few of my servers. I'm only
> having a problem with one of the server getting backed up. There's an
> rsync process that's been running flat out for a long time.  It seems
> that BackupPC is trying to backup a directory of rapidly-changing files,
> that should be excluded.
> 
> Yesterday, I went to the config.pl and excluded all the possible files
> that are rapidly changing like log files. today the backup was ran again
> and the rsync process started running for a long time.
> 
> What will be the best way to track down  what is causing this process to
> not stop?

On the client machine being backed up, do a ps axf or similar and find
the pid of the rsync process. Then do a "lsof -p $pid" and it will show
the files that the rsync process has open. Generally the last one is the
filename that is currently being transferred. Sometimes you only get
libraries, but repeat the command over a few minutes and you should it.

Regards,
Adam

- --
Adam Goryachev
Website Managers
Ph: +61 2 8304 [EMAIL PROTECTED]
Fax: +61 2 8304 0001www.websitemanagers.com.au

Please note, all email from me sent after August 2007 will be signed.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIGjpOGyoxogrTyiURAgQZAKCVDky9shErwJj8S3HW0exVJMHlbwCdGnTl
YoGMXB1DKmdmO5Lj1ooPx6Q=
=81fs
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Excluding files

2008-05-01 Thread Rob Owens
You can run:

iftop -n

on either machine to monitor the network traffic.  That will tell you if 
there is actually a transfer happening or not.

-Rob

Jake Solid wrote:
> I'm currently using BackupPC to backup few of my servers. I'm only 
> having a problem with one of the server getting backed up. There's an 
> rsync process that's been running flat out for a long time.  It seems 
> that BackupPC is trying to backup a directory of rapidly-changing files, 
> that should be excluded.
> 
> Yesterday, I went to the config.pl and excluded all the possible files 
> that are rapidly changing like log files. today the backup was ran again 
> and the rsync process started running for a long time.
> 
> What will be the best way to track down  what is causing this process to 
> not stop?
> 
> The following is the output of the rsync process:
> 
> [EMAIL PROTECTED] ~]# ps -aux | grep rsync
> root  6496  0.0  0.0  61144   708 pts/20   S+   10:50   0:00 grep rsync
> root 29645 85.3  0.2 130972 65912 ?Rs   Apr30 759:36 
> /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group 
> -D --links --hard-links --times --block-size=2048 --recursive 
> --checksum-seed=32761 . / 
> 
> 
> Thanks in advanced.
> 
> 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> 
> 
> 
> 
> ___
> 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/


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.




-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Excluding files

2008-05-01 Thread Rob Owens


Jake Solid wrote:
> I'm currently using BackupPC to backup few of my servers. I'm only 
> having a problem with one of the server getting backed up. There's an 
> rsync process that's been running flat out for a long time.  It seems 
> that BackupPC is trying to backup a directory of rapidly-changing files, 
> that should be excluded.
> 
> Yesterday, I went to the config.pl and excluded all the possible files 
> that are rapidly changing like log files. today the backup was ran again 
> and the rsync process started running for a long time.
> 
> What will be the best way to track down  what is causing this process to 
> not stop?
> 
> The following is the output of the rsync process:
> 
> [EMAIL PROTECTED] ~]# ps -aux | grep rsync
> root  6496  0.0  0.0  61144   708 pts/20   S+   10:50   0:00 grep rsync
> root 29645 85.3  0.2 130972 65912 ?Rs   Apr30 759:36 
> /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group 
> -D --links --hard-links --times --block-size=2048 --recursive 
> --checksum-seed=32761 . / 
> 

You could run the rsync command from the command line (find it in the 
XferLOG for your host), remove the -q option, and add -v, and watch the 
output to see where it hangs.  Note that this command should be run from 
a temporary directory with enough space to hold your backup files.

When I had unreasonably long backup times, I added --one-file-system to 
the rsync arguments because I found I was inadvertently backing up an 
nfs mount.

-Rob


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.




-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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/


[BackupPC-users] Excluding files

2008-05-01 Thread Jake Solid
I'm currently using BackupPC to backup few of my servers. I'm only having a
problem with one of the server getting backed up. There's an rsync process
that's been running flat out for a long time.  It seems that BackupPC is
trying to backup a directory of rapidly-changing files, that should be
excluded.

Yesterday, I went to the config.pl and excluded all the possible files that
are rapidly changing like log files. today the backup was ran again and the
rsync process started running for a long time.

What will be the best way to track down  what is causing this process to not
stop?

The following is the output of the rsync process:

[EMAIL PROTECTED] ~]# ps -aux | grep rsync
root  6496  0.0  0.0  61144   708 pts/20   S+   10:50   0:00 grep rsync
root 29645 85.3  0.2 130972 65912 ?Rs   Apr30 759:36
/usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D
--links --hard-links --times --block-size=2048 --recursive
--checksum-seed=32761 . / 


Thanks in advanced.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] Excluding files

2005-10-19 Thread Travis Fraser
On Wed, 2005-10-19 at 05:46 +0200, Alex Schaft wrote:
> Craig Barratt wrote: 
> > Alex Schaft writes:
> > 
> >   
> > > I'm trying to stop backuppc from backing up mp3 files. I've tried 
> > > setting the exclude file parameter to *.mp3 as well as just mp3, but 
> > > they're still being backed up.
> > > 
> > 
> > What is your XferMethod?
> > 
> >   
> SMB to windows clients.
> 
> I checked the archives, and found the below from 2002, but it didn't
> work properly (All of the sudden it was failing to backup folders with
> a single character e.g. \\client\docs\b, where these folders didn't
> exist.
> 
>  $Conf{BackupFilesExclude} = [
>   "*/Temporary Internet Files/*",
>   "*.MP3",
>   "*.mp3"
>  ];
> 
I experimented a bit and found that the exclusions do work, and more
than one exclusion can be used. The trick was to prefix a backslash to
the directory or file that is excluded. Forward slashes did not work.
The exclusions are relative to the root of the share, of course.

I am using samba-3.0.14a on a Gentoo box, backing up Windows XP Pro and
Server 2003.

Some examples:

$Conf{BackupFilesExclude} = [ '\foo' ]

$Conf{BackupFilesExclude} = [ '\foo', '\*\bar' ]

Per-share excludes can be done as well:

$Conf{BackupFilesExclude} = { 
'share1$' => [ '\foo' , '\bar' ],
'share2$' => [ '\foobar' ], 
};

-- 
Travis Fraser <[EMAIL PROTECTED]>



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Excluding files

2005-10-18 Thread Alex Schaft




Craig Barratt wrote:

  Alex Schaft writes:

  
  
I'm trying to stop backuppc from backing up mp3 files. I've tried 
setting the exclude file parameter to *.mp3 as well as just mp3, but 
they're still being backed up.

  
  
What is your XferMethod?

  

SMB to windows clients.

I checked the archives, and found the below from 2002, but it didn't
work properly (All of the sudden it was failing to backup folders with
a single character e.g. \\client\docs\b, where these folders didn't
exist.

 $Conf{BackupFilesExclude} = [
 	"*/Temporary Internet Files/*",
 	"*.MP3",
 	"*.mp3"
 ];

-- 
Alex Schaft
Quick Software
Tel: +27-(0)11-451-9100
Fax: +27-(0)86-674-6981




Re: [BackupPC-users] Excluding files

2005-10-18 Thread Craig Barratt
Alex Schaft writes:

> I'm trying to stop backuppc from backing up mp3 files. I've tried 
> setting the exclude file parameter to *.mp3 as well as just mp3, but 
> they're still being backed up.

What is your XferMethod?

Craig


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Excluding files

2005-10-18 Thread Alex Schaft

Hi,

I'm trying to stop backuppc from backing up mp3 files. I've tried 
setting the exclude file parameter to *.mp3 as well as just mp3, but 
they're still being backed up.


How do I do this?

--
Alex Schaft
Quick Software
Tel: +27-(0)11-451-9100
Fax: +27-(0)86-674-6981



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/