Re: [BackupPC-users] Backing up /home from a cPanel Server

2020-02-20 Thread Jeffrey West via BackupPC-users
I am wondering it SELinux might be affecting the backup.  On the CPanel
server have you tried running

setenforce 0

Then try another backup and see if anything changes.   If not, then you
can turn it back on with

setenforce 1

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell    407-925-7030
www.riptidesoftware.com

-Original Message-
From: Way3.com Info 
Sent: Thursday, February 20, 2020 2:38 PM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Backing up /home from a cPanel Server

My backuppc application is running without issues.

I have recently added a new server to be backed up via Backuppc.  This new
server is a cPanel server.  All my other servers on backuppc are not
cPanel.

I am able to connect and able to backup all of the system files on the new
server, etc, but it will not backup the contents of /home

Here are the contents of the log file:

2020-02-20 13:35:21 incr backup started back to 2020-02-20 10:50:36
(backup
#2) for directory /
2020-02-20 13:38:34 incr backup started back to 2020-02-20 10:50:36
(backup
#2) for directory /home/
2020-02-20 13:38:34 incr backup 3 complete, 37 files, 2547998 bytes, 438
xferErrs (0 bad files, 0 bad shares, 438 other)

I am using rsync to do the backup.

Any suggestions?

Thanks!



___
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 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] Host key verification failed

2019-11-08 Thread Jeffrey West via BackupPC-users
Glad you got it working.  Once I saw Marki’s reply, I knew he probably had
the correct solution.



Jeff West

Systems Engineer

Riptide Software

Office 321-296-7724 ext 216

Direct 407-542-7697

Cell407-925-7030

www.riptidesoftware.com



*From:* marki 
*Sent:* Friday, November 8, 2019 4:37 PM
*To:* Derek Stevens ; backuppc-users@lists.sourceforge.net
*Subject:* Re: [BackupPC-users] Host key verification failed



Gladly.

But this has nothing to do with "routing".
So "freenas" even resolves to a different IP? I believe even if it resolved
to the provided IP, SSH might still make a difference between using the
hostname and the IP, so there you go ;)

On November 8, 2019 10:12:16 PM GMT+01:00, Derek Stevens 
wrote:

Ok, so for whatever reason the freenas hostname in our network doesn't
route to this IP, so I removed the alias and everything is working now
(after setting RsyncClientCmd to the correct path).

Thanks for helping me figure out where the problem was! I appreciate it!

On 11/8/19 3:21 PM, marki wrote:

 Are you using the IP address 192.168 and the host name (freenas)
 interchangeably?

 Try sshing into the client using both please. Even though it's the
 same host, ssh doesn't treat it as such automatically I guess.

 On November 8, 2019 8:33:25 PM GMT+01:00, Derek Stevens
  wrote:

 Marki,

 When I say "to the client from the server" I mean that am initiating SSH
 and Rsync from the BackupPC server to the backup client.

 I agree that it makes no sense, that's why I'm stumped and I'm writing you.

 Here's an ssh into the backup client:
 # su backuppc
 [backuppc@piholeserver nilix]$ ssh root@192.168.14.149
 Last login: Fri Nov  8 11:41:30 2019 from 192.168.14.176
 FreeBSD 11.2-STABLE (FreeNAS.amd64) #0 r325575+3b66a34f3aa(HEAD): Wed
 Feb 27 14:31:54 EST 2019

   FreeNAS (c) 2009-2019, The FreeNAS Development Team
   All rights reserved.
   FreeNAS is released under the modified BSD license.

   For more information, documentation, help or support, go here:
   http://freenas.org
 Welcome to FreeNAS

 Warning: settings changed through the CLI are not written to
 the configuration database and will be reset on reboot.

 root@freenas[~]#


 Here is an rsync from the BackupPC server, copying a file from the
 client onto the server:
 [backuppc@piholeserver ~]$ rsync
 root@192.168.14.149:/mnt/MandA-Server-Pool-1/Shop-Dataset/xkcd/h
 ard_reboot.png ./
 [backuppc@piholeserver ~]$ ls
 dead.letter  hard_reboot.png

 Here is the config for the client:

 $Conf{ClientNameAlias} = [
 'freenas'
 ];
 $Conf{PingMaxMsec} = 300;
 $Conf{RsyncShareName} = [
 '/mnt/MandA-Server-Pool-1/Shop-Dataset'
 ];
 $Conf{XferMethod} = 'rsync';
 $Conf{RsyncSshArgs} = [
 '-e',
 '$sshPath -i ~/.ssh/id_rsa -l root'
 ];
 $Conf{XferLogLevel} = 5;

 And lastly, here is the log from the failed XFER

 XferLOG file /media//pc/192.168.14.149/XferLOG.0.z created
2019-11-08 19:21:54
 Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0,
newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =
(FillCycle = 0, noFillCnt = )
 Running: /usr/local/bin/rsync_bpc --bpc-top-dir /media/
--bpc-host-name 192.168.14.149 --bpc-share-name
/mnt/MandA-Server-Pool-1/Shop-Dataset --bpc-bkup-num 0 --bpc-bkup-comp
3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2
--bpc-attrib-new --bpc-log-level 5 -e /usr/bin/ssh\ -i\ ~/.ssh/id_rsa\
-l\ root --super --recursive --protect-args --numeric-ids --perms
--owner --group -D --times --links --hard-links --delete
--delete-excluded --one-file-system --partial --log-format=log:\ %o\
%i\ %B\ %8U,%8G\ %9l\ %f%L --stats --checksum --timeout=72000
freenas:/mnt/MandA-Server-Pool-1/Shop-Dataset/ /
 full backup started for directory /mnt/MandA-Server-Pool-1/Shop-Dataset
 Xfer PIDs are now 11698
 This is the rsync child about to exec /usr/local/bin/rsync_bpc
 bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0,
KeepOldAttribFiles = 0
 Host key verification failed.
 rsync_bpc: connection unexpectedly closed (0 bytes received so
far) [Receiver]
 bpc_sysCall_cleanup: doneInit = 1
 Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0
filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 2 inode
 Parsing done: nFilesTotal = 0
 rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2.1]
 rsync_bpc exited with fatal status 255 (65280) (rsync error:
unexplained error (code 255) at io.c(226) [Receiver=3.1.2.1])
 Xfer PIDs are now
 Got fatal error during xfer (No files dumped for share
/mnt/MandA-Server-Pool-1/Shop-Dataset)
 Backup aborted (No files dumped for share
/mnt/MandA-Server-Pool-1/Shop-Dataset)
 BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 1,
inPlace =

Re: [BackupPC-users] Host key verification failed

2019-11-08 Thread Jeffrey West via BackupPC-users
Are the permissions on the host key 600 ?

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell407-925-7030
www.riptidesoftware.com

-Original Message-
From: Derek Stevens via BackupPC-users

Sent: Friday, November 8, 2019 2:33 PM
To: marki ;
backuppc-users@lists.sourceforge.net
Cc: Derek Stevens 
Subject: Re: [BackupPC-users] Host key verification failed

Marki,

When I say "to the client from the server" I mean that am initiating SSH and
Rsync from the BackupPC server to the backup client.

I agree that it makes no sense, that's why I'm stumped and I'm writing you.

Here's an ssh into the backup client:
# su backuppc
[backuppc@piholeserver nilix]$ ssh root@192.168.14.149 Last login: Fri Nov
8 11:41:30 2019 from 192.168.14.176 FreeBSD 11.2-STABLE (FreeNAS.amd64) #0
r325575+3b66a34f3aa(HEAD): Wed Feb 27 14:31:54 EST 2019

 FreeNAS (c) 2009-2019, The FreeNAS Development Team
 All rights reserved.
 FreeNAS is released under the modified BSD license.

 For more information, documentation, help or support, go here:
 http://freenas.org
Welcome to FreeNAS

Warning: settings changed through the CLI are not written to the
configuration database and will be reset on reboot.

root@freenas[~]#


Here is an rsync from the BackupPC server, copying a file from the client
onto the server:
[backuppc@piholeserver ~]$ rsync
root@192.168.14.149:/mnt/MandA-Server-Pool-1/Shop-Dataset/xkcd/h
ard_reboot.png ./
[backuppc@piholeserver ~]$ ls
dead.letter  hard_reboot.png

Here is the config for the client:

$Conf{ClientNameAlias} = [
   'freenas'
];
$Conf{PingMaxMsec} = 300;
$Conf{RsyncShareName} = [
   '/mnt/MandA-Server-Pool-1/Shop-Dataset'
];
$Conf{XferMethod} = 'rsync';
$Conf{RsyncSshArgs} = [
   '-e',
   '$sshPath -i ~/.ssh/id_rsa -l root'
];
$Conf{XferLogLevel} = 5;

And lastly, here is the log from the failed XFER

XferLOG file /media//pc/192.168.14.149/XferLOG.0.z created 2019-11-08
19:21:54 Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0,
newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle =
0, noFillCnt = )
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /media/ --bpc-host-name
192.168.14.149 --bpc-share-name
/mnt/MandA-Server-Pool-1/Shop-Dataset --bpc-bkup-num 0 --bpc-bkup-comp
3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0
2 --bpc-attrib-new --bpc-log-level 5 -e /usr/bin/ssh\ -i\ ~/.ssh/id_rsa\ -l\
root --super --recursive --protect-args --numeric-ids --perms --owner --group
 -D --times --links --hard-links --delete --delete-excluded --one-file-system
 --partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\
%f%L --stats --checksum --timeout=72000
freenas:/mnt/MandA-Server-Pool-1/Shop-Dataset/ / full backup started for
directory /mnt/MandA-Server-Pool-1/Shop-Dataset
Xfer PIDs are now 11698
This is the rsync child about to exec /usr/local/bin/rsync_bpc
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles =
0 Host key verification failed.
rsync_bpc: connection unexpectedly closed (0 bytes received so far)
[Receiver]
bpc_sysCall_cleanup: doneInit = 1
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 2 inode Parsing done:
nFilesTotal = 0 rsync error: unexplained error (code 255) at io.c(226)
[Receiver=3.1.2.1] rsync_bpc exited with fatal status 255 (65280) (rsync
error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2.1]) Xfer
PIDs are now Got fatal error during xfer (No files dumped for share
/mnt/MandA-Server-Pool-1/Shop-Dataset)
Backup aborted (No files dumped for share
/mnt/MandA-Server-Pool-1/Shop-Dataset)
BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 1, inPlace =
1, lastBkupNum = Removing empty backup #0 Xfer PIDs are now 11704
BackupPC_backupDelete: removing #0
BackupPC_backupDelete: No prior backup for merge Xfer PIDs are now
11704,11705
BackupPC_refCountUpdate: computing totals for host 192.168.14.149
BackupPC_refCountUpdate: host 192.168.14.149 got 0 errors (took 0 secs)
BackupPC_refCountUpdate total errors: 0 Xfer PIDs are now 11704
BackupPC_backupDelete: got 0 errors
Xfer PIDs are now
Finished BackupPC_backupDelete, status = 0 (running time: 2 sec) Xfer PIDs
are now Running BackupPC_refCountUpdate -h 192.168.14.149 -f on
192.168.14.149 Xfer PIDs are now 11706
BackupPC_refCountUpdate: computing totals for host 192.168.14.149
BackupPC_refCountUpdate: host 192.168.14.149 got 0 errors (took 0 secs)
BackupPC_refCountUpdate total errors: 0 Xfer PIDs are now Finished
BackupPC_refCountUpdate (running time: 1 sec) Xfer PIDs are now

On 11/8/19 1:50 PM, marki wrote:
> You write "to the client from the server". You probably mean from the
> client to the server.
>
> Also, the host key of the server is stored in known_hosts, it's not
> the same as the identity key used for auth. Read up on ssh.
>
> I makes no sense to fail when you run it via backuppc when 

Re: [BackupPC-users] Cant Rsync between Freenass and Win10

2019-04-13 Thread Jeffrey West via BackupPC-users
Dan,



I have you tried using DeltaCopy instead?  I don’t encrypt my backups with
SSH, and it has worked perfect for me on the clients.



http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp



Jeff West

Systems Engineer

Riptide Software

Office 321-296-7724 ext 216

Direct 407-542-7697

Cell407-925-7030

www.riptidesoftware.com



*From:* dan aneas 
*Sent:* Saturday, April 13, 2019 1:17 PM
*To:* BackupPC-users@lists.sourceforge.net
*Subject:* [BackupPC-users] Cant Rsync between Freenass and Win10



Dear all,



I have been trying many things (during 2 weeks now) to make it works
with no success so I wish to get some help here.

My setup is the following :

A freeNass11.2-u3 with a jail running Backuppc, for this I follow the
well written tutorial by JM BARDOU here :
https://www.ixsystems.com/community/threads/step-by-step-guide-for-backuppc-4-in-a-jail-on-freenas.74080/



>From the Win10 side, I installed rsyncd, setup config and secret file
add rules to firewall as described in this other tutorial
https://www.drivemeca.com/backuppc-client/

Pings works well in each direction.

But can't manage to make it works. Always get this error:



019-04-13 10:05:21 Started full backup on 192.168.8.100
 (pid=39826,
share=Desktop)

2019-04-13 10:06:42 Backup failed on 192.168.8.100
 (rsync
error: error in socket IO (code 10) at clientserver.c(125)
[Receiver=3.1.2.0]



Thanks in advance for any helps ;)

Dan
___
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] Problems with backups

2018-03-13 Thread Jeffrey West via BackupPC-users
All,



BackupPC recently is not keeping partial backups when the network gets
disconnected, etc.   I am seeing this in the log files.



2018-03-12 06:26:44 full backup started for directory c-drive

2018-03-12 09:14:05 full backup 0 complete, 32549 files, 68399765172 bytes,
39 xferErrs (0 bad files, 0 bad shares, 39 other)

2018-03-12 09:14:05 removing full backup 0

2018-03-12 19:22:30 full backup started for directory c-drive

2018-03-12 21:34:36 full backup 0 complete, 32603 files, 68371945446 bytes,
37 xferErrs (0 bad files, 0 bad shares, 37 other)

2018-03-12 21:34:36 removing full backup 0

2018-03-13 02:47:14 full backup started for directory c-drive

2018-03-13 04:43:15 full backup 0 complete, 32599 files, 68405966752 bytes,
50 xferErrs (0 bad files, 0 bad shares, 50 other)

2018-03-13 04:43:15 removing full backup 0



Any idea how to change it so it keeps at least a partial backups instead of
deleting it.



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
--
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/


[BackupPC-users] Problems with BackupPC

2018-03-05 Thread Jeffrey West via BackupPC-users
All,



We have been using BackupPC for quite a while and find it very useful.  We
had a failure of our NAS and unfortunately lost our backups.  We rebuilt
the array and setup the backups again, which seem to be working.  Some
clients, including my own machine are not getting backed up.  The web
interface is showing the Last attempt as “Done”, but no files are saved.
When it is backing up, I can see files that it is backing up.   For some
reason it is not even keeping a partial backup.   I am using rsyncd with
the following settings.  Any ideas?



[root@backuppc pc]# cat l-jwest17b.corpnet.com.pl

$Conf{RsyncdClientPort} = 873;

$Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com';

$Conf{XferMethod} = 'rsyncd';

$Conf{FullAgeMax} = 8;

$Conf{RsyncdUserName} = 'backup';

$Conf{RsyncdPasswd} = 'backup';

$Conf{RsyncShareName} = [

  'c-drive'

];

$Conf{BackupFilesExclude} = {

  #Windows 7/Vista 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/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',

'Thumbs.db',

'IconCache.db',

'Cache*',

'cache*',



#Installation folders and system data

'/Program Files',

'/Program Files (x86)',

'/Windows',

'/$Recycle.Bin',

'/MSOCache',

'/System Volume Information',

'/Boot',

'/autoexec.bat',

'/bootmgr',

'/BOOTSECT.BAK',

'/config.sys',

'/hiberfil.sys',

'/pagefile.sys'

  ]

};





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
--
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/


[BackupPC-users] Problems with BackupPC - RSync

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



I have been using rsync to backup my windows workstations.  I have some
machines that are not backing up, even though I can manually rsync with
their machine from the BackupPC server.  BackupPC tries to backup, but
doesn’t even save a partial backup if it gets disconnected.   Is there some
way to change this?





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
--
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] Backing up Windows using rsync

2017-09-21 Thread Jeffrey West via BackupPC-users
Holger,

Awesome catch!  I didn't even notice the difference in capitalization.

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell    407-925-7030
www.riptidesoftware.com

-Original Message-
From: Holger Parplies [mailto:wb...@parplies.de]
Sent: Thursday, September 21, 2017 10:58 AM
To: Jeffrey West via BackupPC-users 
Cc: Les Mikesell ; Jeffrey West

Subject: Re: [BackupPC-users] Backing up Windows using rsync

Hi,

just for the record,

Jeffrey West via BackupPC-users wrote on 2017-09-19 12:10:56 -0400 [Re:
[BackupPC-users] Backing up Windows using rsync]:
> [...]
>
> $Conf{XferMethod} = 'rsyncd';
> $conf{RsyncShareName} = 'c-drive';

you need to assign to the correct variable - it's %Conf ... %conf is
simply a different (unused) variable. The assignment itself is valid, it
just doesn't do what you want.

> [...]

Jeffrey West via BackupPC-users wrote on 2017-09-19 15:21:11 -0400 [Re:
[BackupPC-users] Backing up Windows using rsync]:
> [...]
> The following is what works.  The RsyncShareName needed [ ]

Your conclusion is incorrect. It needed a capital C. The array form is
optional. See the comments in config.pl.

> $Conf{RsyncShareName} = [
>   'c-drive'
> ];

That works, as would have

  $Conf {RsyncShareName} = 'c-drive';

Regards,
Holger

--
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] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
Les,

Thanks!  I didn't realize you could edit the individual configs from the web
interface.  The syntax was wrong and it is working now.   The following is
what works.  The RsyncShareName needed [ ]

$Conf{RsyncdClientPort} = 873;
$Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com';
$Conf{XferMethod} = 'rsyncd';
$Conf{FullAgeMax} = 8;
$Conf{RsyncdUserName} = 'backup';
$Conf{RsyncdPasswd} = 'backup';
$Conf{RsyncShareName} = [
  'c-drive'
];

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell407-925-7030
www.riptidesoftware.com

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com]
Sent: Tuesday, September 19, 2017 1:41 PM
To: Jeffrey West 
Cc: General list for user discussion, questions and support

Subject: Re: [BackupPC-users] Backing up Windows using rsync

On Tue, Sep 19, 2017 at 12:24 PM, Jeffrey West
 wrote:
> This is what I am seeing from the web interface.
>
> Last status is state "idle" (backup failed) as of 9/19 09:28.
> Last error is "Unknown module '/'".
> Pings to l-jwest17b.corpnet.com have succeeded 50 consecutive times.
>
> I wonder why it would not parse the sharename correctly.  I believe
> the syntax is correct.

I mean the configuration editor for the host:
http://backuppc.sourceforge.net/BackupPC-4.1.1.html#Configuration-and-Host-Editor

It should parse things the same way as the running system.

--
  Les Mikesell
lesmikes...@gmail.com

--
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] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
This is what I am seeing from the web interface.

Last status is state "idle" (backup failed) as of 9/19 09:28.
Last error is "Unknown module '/'".
Pings to l-jwest17b.corpnet.com have succeeded 50 consecutive times.

I wonder why it would not parse the sharename correctly.  I believe the
syntax is correct.

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell407-925-7030
www.riptidesoftware.com

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com]
Sent: Tuesday, September 19, 2017 1:00 PM
To: Jeffrey West 
Cc: General list for user discussion, questions and support

Subject: Re: [BackupPC-users] Backing up Windows using rsync

On Tue, Sep 19, 2017 at 11:10 AM, Jeffrey West
 wrote:
> I am using a pl config file just for my host which has the following
> in it now.
>
> $Conf{RsyncdClientPort} = 873;
> $Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com'; $Conf{XferMethod} =
> 'rsyncd'; $conf{RsyncShareName} = 'c-drive'; $Conf{FullAgeMax} = '8';
> $Conf{RsyncdUserName} = 'backup'; $Conf{RsyncdPasswd} = 'backup';
>
> I created a user / pass combination to see if that would help, but it
> didn't.  I also changed the RsyncShareName to see if that would help,
> but it didn't.
>

What do you see if you look at it in the web configuration interface
for that host?   If it is still trying to access '/' it is not parsing
your sharename the way you expect.

-- 
Les Mikesell
  lesmikes...@gmail.com

--
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] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
I am using a pl config file just for my host which has the following in it
now.

$Conf{RsyncdClientPort} = 873;
$Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com';
$Conf{XferMethod} = 'rsyncd';
$conf{RsyncShareName} = 'c-drive';
$Conf{FullAgeMax} = '8';
$Conf{RsyncdUserName} = 'backup';
$Conf{RsyncdPasswd} = 'backup';

I created a user / pass combination to see if that would help, but it
didn't.  I also changed the RsyncShareName to see if that would help, but it
didn't.

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell407-925-7030
www.riptidesoftware.com

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com]
Sent: Tuesday, September 19, 2017 11:17 AM
To: Jeffrey West 
Cc: General list for user discussion, questions and support

Subject: Re: [BackupPC-users] Backing up Windows using rsync

On Tue, Sep 19, 2017 at 7:59 AM, Jeffrey West
 wrote:
>
> Changing the method to rsyncd made some progress.  It now connects on
> port 873.  I am now getting this error
>
> Last error is "Unknown module '/'".
>
> $Conf{XferMethod} = 'rsyncd';
>
> $conf{RsyncShareName} = 'C';

Something is wrong in your config.  Backuppc thinks you have
$conf{RsyncShareName} = '/';   (the default).
Are you using the web interface to make and view the config changes for this
host?

-- 
   Les Mikesell
 lesmikes...@gmail.com

--
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] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
Changing the method to rsyncd made some progress.  It now connects on port
873.  I am now getting this error



A command for l-jwest17b.corpnet.com is on the command queue (will run
soon).

Last status is state "idle" (backup failed) as of 9/19 08:56.

Last error is "Unknown module '/'".

Pings to l-jwest17b.corpnet.com have succeeded 43 consecutive times



My config is now



[root@backuppc pc]# vi l-jwest17b.corpnet.com.pl

$Conf{RsyncdClientPort} = 873;

$Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com';

$Conf{XferMethod} = 'rsyncd';

$conf{RsyncShareName} = 'C';

$Conf{FullAgeMax} = '8';

$Conf{RsyncClientCmd} = 'backuppc $host $rsyncPath $argList+';

$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath
$argList+';





Jeff West

Systems Engineer

Riptide Software

Office 321-296-7724 ext 216

Direct 407-542-7697

Cell407-925-7030

www.riptidesoftware.com



-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com]
Sent: Monday, September 18, 2017 5:01 PM
To: General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
Cc: Jeffrey West 
Subject: Re: [BackupPC-users] Backing up Windows using rsync



On Mon, Sep 18, 2017 at 1:47 PM, Jeffrey West via BackupPC-users <
backuppc-users@lists.sourceforge.net> wrote:

> All,

>

> I have rsync up and running on Windows and can successfully transfer files

> by running the rsync command from the BackupPC command line.   I do not
want

> to use SSH.  Is there some way I can tell BackupPC not to use SSH when

> connecting via rsync?  This is my config file

>

> $Conf{RsyncdClientPort} = 873;

> $Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com'; $Conf{XferMethod} =

> 'rsync';



If you are running a standalone rsync daemon on the target system, use
rsyncd as the xfermethod instead of rsync.



> $conf{RsyncShareName} = 'C';



And the sharename(s) should match the 'modules' you configured in your
rsyncd.conf.



-- 

Les Mikesell

  lesmikes...@gmail.com
--
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] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
Yes,



I am looking for a way that is does not connect on port 22, but instead
connects to port 873 and just uses rsync to do the transfer.  My machine
has rsync running and listening on port 873



C:\Users\jeffrey.west>netstat -an | grep 873

  TCP0.0.0.0:8730.0.0.0:0  LISTENING

  TCP[::]:873   [::]:0 LISTENING



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:michael.st...@member.mensa.org]
*Sent:* Monday, September 18, 2017 5:25 PM
*To:* General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
*Cc:* Jeffrey West 
*Subject:* Re: [BackupPC-users] Backing up Windows using rsync



On 2017-09-18 11:47, Jeffrey West via BackupPC-users wrote:

All,

I have rsync up and running on Windows and can successfully transfer files
by running the rsync command from the BackupPC command line. I do not want
to use SSH. Is there some way I can tell BackupPC not to use SSH when
connecting via rsync? This is my config file

$Conf{RsyncdClientPort} = 873; $Conf{ClientNameAlias} = ‘
l-jwest17b.corpnet.com’; $Conf{XferMethod} = ‘rsync’; $conf{RsyncShareName}
= ‘C’; $Conf{FullAgeMax} = ‘8’; $Conf{RsyncClientCmd} = ‘backuppc $host
$rsyncPath $argList+’; $Conf{RsyncClientRestoreCmd} = ‘$sshPath -q -x -l
backuppc $host $rsyncPath $argList+’;

Jeff West Systems Engineer Riptide Software Office 321-296-7724 ext 216
Direct 407-542-7697 Cell 407-925-7030 www.riptidesoftware.com

Are you looking for an answer other than “use rsyncd?”
--
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/


[BackupPC-users] Backing up Windows using rsync

2017-09-18 Thread Jeffrey West via BackupPC-users
All,

I have rsync up and running on Windows and can successfully transfer files
by running the rsync command from the BackupPC command line.   I do not want
to use SSH.  Is there some way I can tell BackupPC not to use SSH when
connecting via rsync?  This is my config file

$Conf{RsyncdClientPort} = 873;
$Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com';
$Conf{XferMethod} = 'rsync';
$conf{RsyncShareName} = 'C';
$Conf{FullAgeMax} = '8';
$Conf{RsyncClientCmd} = 'backuppc $host $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath
$argList+';

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell407-925-7030
www.riptidesoftware.com

--
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&#

[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] Trying to exclude a directory

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



I have a backup which backs up the following directories on all my Windows
computers



C:\Users



And



C:\ProgramData



It seems to be working well, but a couple of us have Windows 10 machines
with the Unix tools installed and the backups always hang here and fail.



C:/Users/jeffrey.west/AppData/Local/lxss/rootfs/lib/xtables/libxt_pkttype.so



I was wondering if there was any way to completely exclude the following
directory either using a custom pl file or adding the following to the
exclude in the main config.pl file.



$Conf{BackupFilesExclude} = {

‘C$’ => [

   ‘Users/*/AppData/Local/lxss/*’

   ]

};



Not sure if you can use a wildcard for the username or not in the main
config.pl



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
--
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] Problems with BackupPC

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



Disregard this message.  I feel like an idiot!  I had created a host file
entry a while back to test and forgot to remove it.  Once I removed the
entry, everything is working properly.



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:* Jeffrey West [mailto:jeffrey.w...@riptidesoftware.com]
*Sent:* Tuesday, July 11, 2017 12:18 PM
*To:* General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
*Cc:* helpdesk 
*Subject:* Problems with BackupPC



All,



I am having a major problem with BackupPC.  It is not resolving to the
proper IP address when trying to backup.   I am including my test below.
As you can see my proper IP address at this moment is 192.168.30.15.  When
I ssh into the BackuPC box and do a nslookup, I also get that IP address,
but when I run the BackupPC_dump command it resolves to 192.168.20.78.
Any idea why this is occurring?





Last login: Tue Jul 11 09:39:30 2017 from 192.168.20.82

[root@backuppc ~]# nslookup l-jwest17b.corpnet.com

Server: 192.168.20.51

Address:192.168.20.51#53



Name:   l-jwest17b.corpnet.com

Address: 192.168.30.15



[root@backuppc ~]# su backuppc

[backuppc@backuppc root]$ cd /usr/share/BackupPC/bin/

[backuppc@backuppc bin]$ ./BackupPC_dump -v -f l-jwest17b.corpnet.com

cmdSystemOrEval: about to system /usr/sbin/ping -c 1 l-jwest17b.corpnet.com

cmdSystemOrEval: finished: got output PING l-jwest17b.corpnet.com
(192.168.20.78) 56(84) bytes of data.

64 bytes from l-jwest17b.corpnet.com (192.168.20.78): icmp_seq=1 ttl=64
time=1529 ms



--- l-jwest17b.corpnet.com ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 1529.603/1529.603/1529.603/0.000 ms



cmdSystemOrEval: about to system /usr/sbin/ping -c 1 l-jwest17b.corpnet.com

cmdSystemOrEval: finished: got output PING l-jwest17b.corpnet.com
(192.168.20.78) 56(84) bytes of data.

64 bytes from l-jwest17b.corpnet.com (192.168.20.78): icmp_seq=1 ttl=64
time=1.24 ms



--- l-jwest17b.corpnet.com ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 1.243/1.243/1.243/0.000 ms



CheckHostAlive: returning 1.243

Running: /usr/bin/smbclient l-jwest17b.corpnet.com\\C\$ -U
corpnet\\backup -E -d 1 -c tarmode\ full -Tc - /Users /ProgramData

full backup started for share C$

started full dump, share=C$

Xfer PIDs are now 17862,17861

xferPids 17862,17861

cmdExecOrEval: about to exec /usr/bin/smbclient l-jwest17b.corpnet.com\\C\$
-U corpnet\\backup -E -d 1 -c tarmode\ full -Tc - /Users /ProgramData

Connection to l-jwest17b.corpnet.com failed (Error
NT_STATUS_CONNECTION_REFUSED)

Connection to l-jwest17b.corpnet.com failed (Error
NT_STATUS_CONNECTION_REFUSED)

tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0
filesTotal, 0 sizeTotal

Got fatal error during xfer (No files dumped for share C$)

cmdSystemOrEval: about to system /usr/sbin/ping -c 1 l-jwest17b.corpnet.com

cmdSystemOrEval: finished: got output PING l-jwest17b.corpnet.com
(192.168.20.78) 56(84) bytes of data.

64 bytes from l-jwest17b.corpnet.com (192.168.20.78): icmp_seq=1 ttl=64
time=624 ms



--- l-jwest17b.corpnet.com ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 624.857/624.857/624.857/0.000 ms



cmdSystemOrEval: about to system /usr/sbin/ping -c 1 l-jwest17b.corpnet.com

cmdSystemOrEval: finished: got output PING l-jwest17b.corpnet.com
(192.168.20.78) 56(84) bytes of data.

64 bytes from l-jwest17b.corpnet.com (192.168.20.78): icmp_seq=1 ttl=64
time=1.71 ms



--- l-jwest17b.corpnet.com ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 1.715/1.715/1.715/0.000 ms



CheckHostAlive: returning 1.715

Backup aborted (No files dumped for share C$)

Not saving this as a partial backup since it has fewer files than the prior
one (got 0 and 0 files versus 18065)

dump failed: No files dumped for share C$

[backuppc@backuppc bin]$



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
--
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/


[BackupPC-users] Problems with BackupPC

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



I am having a major problem with BackupPC.  It is not resolving to the
proper IP address when trying to backup.   I am including my test below.
As you can see my proper IP address at this moment is 192.168.30.15.  When
I ssh into the BackuPC box and do a nslookup, I also get that IP address,
but when I run the BackupPC_dump command it resolves to 192.168.20.78.
Any idea why this is occurring?





Last login: Tue Jul 11 09:39:30 2017 from 192.168.20.82

[root@backuppc ~]# nslookup l-jwest17b.corpnet.com

Server: 192.168.20.51

Address:192.168.20.51#53



Name:   l-jwest17b.corpnet.com

Address: 192.168.30.15



[root@backuppc ~]# su backuppc

[backuppc@backuppc root]$ cd /usr/share/BackupPC/bin/

[backuppc@backuppc bin]$ ./BackupPC_dump -v -f l-jwest17b.corpnet.com

cmdSystemOrEval: about to system /usr/sbin/ping -c 1 l-jwest17b.corpnet.com

cmdSystemOrEval: finished: got output PING l-jwest17b.corpnet.com
(192.168.20.78) 56(84) bytes of data.

64 bytes from l-jwest17b.corpnet.com (192.168.20.78): icmp_seq=1 ttl=64
time=1529 ms



--- l-jwest17b.corpnet.com ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 1529.603/1529.603/1529.603/0.000 ms



cmdSystemOrEval: about to system /usr/sbin/ping -c 1 l-jwest17b.corpnet.com

cmdSystemOrEval: finished: got output PING l-jwest17b.corpnet.com
(192.168.20.78) 56(84) bytes of data.

64 bytes from l-jwest17b.corpnet.com (192.168.20.78): icmp_seq=1 ttl=64
time=1.24 ms



--- l-jwest17b.corpnet.com ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 1.243/1.243/1.243/0.000 ms



CheckHostAlive: returning 1.243

Running: /usr/bin/smbclient l-jwest17b.corpnet.com\\C\$ -U
corpnet\\backup -E -d 1 -c tarmode\ full -Tc - /Users /ProgramData

full backup started for share C$

started full dump, share=C$

Xfer PIDs are now 17862,17861

xferPids 17862,17861

cmdExecOrEval: about to exec /usr/bin/smbclient l-jwest17b.corpnet.com\\C\$
-U corpnet\\backup -E -d 1 -c tarmode\ full -Tc - /Users /ProgramData

Connection to l-jwest17b.corpnet.com failed (Error
NT_STATUS_CONNECTION_REFUSED)

Connection to l-jwest17b.corpnet.com failed (Error
NT_STATUS_CONNECTION_REFUSED)

tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0
filesTotal, 0 sizeTotal

Got fatal error during xfer (No files dumped for share C$)

cmdSystemOrEval: about to system /usr/sbin/ping -c 1 l-jwest17b.corpnet.com

cmdSystemOrEval: finished: got output PING l-jwest17b.corpnet.com
(192.168.20.78) 56(84) bytes of data.

64 bytes from l-jwest17b.corpnet.com (192.168.20.78): icmp_seq=1 ttl=64
time=624 ms



--- l-jwest17b.corpnet.com ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 624.857/624.857/624.857/0.000 ms



cmdSystemOrEval: about to system /usr/sbin/ping -c 1 l-jwest17b.corpnet.com

cmdSystemOrEval: finished: got output PING l-jwest17b.corpnet.com
(192.168.20.78) 56(84) bytes of data.

64 bytes from l-jwest17b.corpnet.com (192.168.20.78): icmp_seq=1 ttl=64
time=1.71 ms



--- l-jwest17b.corpnet.com ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 1.715/1.715/1.715/0.000 ms



CheckHostAlive: returning 1.715

Backup aborted (No files dumped for share C$)

Not saving this as a partial backup since it has fewer files than the prior
one (got 0 and 0 files versus 18065)

dump failed: No files dumped for share C$

[backuppc@backuppc bin]$



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
--
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] Trying to limit my backups

2017-06-22 Thread Jeffrey West via BackupPC-users
Craig,



Thank you so much!  That worked.  I guess leaving out the ‘C$’ => was
causing the issue for me.



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:* cra...@gmail.com [mailto:cra...@gmail.com] *On Behalf Of *Craig
Barratt
*Sent:* Wednesday, June 21, 2017 10:24 PM
*To:* General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
*Cc:* Jeffrey West 
*Subject:* Re: [BackupPC-users] Trying to limit my backups



Try this.


Craig



$Conf{SmbShareName} = [ 'C$' ];

$Conf{BackupFilesOnly} = {

  'C$' => [

'/Users',

'/ProgramData'

  ]

};







On Wed, Jun 21, 2017 at 2:30 PM, Jeffrey West via BackupPC-users <
backuppc-users@lists.sourceforge.net> wrote:

All,



I am having a heck of a time trying to limit my backups.   I only want to
backup the following directories on my machines.



C:\Users



C:\ProgramData



I am backing up via SMB.  I have tried every combination but cannot get it
to only include these two directories along with their subdirectories and
all their files.



My smbsharename is C$



I tried C$\Users and also c$\ProgramData, but it choked on that



I then went back to c$ for the smbsharename and started playing with the
following



BackupFilesOnly



And



BackupFilesExclude



Anyone have any idea how to limit my backups to just these two directories?



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




--
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/
--
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/


[BackupPC-users] Trying to limit my backups

2017-06-21 Thread Jeffrey West via BackupPC-users
All,



I am having a heck of a time trying to limit my backups.   I only want to
backup the following directories on my machines.



C:\Users



C:\ProgramData



I am backing up via SMB.  I have tried every combination but cannot get it
to only include these two directories along with their subdirectories and
all their files.



My smbsharename is C$



I tried C$\Users and also c$\ProgramData, but it choked on that



I then went back to c$ for the smbsharename and started playing with the
following



BackupFilesOnly



And



BackupFilesExclude



Anyone have any idea how to limit my backups to just these two directories?



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
--
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/