Re: [BackupPC-users] Directory mysteriosly excluded
Benjamin Kudria writes: > On Friday, August 11 2006 1:56, Loyd Darby wrote: > > Try this(note the extra comma: > > $Conf{BackupFilesOnly} = ['/home/bkudria', > > '/usr/local/vpopmail/blueboxtech.com',]; > > > > I am guessing that it isn't recognizing the end of the string and is > > re-using what is in the buffer. > > > > You might try including an a --exclude of /tmp in the per host config > > just to see what it does. > > > Changed the per-host config to look like this: > > $Conf{BackupFilesOnly} = > ['/home/bkudria', '/usr/local/vpopmail/blueboxtech.com',]; > $Conf{BackupFilesExclude} = '/tmp'; > > This yields an Xferlog of: > > Running: /usr/local/bin/sudo /usr/local/bin/rsync --server --sender > --numeric-ids --perms --owner --group -D --links --times --block-size=2048 > --recursive --include=/home --include=/home/bkudria --include=/usr > --include=/usr/local --include=/usr/local/vpopmail > --include=/usr/local/vpopmail/blueboxtech.com --exclude=/\\\* > --exclude=/home/\\\* --exclude=/usr/\\\* --exclude=/usr/local/\\\* > --exclude=/usr/local/vpopmail/\\\* --exclude=/tmp --ignore-times . / > Xfer PIDs are now 33447 > Got remote protocol 29 > Negotiated protocol version 26 > Sent include: /home > Sent include: /home/bkudria > Sent include: /usr > Sent include: /usr/local > Sent include: /usr/local/vpopmail > Sent include: /usr/local/vpopmail/blueboxtech.com > Sent exclude: /* > Sent exclude: /home/* > Sent exclude: /usr/* > Sent exclude: /usr/local/* > Sent exclude: /usr/local/vpopmail/* > Sent exclude: /tmp > Xfer PIDs are now 33447,34233 > [ skipped 2212 lines ] > Done: 1767 files, 11011497 bytes This list of includes/excludes is correct. You should remove the extra comma at the end of $Conf{BackupFilesOnly} though. Just to state the obvious, does the directory /usr/local/vpopmail/blueboxtech.com exist? That's the only directory you have asked to back up. Is this a local file system or nfs mounted? In the latter case, you will have a permissions problem without the right export options since you are running as root. Secondly, if you are using an automounter for /usr/local/vpopmail/blueboxtech.com then rysnc won't trigger the automounter since it just opens the directory /usr/local/vpopmail to look for blueboxtech.com. Craig - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Directory mysteriosly excluded
On Friday, August 11 2006 1:56, Loyd Darby wrote: > Try this(note the extra comma: > $Conf{BackupFilesOnly} = ['/home/bkudria', > '/usr/local/vpopmail/blueboxtech.com',]; > > I am guessing that it isn't recognizing the end of the string and is > re-using what is in the buffer. > > You might try including an a --exclude of /tmp in the per host config > just to see what it does. Changed the per-host config to look like this: $Conf{BackupFilesOnly} = ['/home/bkudria', '/usr/local/vpopmail/blueboxtech.com',]; $Conf{BackupFilesExclude} = '/tmp'; This yields an Xferlog of: Running: /usr/local/bin/sudo /usr/local/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --times --block-size=2048 --recursive --include=/home --include=/home/bkudria --include=/usr --include=/usr/local --include=/usr/local/vpopmail --include=/usr/local/vpopmail/blueboxtech.com --exclude=/\\\* --exclude=/home/\\\* --exclude=/usr/\\\* --exclude=/usr/local/\\\* --exclude=/usr/local/vpopmail/\\\* --exclude=/tmp --ignore-times . / Xfer PIDs are now 33447 Got remote protocol 29 Negotiated protocol version 26 Sent include: /home Sent include: /home/bkudria Sent include: /usr Sent include: /usr/local Sent include: /usr/local/vpopmail Sent include: /usr/local/vpopmail/blueboxtech.com Sent exclude: /* Sent exclude: /home/* Sent exclude: /usr/* Sent exclude: /usr/local/* Sent exclude: /usr/local/vpopmail/* Sent exclude: /tmp Xfer PIDs are now 33447,34233 [ skipped 2212 lines ] Done: 1767 files, 11011497 bytes Perhaps i should change the main config? How? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Directory mysteriosly excluded
Try this(note the extra comma: $Conf{BackupFilesOnly} = ['/home/bkudria', '/usr/local/vpopmail/blueboxtech.com',]; I am guessing that it isn't recognizing the end of the string and is re-using what is in the buffer. You might try including an a --exclude of /tmp in the per host config just to see what it does. Rob Terhaar wrote: > On Fri, 2006-08-11 at 12:55 -0400, Benjamin Kudria wrote: > >> On Friday, August 11 2006 12:29, Rob Terhaar wrote: >> >>> ok i see now, >>> you're right, the folder is indeed getting added to the excludes >>> somehow... The only thing i could think of is that there must be a pc >>> level config file as well as the global config.pl? Perhaps try to put >>> something into your excludes, like /tmp? >>> >> Err, actually, the pc-level config is at the end of the paste. :) I made >> the >> excludes variable undef there too, just to make sure. Strange, no? >> >> -Benjamin Kudria >> >> > > very weird... All I can suggest is to define _something_ for the > excludes, and try to run BackupPC_Dump -f in verbose mode (or even try > running it under strace?) to see if you get any more insight. > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/backuppc-users > http://backuppc.sourceforge.net/ > > -- R. Loyd Darby Project Manager DOC/NOAA/NMFS Southeast Fisheries Science Center 305-361-4297 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Directory mysteriosly excluded
On Fri, 2006-08-11 at 12:55 -0400, Benjamin Kudria wrote: > On Friday, August 11 2006 12:29, Rob Terhaar wrote: > > ok i see now, > > you're right, the folder is indeed getting added to the excludes > > somehow... The only thing i could think of is that there must be a pc > > level config file as well as the global config.pl? Perhaps try to put > > something into your excludes, like /tmp? > > > Err, actually, the pc-level config is at the end of the paste. :) I made > the > excludes variable undef there too, just to make sure. Strange, no? > > -Benjamin Kudria > very weird... All I can suggest is to define _something_ for the excludes, and try to run BackupPC_Dump -f in verbose mode (or even try running it under strace?) to see if you get any more insight. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Directory mysteriosly excluded
On Friday, August 11 2006 12:29, Rob Terhaar wrote: > ok i see now, > you're right, the folder is indeed getting added to the excludes > somehow... The only thing i could think of is that there must be a pc > level config file as well as the global config.pl? Perhaps try to put > something into your excludes, like /tmp? Err, actually, the pc-level config is at the end of the paste. :) I made the excludes variable undef there too, just to make sure. Strange, no? -Benjamin Kudria - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Directory mysteriosly excluded
On Fri, 2006-08-11 at 10:54 -0400, Benjamin Kudria wrote: > On Friday, August 11 2006 10:45, Rob Terhaar wrote: > > even though you're using sudo... I bet it's a permissions issue > > > > what do the xfer logs say? > > I don't see how it would be a permissions issue...or... > Maybe the backuppc user needs to be added to the vpopmail or whatever group? > > The Xfer logs are at the end of the paste. > ok i see now, you're right, the folder is indeed getting added to the excludes somehow... The only thing i could think of is that there must be a pc level config file as well as the global config.pl? Perhaps try to put something into your excludes, like /tmp? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Directory mysteriosly excluded
On Friday, August 11 2006 10:45, Rob Terhaar wrote: > even though you're using sudo... I bet it's a permissions issue > > what do the xfer logs say? I don't see how it would be a permissions issue...or... Maybe the backuppc user needs to be added to the vpopmail or whatever group? The Xfer logs are at the end of the paste. Thanks, Benjamin Kudria - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Directory mysteriosly excluded
On Fri, 2006-08-11 at 10:37 -0400, Benjamin Kudria wrote: > I run a server used for hosting many web and mail accounts. I have installed > BackupPC and configured it to backup files using sudo and rsync, as described > in the docs. For some reason, my /usr/local/vpopmail directory is excluded. > My global config, host config, and log file are at: > > http://pastebin.ca/126001 > > Why isn't /usr/local/vpopmail being backed up? where is the exclude > statement > that makes this happen? Help? > > Thanks, > Benjamin Kudria even though you're using sudo... I bet it's a permissions issue what do the xfer logs say? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Directory mysteriosly excluded
I run a server used for hosting many web and mail accounts. I have installed BackupPC and configured it to backup files using sudo and rsync, as described in the docs. For some reason, my /usr/local/vpopmail directory is excluded. My global config, host config, and log file are at: http://pastebin.ca/126001 Why isn't /usr/local/vpopmail being backed up? where is the exclude statement that makes this happen? Help? Thanks, Benjamin Kudria - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/