[BackupPC-users] moving per-pc log files

2012-01-20 Thread Till Hofmann
Hello everybody, since my backup partition is on a RAID5 which doesn't do anything but keeping my backups, I want the hard drives to automatically spin down (standby) when there is nothing to do. It's working properly, I only have one problem: backuppc writes to the per-pc log file in $topdir/pc/$

Re: [BackupPC-users] moving per-pc log files

2012-01-21 Thread Till Hofmann
On Fri, Jan 20, 2012 at 8:58 PM, Jeffrey J. Kosowsky wrote: > Till Hofmann wrote at about 16:23:56 +0100 on Friday, January 20, 2012: > > Hello everybody, > > > > since my backup partition is on a RAID5 which doesn't do anything but > > keeping my ba

Re: [BackupPC-users] different hosts, different schedules, different directories

2012-02-13 Thread Till Hofmann
On Mon, Feb 13, 2012 at 1:19 PM, Ingo P. Korndoerfer wrote: > hello, > > here comes the next question i could not find answered anywhere. please > fee free to just point me to older posts > if this has been discussed a 1000 times already ... > > so i have different directory trees on my host that

Re: [BackupPC-users] which one better ssh+rsync or rsyncd ?

2012-02-15 Thread Till Hofmann
On Wed, Feb 15, 2012 at 10:22 AM, J. Bakshi wrote: > > > I also like the ssh+rsync combination for the same. How can I harden the > public key, > so that only the required commands will be executed and nothing else ? > > check http://backuppc.sourceforge.net/faq/ssh.html#how_can_client_access_as_r

Re: [BackupPC-users] IPv6 support

2012-02-19 Thread Till Hofmann
On Sun, Feb 19, 2012 at 8:35 AM, boospy wrote: > Hi, > > The solution is easy. You have to disable the pingcheck. For this edit " > config.pl", and search for > $Conf{PingCmd} > Then replace > $Conf{PingCmd} = '$pingPath -c 1 -w 3 $host'; > with > $Conf{PingCmd} = ''; > Ready! > Backuppc is now co

Re: [BackupPC-users] The famous Backup aborted (Unable to read 4 bytes) error

2012-02-21 Thread Till Hofmann
On Tue, Feb 21, 2012 at 4:31 PM, Micha Kersloot wrote: > > > The complete logfile of the failure is: > > incr backup started back to 2012-02-19 10:00:00 (backup #72) for directory > /etc > Running: /usr/bin/ssh -q -x -l root trunk01.covide.nl rsync --server > --sender --numeric-ids --perms --owner

Re: [BackupPC-users] The famous Backup aborted (Unable to read 4 bytes) error

2012-02-23 Thread Till Hofmann
r user discussion, questions and support" < > backuppc-users@lists.sourceforge.net> > > Verzonden: Woensdag 22 februari 2012 15:28:14 > > Onderwerp: Re: [BackupPC-users] The famous Backup aborted (Unable to > read 4 bytes) error > > > > Hi, > > > &

[BackupPC-users] ping frequency / blackout not working correctly

2012-02-26 Thread Till Hofmann
Hey, in the manual, it says: > So a setting for > $Conf{BlackoutGoodCnt} > of > 7 means it will take around 7 days for a machine to be subject to blackout. Which makes sense because it says, it only pings a pc when a

Re: [BackupPC-users] RE : RE : Rsync mkdir restore errors

2012-02-27 Thread Till Hofmann
On Mon, Feb 27, 2012 at 2:56 PM, Yannick REIN wrote: > > That's is my "RsyncClientRestoreCmd" line in BackupPC > > $sshPath -q -x -l backup $host $rsyncPath $argList > > How can i give administrator rights with sudo in this line? > > simply add sudo: $sshPath -q -x -l backup $host sudo $rsyncPat

Re: [BackupPC-users] BackupPC 10GB ZIP corruption

2012-02-29 Thread Till Hofmann
On Wed, Feb 29, 2012 at 4:35 PM, Les Mikesell wrote: > > I think that is an inherent limit in the zip format or the directory > it uses internally. I thought it was 4 GB but maybe that was with an > older version or on a 32 bit system. > > man page zip on Debian stable 64bit: > Large Archives a

Re: [BackupPC-users] Ssh/Rsync transfer fails intermittently

2012-03-04 Thread Till Hofmann
On Sun, Mar 4, 2012 at 3:22 PM, Chris Mavrakis wrote: > Ok, I verified it, whatever one does, the ssh connection is terminated > after 1h1'. So the only "solution" to this would be to have backuppc retry > again and again until the sum of the files is transfered, and the final > backup is success

[BackupPC-users] $Conf{UserCmdCheckStatus} not working?

2012-03-05 Thread Till Hofmann
> full backup started for directory /mnt/backup/homelv (baseline backup #36) > > Maybe I just read the manual wrong, but isn't backuppc supposed to abort this backup? Or did I do a mistake in my script (I don't use b

Re: [BackupPC-users] $Conf{UserCmdCheckStatus} not working?

2012-03-06 Thread Till Hofmann
On Mon, Mar 5, 2012 at 7:52 PM, Les Mikesell wrote: > On Mon, Mar 5, 2012 at 10:32 AM, Till Hofmann > wrote: > > Hello everybody, > > > > I have a small bash script which creates an LVM snapshot for every LVM > > volume I back up. If the script can't create th

Re: [BackupPC-users] Documentation error

2012-03-18 Thread Till Hofmann
On Sun, Mar 18, 2012 at 12:00 PM, Justin Finkelstein < jus...@redwiredesign.com> wrote: > ** > Hi guys > > I've found what I believe to be a minor typo in the SSH FAQ entry. The > sudoers line given by Martin Hansen: > > backuppc ALL=NOPASSWD: /usr/bin/rsync --server --sender * > > Doesn't wo

Re: [BackupPC-users] Bare metal restores

2012-04-27 Thread Till Hofmann
On Fri, Apr 27, 2012 at 4:45 PM, Brad Alexander wrote: > Hey, > > I'm on the horns of a dilemma, as they say. I upgraded my workstation, > and got this bright idea to downsize my hard drive, since I had to > reinstall from scratch anyway...Well, it didn't work out so well, > because I went from a

[BackupPC-users] archive aborts after signal ALRM

2012-11-18 Thread Till Hofmann
Hey, I'm having problems trying to archive. I use archive with gzip and I write to a locally mounted disk (ext4). The disk has enough free space. When I set up the archive, I tried to archive a single client, which worked perfectly. But now, when I'm trying to archive more clients at once, the p

Re: [BackupPC-users] archive aborts after signal ALRM

2012-11-23 Thread Till Hofmann
Thank you for the hint, I totally forgot about the timeout setting! Now it finished archiving properly. On Sun, Nov 18, 2012 at 10:55 PM, Stefan Peter wrote: > On 18.11.2012 20:44, Till Hofmann wrote: > > But now, when I'm trying to archive more clients at once, the process &

Re: [BackupPC-users] Problem with PermitRootLogin = no

2013-01-10 Thread Till Hofmann
see http://backuppc.sourceforge.net/faq/ssh.html#how_can_client_access_as_root_be_avoided On Mon, Dec 31, 2012 at 12:59 AM, Trey Dockendorf wrote: > > On Dec 30, 2012 2:42 PM, "Tommi Huttunen" > wrote: > > > > I have successfully installed Backuppc and it's working when > PermitRootLogin = yes

[BackupPC-users] high memory usage after moving files

2013-01-24 Thread Till Hofmann
Hey list, After moving about 20 GB of files, rsync uses a lot of memory when I try to do a full backup. Before, full backups used the memory available (2GB) and finished in about 2 hours. Now, rsync uses the complete memory + swap (total 6GB) and the backup takes forever. After 28 hours, I stopped

Re: [BackupPC-users] An host for restoration only

2013-07-24 Thread Till Hofmann
On Wed, Jul 24, 2013 at 12:08 PM, Jimmy Thrasibule < thrasibule.ji...@gmail.com> wrote: > Hi, > > I've set up an host in my BackupPC configuration mostly for restoration > purposes. Meaning that I don't want to backup this fake host but only > use it when I need to restore something. > > >

Re: [BackupPC-users] Off-site mirror

2013-08-02 Thread Till Hofmann
On Fri, Aug 2, 2013 at 4:13 AM, Alex Clifford wrote: > Hi all, > > I have a BackupPC server running at our office successfully but now want > to look at an off-site mirror (DR). When I create my off-site server I > want to be able to use it to restore files in the event of a catastrophic > failu

Re: [BackupPC-users] BackupPC with ssh

2013-09-16 Thread Till Hofmann
You should probably (re)read backuppc's documentation, particularly the sections about Client Setup and SSH Setup . If you still h

Re: [BackupPC-users] Tar method - deleted files workaround

2013-09-24 Thread Till Hofmann
You could use a combination of $Conf{DumpPostUserCmd} and BackupPC_deleteFile to accomplish this. On Tue, Sep 24, 2013 at 2:27 PM, Chris Ada

Re: [BackupPC-users] RsyncP and --whole-file

2013-09-24 Thread Till Hofmann
I think (correct me if I'm wrong) that the rsync method doesn't ignore the --whole-file option. Is there a reason why you use rsyncd instead of rsync? On Tue, Sep 24, 2013 at 3:51 AM, Chris Adamson wrote: > I’m using backuppc to backup > 14TB of data on a local machine. I’m > using the rsyncd o

Re: [BackupPC-users] RsyncP and --whole-file

2013-09-28 Thread Till Hofmann
Doesn't rsync calculate checksums even if you set --whole-file? It doesn't calculate block checksums but it still calculates file checksums - and if they match it skips the file (which only happens if you set --checksum-seed because otherwise it uses the current time as checksum-seed) On Sat, Sep

Re: [BackupPC-users] Schedule in host config not picking up blackout period

2014-02-21 Thread Till Hofmann
On Fri, 2014-02-21 at 11:11 +, Adam Hardy wrote: > I've got a laptop that I don't want backed up during the day so I have > configured it's schedule with a black-out period like this (via the web UI): > > $Conf{BlackoutPeriods} = [ >{ > 'hourEnd' => '24', > 'weekDays' => [ >