Re: [BackupPC-users] DHCP backups - only once possible

2018-10-26 Thread Craig Barratt via BackupPC-users
$Status->{$host}{dhcpCheckCnt}++; if ( $RunNightlyWhenIdle ) { # On Fri, Oct 26, 2018 at 1:17 AM Jean-Marc wrote: > Hello Craig, > > Thanks for your help. > > Le 26/10/2018 à 07:05, Craig Barratt via BackupPC-users a écrit : > > Does "nmblookup HOSTNAME" return t

Re: [BackupPC-users] DHCP backups - only once possible

2018-10-25 Thread Craig Barratt via BackupPC-users
JM, Does "nmblookup HOSTNAME" return the correct IP address for that host? See comments for the $Conf{NmbLookupFindHostCmd} option for arguments you might need to add. If so, then its IP address should be discovered correctly without the dhcp flag. (In almost all cases it's not necessary to

Re: [BackupPC-users] Weird backup commands

2018-10-24 Thread Craig Barratt via BackupPC-users
Jaime, The first example is an incremental backup (the -N option to smbclient tarmode), and the second is a full. What are your settings for $Conf{SmbClientFullCmd}, $Conf{SmbShareName}, $Conf{BackupFilesOnly} and $Conf{BackupFilesExclude} on the two machines? Also, have you consider running

Re: [BackupPC-users] v4 migration experiences

2018-10-22 Thread Craig Barratt via BackupPC-users
Michael, Thanks for the feedback. On (1) I pushed a change so that the Xfer timeout is started after backup expiry, duplication and refcounting. On (2), perhaps it should ignore a partial or active backup

Re: [BackupPC-users] Accidently Deleted Host in Gui

2018-10-22 Thread Craig Barratt via BackupPC-users
rim reaper axed metadata or > files that were only referenced by this host? > > Thanks > Stuart > > On Mon, Oct 22, 2018 at 10:03 PM Craig Barratt via BackupPC-users < > backuppc-users@lists.sourceforge.net> wrote: > >> Deleting the host from the gui should o

Re: [BackupPC-users] Backup failure due to two specific files

2018-10-22 Thread Craig Barratt via BackupPC-users
Sorry about the delay in replying. It appears you have two pairs of identical pool files. In particular, these two pool files appear to be the same: /var/lib/backuppc/cpool/fc/86/fd871fd27933f41039f22c4201419c29 /var/lib/backuppc/cpool/fc/86/fd871fd27933f41039f22c4201419c2901 and these two as

Re: [BackupPC-users] Upgrading BPC from v3.3 to v4.1

2018-10-22 Thread Craig Barratt via BackupPC-users
10:08 AM Craig Barratt < cbarr...@users.sourceforge.net> wrote: > What are the versions of rsync_bpc and perl are you running? > Specifically, what's the output from > > rsync_bpc --version > > perl -v > > > I assume rsync_bpc is 3.1.2.beta0. For some reason

Re: [BackupPC-users] Accidently Deleted Host in Gui

2018-10-22 Thread Craig Barratt via BackupPC-users
Deleting the host from the gui should only remove the entry from the hosts file, so adding it back should make things work again. I just tried that on a test setup, and it worked for me. I should ask what BackupPC version you are running? Does the list of backups GUI appear when you browse to

Re: [BackupPC-users] deleted backups then host and pc folder yet data remains in pool

2018-10-22 Thread Craig Barratt via BackupPC-users
What is your setting for $Conf{BackupPCNightlyPeriod}? The default is 1, but if it's set to something larger then it will take that number of days/nights for the entire pool to be traversed. It does appear that some of the files are getting deleted - yesterday afternoon it deleted 242189 files

Re: [BackupPC-users] Upgrading BPC from v3.3 to v4.1

2018-10-22 Thread Craig Barratt via BackupPC-users
What are the versions of rsync_bpc and perl are you running? Specifically, what's the output from rsync_bpc --version perl -v I assume rsync_bpc is 3.1.2.beta0. For some reason the "version" package complains about a trailing ".", perhaps in only newer versions of perl (on perl 5.22.1 it

Re: [BackupPC-users] Archive incremental backup

2018-10-21 Thread Craig Barratt via BackupPC-users
Mtime won't be a reliable indication of what's in an incremental backup. First, other meta data might have changed (eg, rsync checks all file meta data including permissions, size etc) that would cause the file to be transferred during the incremental. You could look at the XferLOG file to parse

Re: [BackupPC-users] Errors returned

2018-10-21 Thread Craig Barratt via BackupPC-users
What version of smbclient are you running? Can you email me an XferLOG file that gives an error (hopefully something not too big)? Feel free to redact host names etc. Craig On Thu, Oct 18, 2018 at 2:30 PM Jaime Fenton wrote: > Hi all, > > > > I thought I had my issues fixed, I’d got

Re: [BackupPC-users] fatal error during xfer (tar:632)

2018-10-19 Thread Craig Barratt via BackupPC-users
and $Conf{SmbClientIncrCmd}. Craig On Fri, Oct 19, 2018 at 2:16 AM Paul Littlefield wrote: > On 18/10/2018 16:56, Craig Barratt wrote: > > It seems the XferLOG file is very short. Can you just send the whole > thing please? > > Here you go... it could be the net shutdown comm

Re: [BackupPC-users] fatal error during xfer (tar:632)

2018-10-18 Thread Craig Barratt via BackupPC-users
It seems the XferLOG file is very short. Can you just send the whole thing please? It appears just one 63 byte file gets transferred. Is Test.txt the only file in the BackupPC-Test share? BackupPC 3.3.1 with smb transfers checks for either of these two strings: "tar_process done, err = 0" and

Re: [BackupPC-users] rsync_bpc: write failed on "/path/dump.sql": Quota exceeded (122)

2018-10-13 Thread Craig Barratt via BackupPC-users
Please Google your os type + "quota". Here's a tutorial for Ubuntu / Debian . Craig On Sat, Oct 13, 2018 at 3:41 AM Oliver Lippert wrote: > Hey there, > > I used to run BackupPC for a while now and since some time I get errors in

Re: [BackupPC-users] fatal error during xfer (tar:632)

2018-10-13 Thread Craig Barratt via BackupPC-users
gt; > On 11/10/2018 23:44, Craig Barratt wrote: > > >[...] > > >What version of tar are you using? Can you run gnu tar instead (that's > the default under cygwin)? > > >[...] > > > > $ apt-cache policy tar > > tar: > > Installed: 1.28-

Re: [BackupPC-users] syncing local and cloud backups

2018-10-11 Thread Craig Barratt via BackupPC-users
I'd recommend just using rsync if you want to make a remote copy of the cpool, pc and conf directories, to a place that BackupPC doesn't back up. Craig On Thu, Oct 11, 2018 at 10:22 AM Mike Hughes wrote: > Hi BackupPC users, > > Similar questions have come up a few times but I have not found

Re: [BackupPC-users] fatal error during xfer (tar:632)

2018-10-11 Thread Craig Barratt via BackupPC-users
Paul, BackupPC looks at the status / summary messages from tar to determine if the transfer completed successfully. That means it depends on the type and version of tar you are using. It's reporting that the last output line from tar was "632 tar_process done, err = 0". I don't think that's a

Re: [BackupPC-users] Rsync issue

2018-10-09 Thread Craig Barratt via BackupPC-users
Matt, I'm happy to take a look at the logs. The "io timeout after 72035 seconds" suggests something has stalled, and we'd like to find out what is going on just before that. Yes, the first step will be to increase the XferLogLevel to see what is happening before things stall. Maybe try 5?

Re: [BackupPC-users] turn off PoolV3Enabled

2018-09-21 Thread Craig Barratt via BackupPC-users
Ideally you should turn it off after all V3 pool files have either been migrated to the V4 pool (because a new V4 backup matched the old pool file) or have been deleted (because no backups refer to them). You can tell this from the status message: Pool is X+YGiB comprising... X is the V4 pool

Re: [BackupPC-users] BackupPC 4.2.1 apparently in an infinite loop.

2018-09-21 Thread Craig Barratt
nf{RsyncArgs} (which increases the logging level from the remote (client) rsync). Craig On Thu, Sep 20, 2018 at 10:10 PM G.W. Haywood via BackupPC-users < backuppc-users@lists.sourceforge.net> wrote: > Hi there, > > Thanks for your reply. > > On Thu, 20 Sep 2018, Craig Barratt wro

Re: [BackupPC-users] BackupPC 4.2.1 apparently in an infinite loop.

2018-09-20 Thread Craig Barratt via BackupPC-users
First, this error message looks like just a bug in the message text: it shouldn't be concatenating those paths: RmTreeQuietInner: > /mnt/3TLV/backuppc/pc/kestrel/268//var/lib/backuppc/pc/kestrel/268/X > isn't a directory (while removing > /var/lib/backuppc/pc/kestrel/268/X/f.cache) Back

Re: [BackupPC-users] Problem trying to restore to remote host

2018-09-20 Thread Craig Barratt via BackupPC-users
Steve, What version of BackupPC are you using? It looks like you are trying to restore /Users/dickk/Desktop and /User/dickk/Documents to another share (/Shared Items/Net Programs) and path (/Ministry/DickK_Restore/). The "Trimming /dickk from filesList" looks correct; it's the common path in

Re: [BackupPC-users] Troubleshooting assistance for Bad Transfer

2018-08-28 Thread Craig Barratt via BackupPC-users
Either use the CGI interface to display the XferLOG file, or use BackupPC_zcat from the command line. Craig On Tue, Aug 28, 2018 at 9:25 PM Jaime Fenton wrote: > Hi there, > > > > On advice from craigbarrett, I’m posting this query here. > > > > https://github.com/backuppc/backuppc/issues/218

Re: [BackupPC-users] Got fatal error during xfer (No files dumped for share E)

2018-08-21 Thread Craig Barratt via BackupPC-users
What versions of BackupPC and smbclient are you using? Craig On Mon, Aug 20, 2018 at 10:16 PM jose marquez wrote: > Hello, I recently was given a Dell Precision T1500 and decided to finally > make a backup server. I wanted to backup my storage drive (Drive letter E) > offsite automatically

Re: [BackupPC-users] installation help

2018-08-08 Thread Craig Barratt via BackupPC-users
m all ears! I must have missed the memo! > > > > *From:* Craig Barratt via BackupPC-users < > backuppc-users@lists.sourceforge.net> > *Sent:* Wednesday, August 8, 2018 13:26 > *To:* General list for user discussion, questions and support < > backuppc-users@lists.sourcefor

Re: [BackupPC-users] installation help

2018-08-08 Thread Craig Barratt via BackupPC-users
POSIX_ACL=y > > CONFIG_GENERIC_ACL=y > > CONFIG_TMPFS_POSIX_ACL=y > > CONFIG_NFS_V3_ACL=y > > CONFIG_NFSD_V2_ACL=y > > CONFIG_NFSD_V3_ACL=y > > CONFIG_NFS_ACL_SUPPORT=m > > CONFIG_CEPH_FS_POSIX_ACL=y > > CONFIG_CIFS_ACL=y > > > > Am I mak

Re: [BackupPC-users] installation help

2018-08-07 Thread Craig Barratt via BackupPC-users
Mike, You have to build and install backuppc-xs first. Also, makeDist needs a --version argument. The wiki has an example script for building from git. Craig On Tue, Aug 7, 2018 at 10:26 PM

Re: [BackupPC-users] Tricks for Win 10 SMB Backup?

2018-07-29 Thread Craig Barratt via BackupPC-users
What is the value of $Conf{SmbClientFullCmd} and what is the smb command that is being run (see the XferLOG file)? Craig On Sun, Jul 29, 2018 at 12:22 PM Tim Evans wrote: > Unable to connect to a new Windows 10 client via SMB for backup. > Command-line testing with 'smbclient' works ok: > > $

Re: [BackupPC-users] cpool directory twice as big as reported and missing pool files reported by BackupPC_refCountUpdate

2018-07-29 Thread Craig Barratt via BackupPC-users
Cody, There were some bugs in earlier versions of 4.x that could cause missing pool files. But they have been fixed for some time. How did you determine the cpool directory size (eg, du -sh)? At any point did you run backups with compression off? Here's how to find which backup is referencing

Re: [BackupPC-users] Xfer errors

2018-07-29 Thread Craig Barratt via BackupPC-users
Pete, Can you send me more lines from the XferLOG file for a full backup? Ideally the entire log file, or otherwise several hundred lines before and after the errors. Craig On Fri, Jun 29, 2018 at 4:53 AM Pete Geenhuizen wrote: > I'm running BackupPC 4.2.1 on CentOS 7.5 using rsync and it's

Re: [BackupPC-users] Old data in Windows backups

2018-07-29 Thread Craig Barratt via BackupPC-users
Let's start with your 4.1.5 BackupPC. Does your $Conf{RsyncArgs} include the --delete option? If not, add it. If so, I'd be curious to see a portion of the XferLOG file for a full backup of a directory where old files remain. Craig On Fri, Jul 20, 2018 at 2:04 AM B Consultants wrote: >

Re: [BackupPC-users] File Size/Count Reuse Summary

2018-06-28 Thread Craig Barratt via BackupPC-users
The screenshot you sent doesn't show the message "0 files in pool". What status information are you referring to? Craig On Thu, Jun 28, 2018 at 1:05 PM Kbtest Testar wrote: > Hi... > > I dont understand , it says it 0 files in the pool but I have been > running several backups so it should

Re: [BackupPC-users] backuppc 4.2.1 perl issue

2018-06-13 Thread Craig Barratt via BackupPC-users
b.io/backuppc;>Homepage > > > > > > > > Â Â Â BackupPC Server Status > > > > > > > > Â Â Â Currently Running Jobs > > > > > > > > Host > > Â Â Â Type > > Â Â Â User > > Â Â Â Start Time >

Re: [BackupPC-users] backuppc 4.2.1 perl issue

2018-06-12 Thread Craig Barratt via BackupPC-users
Some random questions: What's the very first line of BackupPC_Admin? Could this be some sort of selinux issue? What happens when you manually run BackupPC_Admin (as the backuppc user)? What user is apache running as? Craig On Tue, Jun 12, 2018 at 7:17 PM, mlm wrote: > > > On 6/12/2018 8:10

Re: [BackupPC-users] Backuppc hangs on certain files.

2018-05-30 Thread Craig Barratt via BackupPC-users
Brent, First you should tell us which versions of rsync, BackupPC and rsync-bpc you are using. If they are old, you should upgrade and try again. Assuming you are using relatively recent versions (ie, at least 4.1.x), you should run the restore with a high level of debug logging. Specifically:

Re: [BackupPC-users] getaddrinfo is not a valid Socket macro after Update to version 4.0.0

2018-05-23 Thread Craig Barratt via BackupPC-users
Diane, That problem is related to the old version of perl and Socket you are running. This was fixed in BackupPC version 4.1.1 last year (it detects which version of Socket you are using, and defaults to old interface if necessary). I strongly recommend upgrading to the most recent version of

Re: [BackupPC-users] Incremental backups succeed, full backups fail.

2018-05-17 Thread Craig Barratt via BackupPC-users
Please email me the entire XferLOG file (or the first ~100 lines if it's too big). Please also tell me your settings for $Conf{XferMethod}, $Conf{RsyncArgs}, $Conf{RsyncFullArgsExtra}, $Conf{RsyncClientPath}, $Conf{RsyncSshArgs}, and $Conf{RsyncArgsExtra}. What is your client's rsync version?

Re: [BackupPC-users] how can I identify in which backup a certain file is?

2018-05-16 Thread Craig Barratt via BackupPC-users
BackupPC_zcat. Craig On Wed, May 16, 2018 at 10:30 PM, Michael Schumacher < michael.schumac...@pamas.de> wrote: > Thanks Robert, > > this is not very comfortable, but it works. > > I assume that there is no interest to have such a function integrated > into BackupPC. > > Btw., what program

Re: [BackupPC-users] since upgrading to 4.0 I can no longer do full backups

2018-05-15 Thread Craig Barratt via BackupPC-users
it. > > Thanks again, I really appreciate your help and backup pc is the best, > have used it for ever. > > Paul > > > On May 15, 2018 at 4:45:46 PM, Craig Barratt via BackupPC-users ( > backuppc-users@lists.sourceforge.net) wrote: > > On your client the rsyncd.c

Re: [BackupPC-users] since upgrading to 4.0 I can no longer do full backups

2018-05-15 Thread Craig Barratt via BackupPC-users
ribFiles = 0 > rsync: on remote machine: -slHogDtprc: unknown option > > > > On May 15, 2018 at 3:28:04 PM, Craig Barratt via BackupPC-users ( > backuppc-users@lists.sourceforge.net) wrote: > > Ok, you are using rsyncd, so $Conf{RsyncSshArgs} doesn't matter. > > It seems

Re: [BackupPC-users] since upgrading to 4.0 I can no longer do full backups

2018-05-15 Thread Craig Barratt via BackupPC-users
roup', > > '-D', > > '--links', > > '--hard-links', > > '--times', > > '--block-size=2048', > > '--recursive' > > ]; > > > Appreciate your help - thanks > > Paul > > On May 15, 2018 at 1:04:19 PM, Craig Barratt via B

Re: [BackupPC-users] since upgrading to 4.0 I can no longer do full backups

2018-05-15 Thread Craig Barratt via BackupPC-users
Please send the first part of the log file with the full rsync command (feel free to redact confidential arguments, but maintain any special characters etc). Also send this client's settings for $Conf{RsyncSshArgs}, $Conf{RsyncClientPath}, $Conf{RsyncBackupPCPath}, $Conf{RsyncFullArgsExtra} and

[BackupPC-users] BackupPC 4.2.1 released

2018-05-12 Thread Craig Barratt via BackupPC-users
BackupPC 4.2.1 has been released on Github. The changes since 4.2.0 are listed below. This release allows the new backup delete CGI feature to be disabled for users and/or admins,

Re: [BackupPC-users] BackupPC 4.2.0 released

2018-05-05 Thread Craig Barratt via BackupPC-users
in the foot" button in the web interface, nothing more. > > There will always be people who use BackupPC somewhere in between those > scenarios, so yes, why not give them the option of deleting backups through > the web interface? > > > It is a great feature to have, espec

Re: [BackupPC-users] about installation of backuppc 4.2.0 on CentOS 7

2018-05-02 Thread Craig Barratt via BackupPC-users
Luigi, It looks like the CGI script is running correctly, but the static web data (CSS, images etc) are not being loaded. Inspect the page source. The first few lines should include things like this: On the BackupPC side, the path to those files in the html is specified by

Re: [BackupPC-users] tarExtract: Can't use an undefined value as a HASH

2018-04-28 Thread Craig Barratt via BackupPC-users
Tarak (SSC/SPC) < tarak.pa...@canada.ca> wrote: > Hi Craig, > > > > I will collect logs with XferLogLevel set to 5 of a failure and keep you > posted. > > > > Thanks, > > > Tarak > > > > *From:* Craig Barratt via BackupPC-users [mailto:backu

Re: [BackupPC-users] tarExtract: Can't use an undefined value as a HASH

2018-04-26 Thread Craig Barratt via BackupPC-users
Can you increase the log level (XferLogLevel) to, eg, 5 and send me either the whole log file, or at a minimum the last few hundred lines up to and including the error? Just send it directly to me, and not to the list, or we could use Google drive or dropbox etc. Thanks, Craig On Thu, Apr 26,

Re: [BackupPC-users] BackupPC 4.2.0 released

2018-04-20 Thread Craig Barratt via BackupPC-users
, Steve Palm <n9...@n9yty.com> wrote: > > On Apr 16, 2018, at 7:47 AM, Ghislain Adnet <gad...@aqueos.com> wrote: > > Le 15/04/2018 à 01:10, Craig Barratt via BackupPC-users a écrit : > >> BackupPC 4.2.0 <https://github.com/backuppc/backuppc/releases/tag/

Re: [BackupPC-users] Cryptic logs

2018-04-14 Thread Craig Barratt via BackupPC-users
It's probably benign (sorry I can't be very definitive). Just to be safe, you could browse the backup tree to make sure those files are stored correctly. This is pretty old code; you should consider upgrading to 4.x. Craig On Sat, Apr 14, 2018 at 3:00 PM, B wrote: > Hi

[BackupPC-users] BackupPC 4.2.0 released

2018-04-14 Thread Craig Barratt via BackupPC-users
BackupPC 4.2.0 has been released on Github. The changes since 4.1.5 are listed below. The biggest change is a new feature in the web interface written by @moisseev that allows

Re: [BackupPC-users] Delete files from Backups

2018-04-08 Thread Craig Barratt via BackupPC-users
4.x includes BackupPC_backupDelete, which is the reliable way to delete entire backups, or portions of backups. Since 4.x maintains reference counts instead of using hardlinks, BackupPC_backupDelete has to be careful to update the reference counts after deleting something. Here's the usage:

Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

2018-03-15 Thread Craig Barratt via BackupPC-users
Marc, What is in the XferLOG file for the failed backup? Craig On Tue, Mar 13, 2018 at 2:58 PM, Robert Trevellyan < robert.trevell...@gmail.com> wrote: > That's actually a slightly different error (io.c(1556) instead of > io.c(629)). It's possible that browsing the source code of io.c would

Re: [BackupPC-users] bpc_read error messages

2018-02-18 Thread Craig Barratt via BackupPC-users
No, those are recently added warnings as part of a fix for the case where the pool file is actually smaller than the file size in the attributes. In your case, the file size from the attributes is 18446744073709551613 (64 bit unsigned -3). I'm not sure how it got that way (possibly some

Re: [BackupPC-users] bpc_read error messages

2018-02-18 Thread Craig Barratt via BackupPC-users
No, those are recently added warnings as part of a fix for the case where the pool file is actually smaller than the file size in the attributes. In your case, the file size from the attributes is 18446744073709551613 (64 bit unsigned -3). I'm not sure how it got that way (possibly some

Re: [BackupPC-users] Serious error: last backup ... directory doesn't exist!!!

2018-02-03 Thread Craig Barratt via BackupPC-users
.de> wrote: > Dear Craig, > > On Fri, Feb 02, 2018 at 09:19:02AM -0800, Craig Barratt via BackupPC-users > wrote: > > Here are a few things to check: > > > >- can you manually create files and directories below > /vol/bpc4/BackupPC > >as the backup

Re: [BackupPC-users] Serious error: last backup ... directory doesn't exist!!!

2018-02-02 Thread Craig Barratt via BackupPC-users
fsck. Craig On Fri, Feb 2, 2018 at 9:19 AM, Craig Barratt < cbarr...@users.sourceforge.net> wrote: > Here are a few things to check: > >- can you manually create files and directories below >/vol/bpc4/BackupPC as the backuppc user (eg, "su backuppc; cd >/vo

Re: [BackupPC-users] Serious error: last backup ... directory doesn't exist!!!

2018-02-02 Thread Craig Barratt via BackupPC-users
Here are a few things to check: - can you manually create files and directories below /vol/bpc4/BackupPC as the backuppc user (eg, "su backuppc; cd /vol/bpc4/BackupPC; mkdir foo; rmdir foo; touch foobar; rm foobar") - is the file system mounted readonly? - has the backuppc user

Re: [BackupPC-users] No files dumped for share for localhost

2018-01-29 Thread Craig Barratt via BackupPC-users
Please remove the -q option. Try adding -v (or even -vv) to the ssh args. What happens if you run some other command, eg, /bin/date? What happens if you run some path that doesn't exist, eg, /bin/foobar. Examples: /usr/bin/ssh -v -x -l backuppc localhost /bin/date /usr/bin/ssh -v -x -l

Re: [BackupPC-users] No files dumped for share for localhost

2018-01-29 Thread Craig Barratt via BackupPC-users
What happens when you run this command as the backuppc user? su backuppc /usr/bin/ssh -q -x -l backuppc localhost /usr/local/bin/rsync --server --sender -svvlHogDtpre.iLsf Is there any output? Does it exit immediately? Craig On Mon, Jan 29, 2018 at 3:53 AM, RAKOTONDRAINIBE Harimino Lalatiana

Re: [BackupPC-users] backup failing with "No files dumped for share /"

2018-01-27 Thread Craig Barratt via BackupPC-users
Joel, Thanks for confirming. Those errors shouldn't appear on the next full backup. I just released rsync-bpc-3.0.9.12 with that fix. Craig On Wed, Jan 24, 2018 at 3:16 AM, Joel Uckelman <uckel...@nomic.net> wrote: > Thus spake Craig Barratt via BackupPC-users: > > Joel, &g

Re: [BackupPC-users] backup failing with "No files dumped for share /"

2018-01-27 Thread Craig Barratt via BackupPC-users
PIDs are now > > As I understand it's a problem with rsync-bpc but I didn't find any solution > to resolve it. > > Thank you, > > Hari > > > > > 2018-01-24 14:16 GMT+03:00 Joel Uckelman <uckel...@nomic.net>: > >> Thus spake Craig Barratt via BackupP

Re: [BackupPC-users] UPDATE: BackupPC_tarExtract exited with fail status 256

2018-01-21 Thread Craig Barratt via BackupPC-users
Tim, Can you send a failing XferLOG, or at least the interesting parts (eg, first and last ~100 lines) if it is too big)? Last week I pushed a commit that supports the pax format headers from smbclient for

Re: [BackupPC-users] BackupPC 3.3.0 does not traverse all hosts

2018-01-21 Thread Craig Barratt via BackupPC-users
The behavior shouldn't have changed. Here are some things to check: - the BackupPC server LOG file - any messages for hosts that you expect should start? - the host LOG file for a host that doesn't start - have blackouts changed in some way? - if you manually start a backup on one

Re: [BackupPC-users] backup failing with "No files dumped for share /"

2018-01-21 Thread Craig Barratt via BackupPC-users
Joel, It's hard to tell from the log. However, one thing worth trying is to build rsync-bpc 3.0.9 from current git, since there was a bug I fixed last week that could be related to this: mkdir somewhere cd somewhere git clone https://github.com/backuppc/rsync-bpc cd rsync-bpc git checkout 3.0.9

Re: [BackupPC-users] Bug in rsync_bpc --sparse?

2018-01-21 Thread Craig Barratt via BackupPC-users
if --sparse is specified. Craig On Fri, Dec 15, 2017 at 2:31 AM, Alexander Kobel <a-ko...@a-kobel.de> wrote: > Hi Craig, > > thanks for your swift reply. > > On 2017-12-15 05:17, Craig Barratt via BackupPC-users wrote: > >> Unfortunately sparse files are not supported by rsy

Re: [BackupPC-users] Share exclude lists among different servers

2018-01-21 Thread Craig Barratt via BackupPC-users
Alex, I added shareName substitution for RsyncArgs* in commit 0b6dee6 . Craig On Wed, Nov 29, 2017 at 3:34 AM, Alexander Kobel wrote: > Dear all, > > is there a good/clean/recommended

Re: [BackupPC-users] backuppc3.3.2.2 won't work after an OS upgrade

2018-01-18 Thread Craig Barratt via BackupPC-users
list > 2018-01-18 10:17:52 unix bind() failed: Permission denied > [1] + Done /usr/local/bin/BackupPC -d > > > Regards, > Hari > > 2018-01-18 10:16 GMT+03:00 Craig Barratt via BackupPC-users < > backuppc-users@lists.sourceforge.net>: > >

Re: [BackupPC-users] backuppc3.3.2.2 won't work after an OS upgrade

2018-01-17 Thread Craig Barratt via BackupPC-users
Those warnings are all benign and can be ignored. Back to your original email. After first confirming that BackupPC isn't running, what happens when you directly start BackupPC as the BackupPC user, eg: su backuppc /usr/local/bin/BackupPC -d & Do you get any errors? Is there anything written

Re: [BackupPC-users] Backup fails after upgrade to v4

2018-01-14 Thread Craig Barratt via BackupPC-users
Just a follow up for the list. This was a bug in rsync_bpc which has been fixed in github <https://github.com/backuppc/rsync-bpc/commit/361ddcd90bb2c3e233bbcd688028c0a5ff81115f> . Thanks to Aleks for the debugging help! Craig On Wed, Jan 10, 2018 at 2:53 PM, Craig Barratt &

Re: [BackupPC-users] Backup fails after upgrade to v4

2018-01-10 Thread Craig Barratt via BackupPC-users
> > [989735.607370] rsync_bpc[17687]: segfault at 7fe6e2e1c128 ip > 7fe6e421bdf0 sp 7ffe37536078 error 4 in > libc-2.24.so[7fe6e40f+195000] > > That's not good. I'd really like to get a stack trace or more information about where the segfault occurs. Can you build rsync_bpc from

Re: [BackupPC-users] V4 will not backup some directories

2018-01-08 Thread Craig Barratt via BackupPC-users
The default for a fresh install in V4 includes --one-file-system in $Conf{RsyncArgs} (for a V3->V4 upgrade, that option is not added or removed from the V3 settings). Trying removing the --one-file-system argument if you want it to behave like the default V3. Craig On Mon, Jan 8, 2018 at 5:21

Re: [BackupPC-users] Direct restore broken with BackupPC 4.1.x and SMB3?

2017-12-24 Thread Craig Barratt via BackupPC-users
This is a cross-post of the github issue you created 2 days ago. I responded there. Craig On Thu, Dec 21, 2017 at 2:28 PM, Jens Potthast < jens.potth...@innovation.uni-bremen.de> wrote: > Hello list! > After many hours of tests and research, I

Re: [BackupPC-users] File System containing backup was too full

2017-12-24 Thread Craig Barratt via BackupPC-users
This log message: 2017-12-19 01:00:00 24hr disk usage: 68% max, 68% recent, 0 skipped hosts correctly shows the disk usage, and also says that no hosts were skipped. Is there any chance you are running two different BackupPCs, and the 2nd one is on a different system that is in fact 96% full?

Re: [BackupPC-users] Trouble with restore

2017-12-24 Thread Craig Barratt via BackupPC-users
It looks like this issue was opened on github a couple of days ago. I responded there with some suggestions. Craig On Wed, Dec 13, 2017 at 10:50 AM, Holger Parplies wrote: > Hi, > > let's start over. > > Jens Potthast wrote

Re: [BackupPC-users] Problems with BackupPC - RSync

2017-12-24 Thread Craig Barratt via BackupPC-users
There could be a lot of reasons for this. Start by looking for errors in the server log file, and the XferLOG.bad.z file in the client's backup directory. Craig On Thu, Dec 14, 2017 at 8:10 AM, Jeffrey West via BackupPC-users < backuppc-users@lists.sourceforge.net> wrote: > All, > > > > I have

Re: [BackupPC-users] Where's the full backup the incrementals need?

2017-12-24 Thread Craig Barratt via BackupPC-users
In 4.x the incrementals are stored as deltas relative to the next (future) backup. So your unfilled backups #4 depends on #5, #5 depends on #6, and #6 depends on the filled (full) backup #7. Craig On Wed, Dec 13, 2017 at 1:16 PM, Jamie Burchell wrote: > Hey > > > > Am I

Re: [BackupPC-users] Bug in rsync_bpc --sparse?

2017-12-14 Thread Craig Barratt via BackupPC-users
Unfortunately sparse files are not supported by rsync_bpc, and there are no plans to do so. I should make it a fatal error if that option is specified. I believe a full backup (without --sparse of course) should update the files to their correct state. Craig On Thu, Dec 14, 2017 at 4:59 AM,

Re: [BackupPC-users] BackupPC 4.1.5 released (plus new versions of backuppc-xs and rsync-bpc)

2017-12-13 Thread Craig Barratt via BackupPC-users
, 2017 at 8:28 PM, Craig Barratt < cbarr...@users.sourceforge.net> wrote: > BackupPC 4.1.5 <https://github.com/backuppc/backuppc/releases/tag/4.1.5> has > been released on Github. > > New versions of BackupPC-XS 0.57 > <https://github.com/backuppc/backuppc-xs/releas

[BackupPC-users] BackupPC 4.1.5 released (plus new versions of backuppc-xs and rsync-bpc)

2017-12-03 Thread Craig Barratt via BackupPC-users
BackupPC 4.1.5 has been released on Github. New versions of BackupPC-XS 0.57 and rsync-bpc 3.0.9.9 have also been

Re: [BackupPC-users] Unable to read config.pl after BackupPC update

2017-11-27 Thread Craig Barratt
Jamie, The new config file looks fine to me: it doesn't have any syntax errors, and the values seem to be unchanged from the previous version. To confirm, does it still work correctly if you swap back in the old config file? Was BackupPC also upgraded? Craig On Mon, Nov 27, 2017 at 3:11 AM,

Re: [BackupPC-users] Don't expand first backed up directory by default?

2017-11-24 Thread Craig Barratt via BackupPC-users
Jamie, Unfortunately it's not easy to have none open, since the browse code assumes you have selected a particular share. How about this: by default it opens the last one, rather than the first? That way all the other shares will appear first. It's a very simple change if you want to try it.

Re: [BackupPC-users] Problem BackupPC 4 report double files count and size

2017-11-24 Thread Craig Barratt via BackupPC-users
This was fixed in this commit on July 30. Will be included in 4.1.4, to be released soon (hopefully). Craig On Fri, Nov 24, 2017 at 11:38 AM, Stéphane Bourque < stephane.bour...@croesus.com> wrote: > Hello,

Re: [BackupPC-users] rsync error buffer overflow

2017-11-24 Thread Craig Barratt via BackupPC-users
BackupPC 3.x uses older versions of the rsync protocol, which requires the entire file list to be stored in memory. BackupPC 4.x uses pretty up-to-date versions of rsync, which no longer requires the full file list to be stored. So it's likely that BackupPC 4.x will have a better chance of

Re: [BackupPC-users] Execute bash script after each share on backup server

2017-11-24 Thread Craig Barratt via BackupPC-users
> > But why Error 256 when it's 1? And the last Line the scripts outputs is: Perl shifts the exit status left by 8 bits, so the reported exit status is 256 times your program's exit status. 2017-11-23 16:18:08 Output from DumpPreShareCmd: ERROR: Index * on *** > corrupted or locked! I'm

Re: [BackupPC-users] Documentation version discrepancies

2017-11-24 Thread Craig Barratt via BackupPC-users
That snippet of text is from the 3.x documentation, where filling was indeed a legacy feature. It's not present in the 4.x documentation, where filling has another meaning and purpose. Craig On Wed, Nov 22, 2017 at 9:18 AM, Jamie Burchell wrote: > "Filling backups takes a

Re: [BackupPC-users] problem with samba

2017-11-24 Thread Craig Barratt via BackupPC-users
> > [root@barak ~]# smbclient //hayun-34/gis -U micha -E -d 3 -c tarmode full I believe you need to pass a single argument to -c, so either quote it, or add a backslash: [root@barak ~]# smbclient //hayun-34/gis -U micha -E -d 3 -c 'tarmode full' What is $Conf{SmbClientFullCmd} set to on this

Re: [BackupPC-users] Watching restore status

2017-11-24 Thread Craig Barratt via BackupPC-users
What BackupPC version and Xfer method are you using? Version 4.x with rsync does periodically report number of files transferred. You could look at the restore log file, but it isn't flushed to disk that often and it's compressed. Something like this should work: tail -c +0

Re: [BackupPC-users] problem with samba

2017-11-19 Thread Craig Barratt via BackupPC-users
Micha, I've tested Samba 4.7.0 and it works; I don't think the tar options have changed. The NT_STATUS_LOGON_FAILURE error shouldn't be bogus. But I can't explain why incrementals work. Can you experiment with running smbclient manually to see what options do and don't work? Craig On Thu,

Re: [BackupPC-users] PC Backup Genie message

2017-11-19 Thread Craig Barratt via BackupPC-users
> > Is there any easy way to make PC Backup Genie ignore this file during its > checks ? No, unfortunately it's not configurable. You could comment the code out in BackupPC_sendEmail if you want, specifically this line: push(@oldDirs, "$TopDir/pc/$host"); Craig On Thu, Nov 16, 2017 at

Re: [BackupPC-users] Documentation version discrepancies

2017-11-19 Thread Craig Barratt via BackupPC-users
To be clear, the documentation link in the BackupPC CGI interface (and all links for things like config parameters) point to the (locally stored) documentation for the version you are running. That way it's consistent with whatever version you are running. Craig On Sat, Nov 18, 2017 at 11:15

Re: [BackupPC-users] Upgrade v3 to v4.1.3: v3 pool is still very large

2017-11-05 Thread Craig Barratt via BackupPC-users
Chrisich, Do you have any hosts that didn't get backed up (or have backups disabled) during that period? Craig On Wed, Oct 4, 2017 at 8:27 AM, oetschi.ex...@bluewin.ch < oetschi.ex...@bluewin.ch> wrote: > Hello all of you, > > For years I am using backuppc and I like it very much. There is

Re: [BackupPC-users] Archive to tape library

2017-11-05 Thread Craig Barratt via BackupPC-users
No, this isn't supported. There are tools (like BackupPC_tarCreate) in BackupPC that could be used with external tools or scripts to write/manage tapes. Or you could run something like Bacula in parallel with BackupPC if you really want tapes. Craig On Thu, Oct 12, 2017 at 11:08 AM, Gandalf

Re: [BackupPC-users] BPC4: checksum

2017-11-05 Thread Craig Barratt via BackupPC-users
at's the difference between a filled backup and a full one? > > Currently I have set FullPeriod to 120 as we would like to only do > incrementals, but what's the fillcycle? > Doc's are unclear about this, at least for non native English readers > > > > > > Il 6 no

Re: [BackupPC-users] Backup hung well past timeout value

2017-11-05 Thread Craig Barratt via BackupPC-users
What's your BackupPC version and XferMethod? Craig On Wed, Oct 25, 2017 at 6:28 AM, Jenkins, Wade William wrote: > I’ve got the timeout for my backups set at 36000 seconds (10hrs). I’ve > currently got two backups that appear to have been hung/inactive for almost > 5 days. >

Re: [BackupPC-users] BPC4: checksum

2017-11-05 Thread Craig Barratt via BackupPC-users
Removing --checksum will make an rsync full behave just like an incremental. An equivalent, and clearer, way to do that is to only do incrementals. BackupPC 4.x allows you to do that. That can be accomplished by setting $Conf{FullPeriod} to a large value. You should also set $Conf{FillCycle}

Re: [BackupPC-users] Backups missing from webpage

2017-11-05 Thread Craig Barratt via BackupPC-users
Gerald, 3.1 is a pretty old version. But it includes a script bin/BackupPC_fixupBackupSummary which tries to re-create the backups file. I'd recommend making a backup copy of the backups file: su backuppc cd /var/lib/backuppc/pc/wpg-sbs.erlphase.com cp backups backups.save

Re: [BackupPC-users] Backup via FTP not using overrides

2017-11-05 Thread Craig Barratt via BackupPC-users
I'm not sure why those lines got commented out - clearly a mistake. Thanks for figuring it out. I just made a commit with them uncommented. Craig On Sun, Nov 5, 2017 at 12:13 PM, Adam W wrote: > After looking through the code, I noticed that the line to read in the >

Re: [BackupPC-users] Automatic backups not working

2017-10-07 Thread Craig Barratt via BackupPC-users
Have you looked in both the main server log, and the per-host log? An alternative is to manually run BackupPC_dump with the -v option. It should say what it's doing or not doing: su backuppcUser /usr/local/BackupPC/bin/BackupPC_dump -v HOST Also, please confirm that your HOST's (and/or main)

Re: [BackupPC-users] netbios name not retrieved

2017-10-01 Thread Craig Barratt via BackupPC-users
That's not the expected output from nmblookup for a valid netbios host name. If the host has a fixed IP address, it's much better to use that. You can use whatever host name you want, and set $Conf{ClientNameAlias} to its IP address. Craig On Fri, Sep 29, 2017 at 6:11 AM, François Dagorn

<    1   2   3   4   5   6   7   8   9   10   >