Re: [BackupPC-users] rsync + lvm snapshot in BackupPC v4+? integrated, or DIY via 'DumpPreUserCmd' ?

2020-10-04 Thread PGNet Dev
On 10/4/20 4:41 PM, backu...@kosowsky.org wrote: > better to use the hooks that Craig has provided sure. here's my initial take -- seems to be working well enough. so far. still testing ... for a localhost test with 2 'live data' source types that I want to 'snapshot' appropriately before

Re: [BackupPC-users] rsync + lvm snapshot in BackupPC v4+? integrated, or DIY via 'DumpPreUserCmd' ?

2020-10-04 Thread
Craig Barratt via BackupPC-users wrote at about 15:35:38 -0700 on Friday, October 2, 2020: > One recent addition which should be helpful is $Conf{ClientShareName2Path} > which allows you to map the share name to the real path (in this case, the > snapshot path). There is, however, an open

Re: [BackupPC-users] rsync + lvm snapshot in BackupPC v4+? integrated, or DIY via 'DumpPreUserCmd' ?

2020-10-04 Thread
I have done a fair bit of this both on Linux using btrfs snapshots and Windoze using VSS (volume snapshot service). As Craig mentions, the challenge is that there are many different OS's and filesystems, each with their own method of creating snapshots. Beyond that there are several

Re: [BackupPC-users] backuppc v4 hanging when starting backup

2020-10-04 Thread Craig Barratt via BackupPC-users
Ok, thanks. It should be safe to remove the extra directories, but you should run BackupPC_refCountUpdate afterwards just to be sure the reference counts are correct. Here are the steps: - su backuppc_user - cd localhost - rm -rf 9[4-8] - rm -f 93/rsyncTmp* -

Re: [BackupPC-users] backuppc v4 hanging when starting backup

2020-10-04 Thread McDonald, Peter George via BackupPC-users
Nothing past 93 appears in the cgi - they all got stuck at duplicate and I had to restart the service. 93 is a full/filled and was done with v4. -Peter From: Craig Barratt Sent: Sunday, October 4, 2020 10:57 pm To: General list for user discussion, questions

Re: [BackupPC-users] backuppc v4 hanging when starting backup

2020-10-04 Thread Craig Barratt via BackupPC-users
Does the localhost/backups file contain entries (rows) for backups #94-#98? Do those backups appear in the CGI summary for that host? Is #93 a full/filled backup done using V4? Craig On Sun, Oct 4, 2020 at 2:45 PM McDonald, Peter George via BackupPC-users <

Re: [BackupPC-users] backuppc v4 hanging when starting backup

2020-10-04 Thread McDonald, Peter George via BackupPC-users
I believe the migration was done, the last good backup I have is a full at number 93 (I'm at 98 now, after 5 failed attempts). In the 93 folder, the rsyncTmp files (of which there are two) are 13Gb each. In these new folders, rsyncTemp is zero size. What would you need to see - we could

Re: [BackupPC-users] backuppc v4 hanging when starting backup

2020-10-04 Thread Craig Barratt via BackupPC-users
That's an excellent clue. The rsyncTmp.* files could be very large. They can be safely deleted. In fact, I should have BackupPC_backupDuplicate ignore them. I can't answer your question about whether it's safe to delete the copies without knowing more. Did you run bin/BackupPC_migrateV3toV4?

Re: [BackupPC-users] backuppc v4 hanging when starting backup

2020-10-04 Thread McDonald, Peter George via BackupPC-users
It seems to be getting stuck here - not sure if this is enlightening at all ? Creating directory /tt-archive/backuppc/pc/localhost/96/./f%2fshare%2fhome%2fcfd/finstallation_packages Got path = ./f%2fshare%2fhome%2fcfd/finstallation_packages/attrib_88b274e4b7832babbbe8f66bb4571c31, name =

Re: [BackupPC-users] BackupFilesExclude osx catalina suggestions?

2020-10-04 Thread Greg Harris
You may want to consider adding /Library also. This would include system configuration and preference files. The /User libraries only include the user level configs and prefs. Thanks, Greg Harris On Oct 4, 2020, at 1:36 PM, Todd Wade mailto:waveri...@gmail.com>> wrote: On 10/4/20 1:29 PM,

Re: [BackupPC-users] BackupFilesExclude osx catalina suggestions?

2020-10-04 Thread Todd Wade
On 10/4/20 1:29 PM, Robert Trevellyan wrote: Hi Todd, I backup Macs with /Users as the RsyncShareName. My excludes are mostly for transient things like logs and caches: nice, thanks Are you trying to backup the entire system, including OS and apps? My goal is only to backup user data in

Re: [BackupPC-users] backup Windows10 clients

2020-10-04 Thread Michael Stowe
There are a few problems to solve: open files, permissions, and the transfer itself. The transfer, IMHO, is the easy part. I've currently settled on a combination of Windows Linux subsystem for sshd, then escalate the privileges and transfer the shadow copies. It has proven reliable and

Re: [BackupPC-users] BackupFilesExclude osx catalina suggestions?

2020-10-04 Thread Robert Trevellyan
Hi Todd, I backup Macs with /Users as the RsyncShareName. My excludes are mostly for transient things like logs and caches: $Conf{BackupFilesExclude} = { '/Users' => [ '.DS_Store', '.Trash', '.bash*', '.dropbox*', '.sync*', '_sophos', 'Album Artwork', 'Cache*',

Re: [BackupPC-users] backup Windows10 clients

2020-10-04 Thread Craig Barratt via BackupPC-users
The recommended approach for Windows clients is installing cygwin-rsyncd . Craig On Sun, Oct 4, 2020 at 1:57 AM Sebastian Schieke wrote: > Dear Backuppc Users, > > we have been trying to backup all our Windows 10 notebooks with > backuppc.

Re: [BackupPC-users] Understanding Schedule Config

2020-10-04 Thread Craig Barratt via BackupPC-users
Your interpretations are almost completely correct. For the Full settings, there's no need to have such a large number for FullKeepCnt, since that would be roughly 900 days (30 * 29.97). Only one would be kept after 180 days. The exponential settings (where FullKeepCnt is an array) give more

[BackupPC-users] BackupFilesExclude osx catalina suggestions?

2020-10-04 Thread Todd Wade
I can't find anything on the mailing list so I'm guessing its unlikely but - Any chance someone has assembled a solid BackupFilesExclude for osx Catalina? The link here has no backuppc content any more:

[BackupPC-users] backup Windows10 clients

2020-10-04 Thread Sebastian Schieke
Dear Backuppc Users, we have been trying to backup all our Windows 10 notebooks with backuppc. The problem is, that the waay, described in the documentation is not working at all. IMHO the szenario with ad-group "backup operators" seems to be depricated. I wonder if it is possible to use the