Re: [BackupPC-users] Archive to Tape

2009-04-15 Thread Nils Breunese (Lemonbit)
Bharat Mistry wrote:

 I have a spare LTO2 as a result of a Windows Server upgrade

 I'd like to install it on my BackupPC box and Archive to Tape once a  
 week
 (BackupPC installed on SME Server)

 I use the following to backup to DAT tape on other SME servers:

 mt -f /dev/nst0 rewind
 tar -cvf /dev/st0 /home  /home/e-smith/files/ibays/scripts/ 
 tape_backup.log
 mt -f /dev/nst0 rewind
 mt -f /dev/nst0 eject

 There are 4 Pc's which are important and the users have asked if  
 they can have a weekly Tape backup.

 Do I simply backup /var/lib/BackupPC/pc/pc1  on Monday, /var/lib/ 
 BackupPC/pc/pc2 on Tuesday etc

Take a look at BackupPC_tarCreate if you want to create plain tar  
archives from BackupPC backups for writing to tapes.

Nils Breunese.

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] Guide to set up Apache on OS X (to use mod_perl)

2009-04-11 Thread Nils Breunese (Lemonbit)
Les Mikesell wrote:

 Thomas von Eyben wrote:
 Hi list,

 Does anyone have a nice guide describing how to set up a Mac OS X's
 Apache  (Server or Client) to host BackupPC?

 I am now facing the problem:

 Error: Wrong user: my userid is 70, instead of 502(backuppc) when
 communicating with the CGI.

 As I understand it I need (for performance) a seperate instance of
 Apache running as user backuppc in order to be able to use the
 mod_perl method (that also gives me the highest performance), as
 opposed to (much slower) setuid method…

 I have searched the archives and google, but not found adequate help.

 First note that the performance difference only affect using the web
 browser to view/restore backups, something you probably don't do that
 often, not the performance of the backups operations which happen
 separately.  Also, if you don't have any other web sites on the same
 server, you could simply set up backuppc to run with the same id as  
 the
 web server.  I can't help with setting up another apache instance but
 usually it involves duplicating whatever the stock configuration does
 but using a different port number to avoid conflicts.

I'd first try the simple CGI setup and see how performance is. I've  
never felt the need to change the setup into a more complicated  
mod_perl setup to speed up the web interface, as performance is just  
fine for us using the plain CGI version. It doesn't feel slow at all.  
Sure, if I'd go and measure performance, mod_perl will probably be  
better, but backups won't complete any faster. As Les said: it's just  
the web interface.

Nils Breunese.



--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] Sending csums, cnt = 0, phase = 1 - Backups stuck!

2009-04-10 Thread Nils Breunese (Lemonbit)
Boniforti Flavio wrote:

 '--delete*' are meaningless and unsupported. '--stats

 Holger, you state that --delete* are unsupported switches, why?
 As you can read in my last new thread, I'd like just to do syncs  
 of my
 remote host, thus needing to be able to delete files which ain't  
 anymore
 on the remote host.

It seems like you trying as hard as possible to not use any BackupPC- 
specific functionality. If you just want to do a plain rsync with the  
--delete switch, why don't you just do that? Seems like that would be  
a whole lot simpler than using BackupPC and trying to change it into a  
plain native rsync binary.

BackupPC keeps several complete backups. The number of backups that  
are kept around is configurable. Files will be deleted when they are  
not in any backups anymore, so there is no need to use --delete in the  
rsync arguments and AFAIK File::RsyncP indeed doesn't even support  
that switch.

Nils Breunese.

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] is there a way to get an email of the files copied ?

2009-04-09 Thread Nils Breunese (Lemonbit)
Op 9 apr 2009, om 19:19 heeft Bharat Mistry het volgende geschreven:

 What I would like is a email containing a list of files that were  
 actually copied - this would be very useful for Incremental backups.

 I've looked at the docs but not found if this is possible or not.

The transfer log contains such a list. See the XferLOG links on the  
BackupPC web page for a host.

Nils Breunese.

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] Backuppc CGI Interface not working for me

2009-04-08 Thread Nils Breunese (Lemonbit)
Laurin d'Volts wrote:

 I seletected apache and apache2 as options inside of the ncurses
 screen.

One usually doesn't need both Apache 1.x and 2.x installed.

Nils Breunese.

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] rrdtool

2009-04-05 Thread Nils Breunese (Lemonbit)
Matthias Meyer wrote:

 I've installed rrdtool on my system and found the BackupPC Pool  
 Size in
 the server status page. I didn't know before that backuppc can display
 measures from rrdtool.

 Their are any other rrdtool data which can be displeyed in the  
 backuppc GUI?
 Is there a documentation about this integration?

There is no rrdtool integration built into BackupPC. I believe there  
is some third party mod/hack that does this. Maybe there is something  
about this on the BackupPC wiki. Myself, I like to use a dedicated  
monitoring tool for all of our monitoring instead of having to look  
for stats in different applications.

Nils Breunese.

--
___
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] External WD Worldbook Device

2009-03-26 Thread Nils Breunese (Lemonbit)
Tino Schwarze wrote:

 On Thu, Mar 26, 2009 at 10:03:03AM -0400, David Williams wrote:
 All,

 Up until very recently I have had BackupPC 3.0 working with my 1TB  
 external
 WD Mybook world edition device, which is connected to my LAN and  
 which I
 mount via cifs.  I recently had to upgrade my machine to a newer  
 version on
 Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.

 Once I had setup installed BackupPC 3.1, mounted my backup device  
 using cifs
 and restored my configuration files I started up BackupPC only to  
 get the
 message:

 Can't create a test hardlink...

 I'm not sure whether CIFS supports hardlinks.

I believe CIFS does, but the underlying file system may not. What is  
the file system on the drive? It might be that hardlinks never worked  
and that the check was only added in 3.1.

Nils Breunese.

--
___
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] Ensuring two hosts are not running simultaneously

2009-03-25 Thread Nils Breunese (Lemonbit)
Anand Gupta wrote:

 I was trying to restrict backuppc to start / backup 2 hosts while 1  
 is in progress. Reading and search i came across something called   
 semaphore and the idea that it can be implemented using the  
 DumpPreUserCmd and DumpPostUserCmd. Can anyone please help on how  
 this can actually be implemented.

 Basically these hosts are different drives on the same machine and i  
 don't want 2 drives to be backed up at the same time. (trying to  
 setup and use volume shadow hence need to backup a single drive at a  
 time).

The post on the idea of semaphores with BackupPC has some info: 
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg13698.html

Nils Breunese.

--
___
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] [SPAM] Failed backups due to ping timeout

2009-02-25 Thread Nils Breunese (Lemonbit)
Bradley Alexander wrote:

 I have a backup server which backs up multiple machines. I added a  
 machine, and it has thus far failed to back up. The error I am  
 getting is

 ping too slow: 119msec (threshold is 100msec)

 To the end of the config file, I have added

 :$Conf{PingMaxMsec} = '500';

 and I restarted backuppc. However, I am still getting the same  
 error. Am I mistaken or should the value in the individual server  
 file override the one in config.pl? If this is the case, what is  
 keeping the change from occurring?

I hope you didn't add that ':' at the beginning. And you sure there  
are not multiple occurences of this setting in your configuration  
file? Instead of adding a line I'd modify the existing one.

Nils Breunese.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Why is Child aborting?

2009-02-25 Thread Nils Breunese (Lemonbit)
Christian Völker wrote:

 ALRM means you hit the $CONF{ClientTimeout} setting.
 I was thinking about this, but I wasn't sure. I'll increase this  
 value...

 mean the number of seconds with no activity,
 This was my understanding.

 but for some reason seems
 to really be the total length of time permitted for the connection  
 with
 at least some transports.
 Kown issue?

Reading the docs at 
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_clienttimeout_ 
  it indeed looks like this setting is not really doing what the docs  
are saying.

Nils Breunese.
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] [SPAM] Re: [SPAM] Failed backups due to ping timeout

2009-02-25 Thread Nils Breunese (Lemonbit)
Bradley Alexander wrote:

 The only instances for this machine is the one in config.pl  
 ($Conf{PingMaxMsec} = 100;) and the one in the specific host's  
 config file ($Conf{PingMaxMsec} = 500;)...Which should override  
 the one in config.pl.

 Note that I tried changing the one in config.pl to 200ms, and it  
 still failed with the max 100 ms error. Why does it seem to be  
 ignoring the setting?

I have no idea, I have it set to 1000 ms myself (backing up over the  
internet) and that is working just fine.

Nils Breunese.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] BackupPC sometimes stops doing backups

2009-02-24 Thread Nils Breunese (Lemonbit)
Hello all,

Sometimes I notice BackupPC stops doing backups. BackupPC doesn't send  
out any notifications about this. The BackupPC daemon is running, but  
when I stop it and try to start it again, it suddenly complains about  
not being able to create the test hardlink.


# service backuppc status
BackupPC (pid 22421) is running...
# service backuppc stop
Shutting down BackupPC:[  OK  ]
# service backuppc start
Starting BackupPC: 2009-02-24 15:10:00 Can't create a test hardlink  
between a file in /mnt/backup/pc and /mnt/backup/cpool.  Either these  
are different file systems, or this file system doesn't support  
hardlinks, or these directories don't exist, or there is a permissions  
problem, or the file system is out of inodes or full.  Use df, df -i,  
and ls -ld to check each of these possibilities. Quitting...
[FAILED]


After an fsck run BackupPC will start again. Of course I don't expect  
BackupPC to do backups on a filesystem that has problems, but I also  
don't like that it just sits there silently and doesn't warn me of  
this condition. Could this somehow be improved?

Nils Breunese.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Moving backup to new partition

2009-02-15 Thread Nils Breunese (Lemonbit)
sil wrote:

 Timothy Murphy a écrit :
 What is the simplest way to move my backup
 from /var/lib/BackupPC to /BackupPC on a new partition?
 (My current location is getting full.)

 You can just stop backuppc, move all /var/lib/BackuPc files to the new
 directory and create a symbolic link of /var/lib/BackupPC to / 
 BackupPC.

Or just mount your new space as /var/lib/backuppc, then you don't even  
need a symlink.

Nils Breunese.
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] When will backuppc begin pooling?

2009-02-12 Thread Nils Breunese (Lemonbit)
Brian Woodworth wrote:

 That's unfortunate.  I can't just mount my array there as it is  
 basically my NAS that use to store all of my media.  It sounds like  
 I will have to go without pooling if I want to back up to another  
 location other than /var/lib/backuppc

You can bind mount your array on /var/lib/backuppc or use a symlink.

Nils Breunese.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] DumpPreUserCmd to send an email before and after backup

2009-01-29 Thread Nils Breunese (Lemonbit)
Regis wrote:

 I would like backuppc send an email to $host and or $user, to notify  
 when a full backup being to start

 I know it's by DumpPreUserCmd, but anyone can help me to write it?

You can use the mail command. Something like this:

/bin/echo This is the message | /bin/mail -s This is the subject  
to_address

Nils Breunese.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] BackupPC over a Firewall (IPtables)

2009-01-28 Thread Nils Breunese (Lemonbit)
Sam Przyswa wrote:

 What is DumpPreUserCmd ?

See the documentation: 
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_dumppreusercmd_

Nils Breunese.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Problem with $Conf{BackupFilesExclude}

2009-01-19 Thread Nils Breunese (Lemonbit)
Bowie Bailey wrote:

 Nick Bright wrote:
 That explains things! Seems like maybe the web interface needs a bit
 of improvement in this regard.

 In the web interface (which is how I added the exclusions), it simply
 has a box for you to put a pathname to exclude and push Add.

 The web interface is a bit confusing there.  Just keep in mind that  
 the
 key you are adding can either be an asterisk (*), or one of your  
 share
 names.  Once you have that defined, then you can add the paths to it.
 If you define the key as '*', it will apply the exclusions to all  
 share
 names.

Technically not all shares, but all shares that don't have any  
explicit excludes configured. See the docs on $Conf{BackupFilesExclude}.

Nils Breunese.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] restore questions

2009-01-19 Thread Nils Breunese (Lemonbit)
Nick Smith wrote:

 What do you think would be the harm in just doing full backups?
 instead of doing a
 full and then forever incrementals, if the full backup really only
 backs up changed files
 since the last full backup, i really wouldnt need to do incrementals
 at all, and from what
 i understand actually get shorter backups and use less bandwidth with
 full backups, but
 with more cpu/memory overhead.  its a dual xeon 3.2ghz machine with
 2gigs of ram, so i think
 that will be just fine, maybe in the future ill up the ram.

I think a mix of full and incremental backups is still the best  
configuraiton. Full backups take longer (at least on our BackupPC  
servers), probably because it takes more resources to compare all file  
contents. We do use checksum caching. I find that the default setup of  
doing full backups once a week and incrementals in between is working  
just fine for us.

Nils Breunese.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] archive

2009-01-15 Thread Nils Breunese (Lemonbit)
Brad C wrote:

 I've read that you cant split topdir based on server, so I cant send  
 one server to Drive A and another server to Drive B.

Where did you read this? AFAIK this is not possible.

 Eg: what happens if the building burns down and the backuppc host  
 you where using doesnt exist anymore, how would you restore?

Install BackupPC, mount the backup drive, start BackupPC, use restore  
function.

 The archive function allows you to tar... but the limit on a tar  
 file is 2GB...

Tar doesn't limit the file size to 2 GB max. Maybe your filesystem has  
this limit?

 Is there backup-srv?

What is backup-srv?

Nils Breunese.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Change target directory

2009-01-07 Thread Nils Breunese (Lemonbit)
Juergen Harms wrote:

 $Conf{TopDir} appears to be a hardly coded variable. My  
 understanding
 is that, in your configuration file, you can set it to any value you
 want, but that the result you intuitively expect will only be achieved
 as long as you stay within the file-system that contains the backuppc
 configuration data.

The thing is that the TopDir location is also written into some lib  
file at install time. If you install a BackupPC package the same thing  
applies: if you just change it in the config file, it won't work.

 From memory, here are the 2 principal alternatives for using a  
 directory on another file-system:

 1. mount - as already suggested - your backup file-system directly at
the mount point /var/lib/backuppc
 2. do a bind-mount of the backup file-system
  - mount your backup file-system at the mount point of your  
 choice,
e.g. backup-mount
  - do mount --bind backup-mount /var/lib/backuppc
to have this done automatically at boot time, add a line to your
/etc/fstab file
  - backup-mount /var/lib/backuppc none bind

You can also use a plain symlink. These solutions have been posted  
many times to this mailinglist.

Nils Breunese.

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] automated backup of specific dirs to local hdd

2009-01-04 Thread Nils Breunese (Lemonbit)
jed wrote:

 Don't spose I could get any advice/pointers from anyone here?  see  
 below...

If you don't already have a webserver running, I wouldn't go with  
BackupPC for this scenario myself. I guess you're not running OS X  
10.5? I like Time Machine for my OS X laptop backups myself. If you  
just want to copy a couple of dirs to another drive, I'd go with a  
simple (one line?) rsync script run by cron/launchd. Or rdiff-backup  
if I wanted to keep multiple backups around.

But sure, you can use BackupPC too if you like. It probably just takes  
a little more time to setup.

Nils Breunese.

 31/12 jed wrote:
 Hi All,

 Is this app. purely for backup across networks to servers, or is it
 also perfectly fine for local backups of stipulated dirs?
 For starters I'm just wanting to regularly backup my Tbird/FF  
 profiles
 to a separate hdd on the same Mac..
 Can it deal with folders that contain data that's live and may be
 updating at the time of a backup? (hope that makes sense)

 I was going to start fiddling with all this but why reinvent the  
 wheel?!?
 http://www.google.com.au/search?hl=enclient=firefox-arls=org.mozilla%3Aen-GB%3Aofficialq=bash+scripting+how-tobtnG=Searchmeta=

 http://www.google.com.au/search?hl=enclient=firefox-arls=org.mozilla%3Aen-GB%3Aofficialq=crontab+os+xbtnG=Searchmeta=

 or this may have worked better in practise than the above?
 http://rajeev.name/blog/2008/09/01/automated-osx-backups-with-launchd-and-rsync/


 Any advice greatly appreciated  :-)

 Seasons well wishes,
 Jed

--
___
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] Reduce BackupPC_nightly to weekly?

2008-12-29 Thread Nils Breunese (Lemonbit)
dan wrote:

 what did you do to reduce the size?

I guess he modified $Conf{BackupPCNightlyPeriod}. See 
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_backuppcnightlyperiod_

Nils Breunese.

--
___
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] Status of fuse for viewing backuppc backups

2008-12-29 Thread Nils Breunese (Lemonbit)
Craig Barratt wrote:

 One question I'm curious about: if FUSE becomes a required part of
 BackupPC 4.x, does that unduly complicate installation or reduce the
 number of distros that BackupPC can readily run on?  I realize FUSE
 is standard on recent 2.6.x kernels, but CentOS 5.2, as one example,
 doesn't enable FUSE, and it was actually quite a pain installing it,
 since the rpm package I found didn't install the kernel module.

Dag's repository has dkms-fuse (kernel module) and fuse (userspace  
utilities) packages available for RHEL/CentOS.

Nils Breunese.

--
___
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] sshd on client?

2008-12-27 Thread Nils Breunese (Lemonbit)
Timothy Murphy wrote:

 The rest is setting up ssh to work as root on the clients,
 and this requires 3 steps:
 1. ssh-keygen as root on the client

You don't need to run ssh-keygen on the clients, only on the BackupPC  
server. You copy the public key that is generated on the BackupPC  
server to the clients.

 As I said, behind the scenes means what *you* configured. If  
 you use
 the default values, you will need to understand what they mean. You  
 should
 at least have *looked at* the values, in which case you should have
 noticed the 'ssh -q -x -l root $host ...'

 Sorry, /etc/BackupPC/config.pl is 2165 lines long.
 I've no intention of reading that.
 Life is too short.

If you're serious about doing backups, I recommend you really read  
through the configuration. I read all of it and afterwards I  
understood a lot more about how BackupPC works, what it's doing  
exactly and what kind of things can be changed and tweaked. Reading  
2165 lines to make sure you have a good feeling about backing up all  
data that is important to you sounds like a bargain to me. Mostly it's  
a summary of the online docs by the way. Reading those I recommend  
even more actually.

Nils Breunese.

--
___
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] sshd on client?

2008-12-27 Thread Nils Breunese (Lemonbit)
Timothy Murphy wrote:

 Nils Breunese (Lemonbit) wrote:

 Sorry, /etc/BackupPC/config.pl is 2165 lines long.
 I've no intention of reading that.
 Life is too short.

 If you're serious about doing backups, I recommend you really read
 through the configuration. I read all of it and afterwards I
 understood a lot more about how BackupPC works, what it's doing
 exactly and what kind of things can be changed and tweaked.

 You are a guru.
 I am just a newbie user.
 I feel I am inundated with far too much information.
 My RAM is full.
 I want to learn the minimum necessary to play music on my laptop.
 run BackupPC, etc.
 I don't want to tweak anything, unless that is essential.
 I assume the distributor has done that for me,
 and I haven't been disappointed so far with CentOS-5.2 in this regard.

You keep bringing up CentOS like it's a complete counterpart of  
BackupPC. I use both CentOS and BackupPC and have used both long  
enough to be able to say with confidence that both have a lot of knobs  
to tweak. Surely the distributor is doing its best to deliver a nice  
experience, but some tools (like both CentOS and BackupPC as far as  
I'm concerned) just have too many knobs and switches to satisfy every  
level of requirements a user can have out of the box.

You talk about BackupPC like it's logical that it is configured  
exactly for your needs. But you just seem to want to play a little  
music and have backups. That's fine, but other people are using  
BackupPC in an enterprise situation with large RAID storage arrays.  
Some people backup mostly Windows machines, some people backup no  
Windows machines. Some backup their machine to a local drive, some  
backup racks of servers over the internet. There are just a lot of  
situations where BackupPC can be put to use, but that also means  
there'll be some configuring to do. Your definition of 'essential'  
might just be very different from someone else's.

I know BackupPC's web interface is pretty shiny, but maybe you're just  
looking for a tool that has less knobs and switches. Check out rdiff- 
backup for instance. It's not that I'm trying to scare you away from  
using BackupPC, I'm just trying to help and hope that you can have  
some understanding for why BackupPC is like the way it is.

Nils Breunese.

--
___
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] sshd on client?

2008-12-26 Thread Nils Breunese (Lemonbit)
Juergen Harms wrote:

 I think it should be possible to set up password-less ssh login for  
 the
 user backuppc just as for any other user - that is what I intend to  
 do,
 but have not yet got round to - will I lose my time?

I don't understand what you're asking exactly, but setting up password- 
less SSH logins is standard procedure if you're going to do backups  
over SSH.

Nils Breunese.

--
___
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] sshd on client?

2008-12-26 Thread Nils Breunese (Lemonbit)
Timothy Murphy wrote:

 Nils Breunese (Lemonbit) wrote:

 Is there incidentally a simple test to determine
 if ssh is working as required by BackupPC?

 See if the BackupPC user can login on the client without entering a
 password.

 Thanks for your comments, which are mostly helpful.

 However, I think the above was slightly misleading.
 I have BackupPC working perfectly on 4 computers (server + 3 clients),
 but in no case can backuppc on the server
 ssh into any of the client machines
 without being asked for a password;
 and when asked for a password I cannot give one,
 since backuppc does not have one.

 I can ssh onto root on the client machines, eg with
   ssh -l root mary

I don't really understand the difference. That last example is what I  
meant. If you cannot SSH into the machines, you cannot run backups  
over SSH.

 The public key of the backuppc user needs to be in the  
 authorized_keys
 file of the user account on the client. Also see
 http://backuppc.sourceforge.net/faq/ssh.html

 That is what I found to be the essential point in getting BackupPC  
 working.
 Amazingly, it did not see to be stated clearly in any of the tutorials
 I looked at.

Well, it's in the official docs and it's standard procedure for using  
SSH with public key authentication.

Nils Breunese.

--
___
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] sshd on client?

2008-12-26 Thread Nils Breunese (Lemonbit)
Timothy Murphy wrote:

 Nils Breunese (Lemonbit) wrote:

 Timothy Murphy wrote:

 Nils Breunese (Lemonbit) wrote:

 Is there incidentally a simple test to determine
 if ssh is working as required by BackupPC?

 See if the BackupPC user can login on the client without entering a
 password.

 Thanks for your comments, which are mostly helpful.

 However, I think the above was slightly misleading.
 I have BackupPC working perfectly on 4 computers (server + 3  
 clients),
 but in no case can backuppc on the server
 ssh into any of the client machines
 without being asked for a password;
 and when asked for a password I cannot give one,
 since backuppc does not have one.

 I can ssh onto root on the client machines, eg with
 ssh -l root mary

 I don't really understand the difference. That last example is what I
 meant. If you cannot SSH into the machines, you cannot run backups
 over SSH.

 It's just a matter of language, I guess.
 When you say you can SSH into the machines
 I take that to mean that you can say
   ssh remote machine
 I suspect that is what most newbies to backuppc (like me) will think,
 which is probably why the official documentation is hard to untangle.

I gave an example that read 'ssh usern...@client', not 'ssh client'.

 The public key of the backuppc user needs to be in the
 authorized_keys
 file of the user account on the client. Also see
 http://backuppc.sourceforge.net/faq/ssh.html

 That is what I found to be the essential point in getting BackupPC
 working.
 Amazingly, it did not see to be stated clearly in any of the  
 tutorials
 I looked at.

 Well, it's in the official docs and it's standard procedure for using
 SSH with public key authentication.

 Where exactly do you think it says this in the official docs?

At the link I mentioned above. http://backuppc.sourceforge.net/faq/ssh.html 
  says:

Key exchange

To allow BackupPC to ssh to the client as root, you need to place  
BackupPC's public key into root's authorized list on the client. (...)

 You say it is standard procedure;
 but it is not normal to ssh into a machine as a different user,

Why not? You login as the user you want to login as.

 and in the case of backuppc it is not clear that this is what is  
 being done,
 unless one looks behind the scenes.

I thought that was pretty clear actually. If you want to login as a  
specific user which is different from the username you are currently  
logged in as, you have to somehow tell ssh. No way around that.

 In my view, BackupPC is an excellent program,
 with two large provisos:
 the documentation is very bad,

I disagree completely. The docs on the site are excellent in my view.  
Much better than for a lot of other open source tools I use. Do you  
know about the BackupPC wiki? You can post clearer instructions there  
if you have any. Or ask Craig to include specific changes.

 and the error messages (the 4 bytes nonsense) are even worse.

That one might be hard to tackle at first, yes. If you or someone else  
could contribute a patch that would make this better, by all means let  
the list know.

Nils Breunese.

--
___
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] BackupPC_link got error -4 when calling MakeFileLink

2008-12-26 Thread Nils Breunese (Lemonbit)
Juergen Harms wrote:

 I fought these messages yesterday. In my case the reason is that  
 topDir
 - the directory where the backup data is stored - is a separate
 file-system, and that BackupPC has problems dealing with that  
 situation.

Having topDir on a separate filesystem is actually recommended for  
performance (you can mount it noatime for instance). BackupPC had no  
problems whatsoever with this situation in my case.

 Googling provided 2 alternative solutions (there appears to be quite  
 an
 epidemy of people suffering from this problem):

 1. Make /var/lib/backuppc an empty directory (if currently you have  
 data
 there, start by saving it elsewhere), and than mount your topDir
 file-system at /var/lib/backuppc (also documented in
 http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html).

 2. Use the --bind option of mount (the Google reference suggests -o
 bind, I guess another and probably obsolete flavour of --bind, not
 documented on my Mandriva platform). I start by mounting my file  
 system
 for backup data quite traditionally at the mount point /backup, but
 after that I add an additional mount instruction:

 mount --bind /backup /var/lib/backuppc

 That acts like a hard link between /backup and /var/lib/backuppc - you
 see the same data through either mount point (and, evidently, you must
 again start by saving any data at /var/lib/backuppc) - and BackupPC
 appears to be happy, no more error messages.

 You will probably want to avoid the explicit mount --bind ...
 instruction: this is done by adding to your /etc/fstab - I placed it
 directly after the mount /dev/xxx /backup ... instruction - the
 following line:

 /backup /var/lib/backuppc none rw,bind 0 0

 with the result that the 2 mount points get mounted at boot time. I  
 also
 changed owner and group of /backup to the backup user - but there I am
 less sure how correct or imperative that is.

 I read that a new release (3.1.1) of backuppc is being prepared -  
 short
 of fixing this problem, it might be a good idea to add a couple of  
 words
 to the documentation, warning about this restriction in the
 configurability of the topDir variable.

What solution are you proposing exactly? AFAIK BackupPC doesn't care  
if topDir is on another filesystem or not and how it is mounted. Just  
make sure the filesystem it's on supports hardlinks and that your  
backuppc user can access topDir and it should just work. It did for me.

Nils Breunese.

--
___
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] sshd on client?

2008-12-25 Thread Nils Breunese (Lemonbit)
Timothy Murphy wrote:

 Must an ssh server be running on BackPC clients?

If you'll be using SSH, then yes, because the BackupPC server needs to  
be able to login on the clients.

 Is there incidentally a simple test to determine
 if ssh is working as required by BackupPC?

See if the BackupPC user can login on the client without entering a  
password.

Switch to the backuppc user on the BackupPC server:
# su -s /bin/bash - backuppc

Try to login on the remote client:
# ssh usern...@client

You need to do this at least once after adding a new host, because you  
need to okay the SSH key fingerprints the first time.

 As far as I can see, one has to exchange keys
 between backuppc on the server and root on the clients.
 Is that correct?

The public key of the backuppc user needs to be in the authorized_keys  
file of the user account on the client. Also see 
http://backuppc.sourceforge.net/faq/ssh.html

Nils Breunese.

--
___
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] Specifying DHCP client addresses

2008-12-23 Thread Nils Breunese (Lemonbit)
Juergen Harms wrote:

 I am trying to plan my first backupPC installation and have a question
 on how to set up the backupc/host file (Mandriva 9.0, intending to use
 rsync).

 The How BackupPC Finds Hosts section in the documentation is very
 clear: for DHCP hosts I should set the DHCP flag to 1 and then will  
 get
 NETBIOS name resolution (rmblookup). That means, that I need to  
 install
 a samba server on each DHCP client - which is an overkill and an
 undesired complication, I do not need samba if I use rsync.

 2 questions:

 1. If the /etc/hosts files on the server and clients contain the  
 correct
 IP addresses, can I than simply set the DHCP flag to 0 and fake using
 static addresses, even if a host has obtained its address via DHCP?

 2. If yes, has anybody experience in using nmap for verifying/ 
 correcting
 the /etc/hosts entries for use by backupPC? At present I use nmap (run
 as root) to get a list of valid name-IP address mappings for  
 manually
  adjusting addresses if a DHCP laptop needs to assume certain server
 functions. It looks promising to digest this into an automatically run
 procedure.

Most DHCP servers can be configured to hand out the same IP address to  
a machine every time. Have you looked into that? I'd go with either  
that or a proper DNS server.

Nils Breunese.

--
___
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] Question about OS Flavor...

2008-12-23 Thread Nils Breunese (Lemonbit)
James Beam wrote:

 Anyone have suggestions on the best 'recommended' flavor of Linux to  
 run
 this on as the host?

 We are using Ubuntu and Suse Enterprise (due to the Active Directory
 integration) in-house currently. We are a Microsoft shop, but us IT  
 folks
 always have varied Linux boxes around for the real work.

 Would just like to hear folks thoughts - do not want to start an OS  
 debate
 however - just some suggestions.

Just go with whatever flavor of Linux you're comfortable with  
administering. I you don't want to install from the source tarball  
(there is nothing to compile, so it's easy), check if there is a  
BackupPC package available for your favorite distribution.

Nils Breunese.

--
___
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] Specifying DHCP client addresses

2008-12-23 Thread Nils Breunese (Lemonbit)
Juergen Harms wrote:

 Most DHCP servers can be configured to hand out the same IP address  
 to
 a machine every time

 This alternative is not feasible unless I install a software DHCP  
 server
 on one of the machines. At present I stick (quite small and simple  
 LANs)
 to the servers that sit in the xDSL router boxes - my current boxes do
 not allow to do what you suggest (one of them is ISP provider-imposed
 and configured).

Hmm, too bad. Even my cheap home ADSL router can do this.

Nils Breunese.

--
___
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] missing rdev on device...

2008-12-23 Thread Nils Breunese (Lemonbit)
cpreston wrote:

 If you are on this mailing list and have an opinion about Backup  
 Central's use of this list, please read this message and respond.   
 I'm doing what I'm doing because I believe it helps the BackupPC  
 community -- no other reason.  It sure isn't to generate more web  
 traffic.  (If that's all I wanted to do, I could do that by setting  
 up a one-way setup where I import the messages from the list and  
 don't send forum messages back to the list.)  I believe that what  
 I'm doing is the right thing, but at least one member of the list  
 seems to feel rather strongly in the opposite direction.  I thought  
 I'd give you a chance to respond to that.

I'm with Holger on this one. I'm a member of a lot of mailinglists and  
I find the edited reposts coming from Backup Central quite annoying.

 Second, I DO understand the basics of email threading, and am well  
 acquainted with the appropriate RFCs.  I'm a Unix geek through and  
 through and used to use Usenet before it got popular and got all  
 messed up.


I feel now this mailinglist is getting messed up. And I think Holger  
felt the same.

 Do you yell at people that use email clients that mess up the thread  
 as well?  Just curious.

I do from time to time, yes.

 Apparently there's some combination of what I'm doing and what this  
 poster is doing that is driving you crazy.  I _think_ it's that he's  
 been editing previous posts.  The ability to edit a previous post is  
 on by default, but I have now turned it off.  (In fact, I decided to  
 do it for all forums.)  See how easy that was?  I am neither stupid  
 nor evil.  Quit trying to make me so.  I am a reasonable person who  
 responds to reasonable requests, even when they are stated rather  
 unreasonably strong, as is the case in your case.

Turning off editing previous posts is probably going a long way  
towards fixing our annoyance. Thanks for that.

 In addition, the poster to which you have sent such hateful sounding  
 posts has posted both questions AND answers to this forum and by  
 extension your mailing list.  (See 
 http://www.backupcentral.com/phpBB2/search/author/Glassfox.html 
  )  While the majority of his/her posts have been questions, it  
 seems that they are trying to help as well.  Maybe you could back  
 off just a little.

I think Holger is maybe the most helpful and knowledgable person on  
this mailinglist, so we might want him to stay as well.

 Then you said:
 Any idea what's wrong here?
 I really couldn't care less.

 So you posted all that just to say that you weren't going to answer  
 his question?  Now THAT'S being unreasonable.

I think he posted to say that he would have cared if the person asking  
would refrain from sending edited posts to the mailinglist via Backup  
Central. It was not the first time Holger expressed his annoyance with  
posters coming through Backup Central, so I guess this was just the  
drop and someone got a reaction that was maybe a bit stronger put than  
he could have expected.

Just my 2 cents,

Nils Breunese.

--
___
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] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-16 Thread Nils Breunese (Lemonbit)
Adam Goryachev wrote:

 Not sure I can help you with that one... I have never used CentOS  
 and in
 fact avoid it. I've been quite happy with Debian ever since RedHat 8  
 was
 released :) Hopefully someone else with more experience could assist  
 you.
 Not that I think it can't work on centos, but why do you insist on  
 using it?
 Is there a pre-packaged version of backuppc available for centos?

There is a backuppc package in testing [0]. It uses a mod_perl setup  
with apache running as backuppc. Since I didn't want to use mod_perl  
and run my apache as backuppc, I just install BackupPC from source and  
it works fine. Currently running it on CentOS 5, but ran it on CentOS  
4 before.

Nils Breunese.

[0] http://dev.centos.org/centos/4/testing/ / 
http://dev.centos.org/centos/5/testing/

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-16 Thread Nils Breunese (Lemonbit)
Les Mikesell wrote:

 Why is suexec involved?

Les is right, you don't need suexec. Trying to use it is probably  
causing your problem.

 [2008-12-15 10:37:00]: file is either setuid or setgid:
 (/var/www/cgi-bin/BackupPC_Admin)

 Yes, the config.pl script should have installed it mode 04554.
 It needs to be group-readable by apache, owned by backuppc and suid.

4550 should be enough for everybody. :o)

Nils Breunese.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] Backuppc on the same (server) system?

2008-12-15 Thread Nils Breunese (Lemonbit)
Glassfox wrote:

 I tried several times to backup my server host, but backuppc seemed  
 to ignore the exclude files settings. I want to exclude this folders  
 from backup with their all subfolders: /proc, /sys, /media and /var/ 
 lib/backuppc. This is my current config file content:

 $Conf{BackupFilesExclude} = {
  '/media/*' = [
'',
''
  ],
  '/sys/*' = [
''
  ],
  '/var/lib/backuppc/*' = [
''
  ],
  '/proc/*' = [
''
  ]
 };

 I'm using Ubuntu and rsync.
 Is there any error?

Yes, your configuration is incorrect. See 
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_backupfilesexclude_
 
  for the documentation. The keys need to correspond to share names,  
but the keys in your example correspond to directories *within* a  
share. This doesn't work.

You could solve this by using '/' (or '*', which sets excludes for all  
shares don't have any specific excludes set) as the share name and  
specifying a list of directories not to backup as the value:


$Conf{BackupFilesExclude} = {
   '*' = [
 '/media/*',
 '/proc/*',
 '/sys/*',
 '/var/lib/backuppc/*'
   ]
};


I guess you could even use the simple list form in this case as you're  
not working with multiple shares:


$Conf{BackupFilesExclude} = { '/media/*', '/proc/*', '/sys/*', '/var/ 
lib/backuppc/*' };


Nils Breunese.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-12 Thread Nils Breunese (Lemonbit)
Les Mikesell wrote:

 [r...@telephony conf.d]# cat /etc/selinux/config
 # This file controls the state of SELinux on the system.
 # SELINUX= can take one of these three values:
 #   enforcing - SELinux security policy is enforced.
 #   permissive - SELinux prints warnings instead of enforcing.
 #   disabled - SELinux is fully disabled.
 SELINUX=disabled
 # SELINUXTYPE= type of policy in use. Possible values are:
 #   targeted - Only targeted network daemons are protected.
 #   strict - Full SELinux protection.
 SELINUXTYPE=targeted

 Is that a cut/paste error or do you actually have targeted  
 uncommented?

Probably it's uncommented. Why would that be strange? As long as  
SELINUX=disabled it doesn't really matter what SELINUXTYPE is set to.

 By the way, it takes a reboot to make a change take effect.

The output of 'sestatus' tells you the status of SELinux.

We used to run BackupPC on CentOS 4 (now on CentOS 5), so I'm sure it  
can work.

# ll /var/www/cgi-bin/BackupPC_Admin
-rwsr-x--- 1 backuppc apache 3993 Apr  8  2008 /var/www/cgi-bin/ 
BackupPC_Admin

Nils Breunese.



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] Backuppc on the same (server) system?

2008-12-11 Thread Nils Breunese (Lemonbit)
Glassfox wrote:

 1. Where can I define the backups destination path? I want to use an  
 external USB drive for this.

The installer asks for the TopDir location. If you installed a  
prepackaged version of BackupPC this location was decided by the  
packager. It's probably /var/lib/backuppc in that case (at least I  
hear that's what the Debian and Ubuntu packages use). You should be  
able to mount your external USB drive as /var/lib/backuppc. Better  
make sure BackupPC is not running when you do.

 2. What is the right (host?) configuration if I just want to backup  
 just everything (a copy of all existing files on disk)? I mean, what  
 do I have to define for all this include/exclude/etc. parameters?

What kind of OS are you talking about? For a *nix machine you could  
just backup /. If you want to backup everything, you don't need any  
excludes. However, you probably don't want to backup everything, as  
backing up /proc and /sys really doesn't make sense. The comments in  
the default BackupPC config.pl also say:


For linux or unix machines you should add /proc to  
$Conf{BackupFilesExclude} unless you have specified --one-file-system  
in $Conf{TarClientCmd} or --one-file-system in $Conf{RsyncArgs}.


Nils Breunese.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] Backuppc on the same (server) system?

2008-12-10 Thread Nils Breunese (Lemonbit)
Glassfox wrote:

 My first question is: can backuppc make a backup of a system it is  
 running on itself? Or do I always need to have a second backup host  
 to make a backup of my Linux server?

A BackupPC server can backup itself just fine. Just make sure you  
exclude the backup pool, or you'll get into a backup loop.

 And my second question is: could I get a corrupt system backup if  
 the web applications and databases were not shut down during the  
 backup process?

Web applicaties are just static files, right? You can back them up  
safely. Consult the docs for your database software for backups. We  
let BackupPC run a script to create SQL dumps of all our databases  
before starting the backup. Backing up the live database files usually  
is not guaranteed to get you a consistent state.

Nils Breunese.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] Backuppc on the same (server) system?

2008-12-10 Thread Nils Breunese (Lemonbit)
Glassfox wrote:

 I hope, I understood this in the right way: making database dumps  
 helps (I will not get an inconsistence state) but using backuppc for  
 them will bloat the backup pool?

Depends on what your definition of bloat is. And probably also on the  
size of your databases. We backup the dumps of our databases with  
BackupPC and it works just fine.

Nils Breunese.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] Backuppc on the same (server) system?

2008-12-10 Thread Nils Breunese (Lemonbit)
dan wrote:

 the problem with backing up a database  incrementally is that as the  
 database grows the backups bloat up as they do not get any benefit  
 from the incremental backup.

 with a database, it is usually better to replicate the database to  
 another host and then do periodic dumps.

 web pages are very typically static on disk.  it is a good practice  
 to make your website completely read-only so there would be no  
 writes to local files.  The only writes should be to the cache and  
 to an attached database.

 I would suggest you do periodic dumps of the database and then  
 backup the directory where you put those dumps.  I would also  
 suggest that you replicate the database to another machine.  Keep in  
 mind that if you are not going to have an hot spare database server,  
 you can replicate a heavily used database to very modest hardware  
 because it doesnt need to server requests.  The nice thing about  
 online replication is that you can replicate and then shut down the  
 second database and do the dump from there so you never have to shut  
 down the main database.

I believe a lot of databases these days don't need to be shut down to  
create a dump. And we still don't know what the situation is (what  
kind of database, how much data). Using a separate server for  
replication may very well be overkill.

Nils Breunese.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] upgrading from 2.1.x and swapping servers

2008-12-09 Thread Nils Breunese (Lemonbit)
Trey Nolen wrote:

 I've looked through the archives a good bit and have found some  
 information
 about moving pools to different servers, but I haven't seen anything  
 on
 this.   We are running a 2.1.x server that is getting pretty full  
 (and old).
 It is using the Debian packages for BackupPC.  We are about to  
 upgrade to a
 new, Ubuntu server (Intrepid) for which the 3.1.0 packages are  
 available.
 My questions are these:  Can I move the pool from a 2.1.x server to  
 a 3.1.0?
 If so, are there any changes I need to implement to make it  
 compatible?  Can
 we go straight from 2.1.x to 3.1.0?  Any other insights would be much
 appreciated.

How many days of history do you keep? If it's only one or two weeks,  
you could just install a fresh server, disable backups on the old one  
and keep the old server around until the new one has a full history.  
No need to bother moving your pool in that case.

Nils Breunese.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] Advice on creating duplicate backup server

2008-12-08 Thread Nils Breunese (Lemonbit)
Stuart Luscombe wrote:


 I’ve got the OS (CentOS) installed on the new server and have  
 installed BackupPC v3.1.0, but I’m having problems working out how  
 to sync the pool with the main backup server. I managed to rsync the  
 cpool folder without any real bother, but the pool folder is the  
 problem, if I try an rsync it eventually dies with an ‘out of  
 memory’ error (the server has 8GB), and a cp –a didn’t seem to work  
 either, as the server filled up, assumedly as it’s not copying the  
 hard links correctly?

 So my query here really is am I going the right way about this? If  
 not, what’s the best method to take so that say once a day the  
 duplicate server gets updated.

Check the archives for a *lot* of posts on this subject. The general  
conclusion is that copying or rsyncing big pools just doesn't work  
because of the large number of hardlinks used by BackupPC. Using rsync  
3.x instead of 2.x seems to need a lot less memory, but it just ends  
at some point. A lot of people run into this when they want to migrate  
their pool to another machine or bigger hard drive. In that case the  
usual advice is to use dd to copy the partition and then grow the  
filesystem once it's copied over.

dd'ing your complete pool every day isn't going to work either I  
guess. Instead of trying to sync the pool, can't you just run a second  
BackupPC server that also backs up your machines?

Nils Breunese.
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] What is the state of BackupPC development? Plus some wish-list/roadmap thoughts

2008-12-05 Thread Nils Breunese (Lemonbit)
Jeffrey J. Kosowsky wrote:

 This may be a naive question, but I was wondering what is the state of
 BackupPC development? (I couldn't find answers on the sourceforge
 site)

This is the users mailinglist. The development mailinglist may have  
more info for you: https://lists.sourceforge.net/lists/listinfo/backuppc-devel

Nils Breunese.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] Configure TopDir per pc

2008-12-03 Thread Nils Breunese (Lemonbit)
Mark Adams wrote:

 I have several machines I would like to backup with BackupPC, but the
 server is a humble box with several installed hard discs -- nothing  
 fancy.

 I need to backup each client machine to a different hard drive on the
 server.  I have one client configured and it tries to backup my 16  
 GB of
 data, but fails because TopDir is configured for /var/lib/bacuppc in  
 my
 /etc/backuppc/config.pl file and there simply isn't enough room for  
 the
 data there.  My reading of the docs says that I should be able to
 configure TopDir in the client.pl file under
 /var/lib/backuppc/pc/client/client.pl.  I have done this:

 # cat /var/lib/backuppc/pc/client/client.pl
 $Conf{TopDir} = '/mnt/attic/spike_images';
 $Conf{XferMethod} = 'rsync';
 $Conf{BackupFilesExclude} = ['/floppy'];
 $Conf{BackupFilesOnly} = ['/mnt/spike/images', '/mnt/spike/photos'];
 $Conf{ClientNameAlias} = '192.168.xxx.xxx';

 But it doesn't seem to make any difference. How can I set a TopDir  
 per pc?

You can't. BackupPC stores the files for the backed up hosts in a pool  
that needs to be on one filesystem, because of the use of hardlinks.  
The only way to use multiple pools (and have multiple TopDirs) is to  
run multiple installations of BackupPC.

Another option: use LVM to make one volume spanning your drives.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] BackupPC Working Well - Except Archiving

2008-11-21 Thread Nils Breunese (Lemonbit)
SamK wrote:

 QUESTIONS:
 01 The format of the command line required by BackupPC_archiveStart  
 is archiveHost userName hosts.  Is is possible to specify  
 multiple hosts without explicitly listing each of them at the  
 command line?  (perhaps a wildcard) I have tried an asterisk without  
 success.

Asterisks are normally expanded by your shell to a list of files in  
the current directory. I don't believe there is an 'all' option. You  
could just list them, or grep/awk them from your hosts file or  
something.

 02 I would like to conduct actions prior and post creating an  
 archive. Specifically mounting a Truecrypt encrypted removable  
 disk.  The following command line works exactly as required when  
 executed at the command line as user = backuppc but fails when used  
 in archiveHost.pl.
 Command line version
 /bin/echo password | /usr/bin/truecrypt --text --keyfiles= -- 
 protect-hidden=no --password=password --mount /dev/sdd1 /media/ 
 backups-archived

 archiveHost.pl version
 $Conf{ArchivePreUserCmd} = '/bin/echo password | /usr/bin/truecrypt  
 --text --keyfiles= --protect-hidden=no --password=password -- 
 mount /dev/sdd1 /media/backups-archived';

 Is this the correct file in which to list pre/post archive commands?

 Is there a syntax flaw in the construction of my  
 $Conf{ArchivePreUserCmd}?

I believe your are going to run this as a cronjob, right? Why not make  
a three line script (mount image, archive+gzip, unmount) and run that  
from cron? Then you don't need to mess with any pre or post commands  
in BackupPC. Just an idea.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] BackupPC Working Well - Except Archiving

2008-11-20 Thread Nils Breunese (Lemonbit)
SamK wrote:

 A copy of BackupPC 3.1 has been obtained from the main Ubuntu  
 repository and successfully installed on v 8.04-Server.  This has  
 now provided access to the file BackupPC_archiveStart which I intend  
 to use via cron as outlined in the BackupPC documentation.

 When executed from the command line this produces an archive  
 in .tar.raw format rather than gzip format.  I must be going snow  
 blind on this as I simply cannot figure out what configuration  
 entries need to be made in which files to achieve this.  I am now  
 totally confused and cannot make progress by using the documentation.

 Is anyone willing to give me a hand with this?

What is your question exactly? If you want a gzipped archive then use  
gzip to compress the tar archive.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] BackupPC Working Well - Except Archiving

2008-11-20 Thread Nils Breunese (Lemonbit)
Nils Breunese (Lemonbit) wrote:

 SamK wrote:

 A copy of BackupPC 3.1 has been obtained from the main Ubuntu
 repository and successfully installed on v 8.04-Server.  This has
 now provided access to the file BackupPC_archiveStart which I intend
 to use via cron as outlined in the BackupPC documentation.

 When executed from the command line this produces an archive
 in .tar.raw format rather than gzip format.  I must be going snow
 blind on this as I simply cannot figure out what configuration
 entries need to be made in which files to achieve this.  I am now
 totally confused and cannot make progress by using the documentation.

 Is anyone willing to give me a hand with this?

 What is your question exactly? If you want a gzipped archive then use
 gzip to compress the tar archive.

Or what I'd do: don't use BackupPC_archiveStart, but use  
BackupPC_tarCreate and pipe the result into gzip.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] $Conf{RsyncShareName} globally and for hosts

2008-11-18 Thread Nils Breunese (Lemonbit)
Christian Völker wrote:

 I have a global option in the config.pl:
 $Conf{RsyncShareName}= ['/','/boot'];

 Rsync is configured with the '--one-filesystem'.

 So my rsync hosts are backed up including / and /boot. Fine

 On some hosts there are some more shares to backup i.e. /srv/ftp.

 What is the right statement in the hosts.pl file?
 $Conf{RsyncShareName}= ['/','/boot','/srv/ftp'];
 or
 $Conf{RsyncShareName}= '/srv/ftp';

 In other words: will this value be overwritten or will it be added?

It's an override.

Nils Breunese.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Pool size graph missing legend in Centos 5 after latest rrdtool updates.

2008-11-17 Thread Nils Breunese (Lemonbit)
Pete Geenhuizen wrote:

 Nils Breunese (Lemonbit) wrote:
 I'm not using this BackupPC mod, but there was a post on the RPMForge
 users mailinglist about this problem with the latest rrdtool  
 updates: http://lists.rpmforge.net/pipermail/users/2008-November/002040.html

 Nils Breunese.


 Thanks Nils, unfortunately I'm not savvy enough with either Cati or
 rrdtool to figure out how best to fix it.  I did find a bug on the
 Gentoo bugzilla that seems to have solved the problem, so I opened a
 bugzilla incident on Centos 5 referencing the Gentoo bug.

Please not that those *.rf packages are not official CentOS packags,  
but packages from the third-party RPMForge repository. Filing bugs on  
the CentOS bugzilla won't get you much help probably.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] BackupPC Working Well - Except Archiving

2008-11-17 Thread Nils Breunese (Lemonbit)
SamK wrote:

 The on-line documentation at Sourceforge mentions creating an  
 archive at the command line using BackupPC_archiveStart.  This  
 method fails as the system cannot find BackupPC_archiveStart.

The BackupPC_archiveStart binary is probably not in your path. Try  
calling it using the full path, e.g. /usr/local/BackupPC/bin/ 
BackupPC_archiveStart on our systems.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Keeping a specific full backup

2008-11-17 Thread Nils Breunese (Lemonbit)
pete davidson wrote:

 I recently restored a crashed mac harddrive from a backuppc full  
 backup (phew..).  I'd like to keep that particular full backup (so  
 if I later realize I actually needed some file I thought I didn't  
 need in the original restore it's still there).  Is there a way to  
 change my current config.pl settings or individual [hostname].pl  
 settings to not overwrite that particular backup (I'm using the  
 default settings at the moment for how often and how many full   
 incremental backups to keep)?

I recommend creating an archive of that particular backup.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Backuppc mirroring with rdiff-backup or not?

2008-11-17 Thread Nils Breunese (Lemonbit)
[EMAIL PROTECTED] wrote:

 Don't get me wrong:  I'll take the hacks.  It's better than  
 nothing.  I, like I think *most* of us, would kill (or even pay  
 for!) a method of replicating a pool in a guaranteed-correct way,  
 especially at the host or even backup level.  But I still worry  
 about using these hacks for production.

You could also set up two BackupPC servers in two different locations.  
No hacks needed.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Pool size graph missing legend in Centos 5 after latest rrdtool updates.

2008-11-16 Thread Nils Breunese (Lemonbit)
Pete Geenhuizen wrote:

 Under Centos5, the latest perl-rrdtool.i386 0:1.2.28-1.el5.rf and
 rrdtool.i386 0:1.2.28-1.el5.rf updates seem to have broken part of the
 Pool Size graph, specifically all the text is missing from within the
 graph. Other than the graph I see 2 dots where the 2 color squares  
 used
 to be.
 Also since the update I see the following error in the httpd error log
 every time I refresh the BackupPC page
 ERROR: failed to load

 Today I removed the the last updates and re-installed the previous
 versions  (rrdtool-1.2.27-3.el5.i386.rpm and
 rrdtool-perl-1.2.27-3.el5.i386.rpm) and the errors are gone and the
 graph displays properly again with all the text intact.

 Anyone else have this problem and or anyone have a fix?

I'm not using this BackupPC mod, but there was a post on the RPMForge  
users mailinglist about this problem with the latest rrdtool updates: 
http://lists.rpmforge.net/pipermail/users/2008-November/002040.html

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] moving a volume

2008-11-16 Thread Nils Breunese (Lemonbit)
Veon wrote:

 Ray Todd Stevens wrote:
 We have a backuppc system setup that has been running for a while  
 now.   We are
 expanding the office and I am going to need more storage space.  To  
 do this I will need to
 copy the data off, reconfigure the array with more drives and then  
 reload the system.

 How is the best way to do this?
 Hi,
 cp -a  is the best way imho.
 I moved a storage fs few days ago without problems.
 Hope this help. (and sorry for my english).

It depends on the size of your pool. A lot of hardlinks can make cp -a  
take a very, very long time. In that case it is probably a lot faster  
to use dd to copy the filesystem over and grow the filesystem  
afterwards.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] How to Prevent Users Starting a Backup

2008-11-14 Thread Nils Breunese (Lemonbit)
[EMAIL PROTECTED] wrote:

 Is it possible to stop a user from manually taking a full and/or  
 incremental backup?  I have tried setting $Conf{MaxUserBackups} = 0;  
 but this does not achieve the goal.

 Why do this?  I have a network in which all user home directories  
 are stored on a dedicated file-server and therefore not stored  
 locally on each PC.  The backups of the file-server are conducted  
 using the schedule facility of BackupPC. This setup is working  
 well.  To make it simpler for each user it will be preferred if they  
 were able to conduct only restores.

 I am not a coder and anything beyond commenting out may be  
 beyond my ability.  However, if anyone has any simple suggestions I  
 am willing to test them.

See the $Conf{MaxUserBackups} setting: 
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_maxuserbackups_

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] upgrading backuppc 3.0 to 3.1

2008-11-12 Thread Nils Breunese (Lemonbit)
oblivian wrote:

 And why is BackupPC stil on 3.0 in the Ubuntu repositories?

According to http://packages.ubuntu.com/backuppc Ubuntu 8.10 has  
3.1.0. Ubuntu 8.04 LTS has 3.0.0. Generally distributions don't do  
version upgrades during the lifetime of a release.

 Who is maintaining BackupPC on Ubuntu?

You can probably ask your package manager (I don't run Ubuntu). Looks  
like it's 'Ubuntu Core Developers'.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Backuppc not working (cant read 4 bytes error)

2008-11-08 Thread Nils Breunese (Lemonbit)
vgivanovic wrote:

 Nils Breunese (Lemonbit) wrote:
 David Hopkins wrote:


 I have deleted and recreated the ssh keys, changed the command  
 line to
 use sudo which then gives a different error: It says you need a  
 tty to
 run sudo.  At this point I am not sure what to try next.

 http://www.mail-archive.com/backuppc-users  at   
 lists.sourceforge.net/msg11414.html
 http://www.mail-archive.com/backuppc-users  at   
 lists.sourceforge.net/msg11171.html
 http://www.mail-archive.com/backuppc-users  at   
 lists.sourceforge.net/msg07831.html
 http://www.mail-archive.com/backuppc-users  at   
 lists.sourceforge.net/msg07039.html
 http://www.mail-archive.com/backuppc-users  at   
 lists.sourceforge.net/msg06239.html

 :o)

 None of these links resolve; they all generate a 404 message.

I did not post those links like that. I guess the web archive that you  
use replaces the @-sign with  at  or something.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Questions about compression in BackupPC

2008-11-05 Thread Nils Breunese (Lemonbit)
John Goerzen wrote:

 First, the on-disk compression format makes me nervous.  It appears to
 use the deflate algorithm, but cannot be unpacked with either gzip or
 unzip.  It would seem that the few bytes that adding a gzip header
 means would be well worth it, since it would buy the ability to
 extract it without using specialized tools.

You can use the BackupPC_zcat binary to decompress individual files  
manually.

 Secondly, I would love to be able to use bzip2 for the on-disk
 compression of each backup.  It appears that bzip2 can be used for
 archives, but not the regular backups.  Is this in the works anywhere?

In my experience bzip2 is a much more resource intensive algorithm  
than gzip. I wouldn't want to use that on my backups, they'd take  
forever to compress.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Questions about compression in BackupPC

2008-11-05 Thread Nils Breunese (Lemonbit)
John Goerzen wrote:

 On Wed, Nov 05, 2008 at 10:40:35PM +0100, Nils Breunese (Lemonbit)  
 wrote:
 John Goerzen wrote:

 First, the on-disk compression format makes me nervous.  It  
 appears to
 use the deflate algorithm, but cannot be unpacked with either gzip  
 or
 unzip.  It would seem that the few bytes that adding a gzip header
 means would be well worth it, since it would buy the ability to
 extract it without using specialized tools.

 You can use the BackupPC_zcat binary to decompress individual files
 manually.

 Right, I'm aware of that.  But that's a specialized tool.  It requires
 CPAN libraries, libraries from BackupPC's perl library, etc.  20 bytes
 or so would get you something that gzip could uncompress.

Are you sure? I thought it also works on its own. Haven't tried it  
though.

 There's still the question of a CRC.

I don't know about that.

 Secondly, I would love to be able to use bzip2 for the on-disk
 compression of each backup.  It appears that bzip2 can be used for
 archives, but not the regular backups.  Is this in the works  
 anywhere?

 In my experience bzip2 is a much more resource intensive algorithm
 than gzip. I wouldn't want to use that on my backups, they'd take
 forever to compress.

 Sure, it's resource-intensive, but why not offer it?  I've got a Core
 2 Duo, and in tests using dar (similar to tar) with per-file bzip2
 compression, it performs well enough and has a space savings in the
 neighborhood of 20% over gzip on my test set.

 It will certainly not be right for everyone, but why not the choice?

Well, maybe because it was never implemented and you're the first  
person to ask about it. :o)

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Disabling incremental to enable Full

2008-10-31 Thread Nils Breunese (Lemonbit)
Alexandre - ArchivTech wrote:

 I'd like to disable incremental since i use rsync, and so, full  
 backups
 are ok for my needs giving me the same results as incremental.

This has been debated over and over again, but really doing a mix of  
full and incremental backups is best for most situations. Why do you  
want to do only fulls?

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] UPDATE: Hypothesis: Problems backing up Windows machines under 'rsync' traced to perl-File-RsyncP protocol 28 limitation

2008-10-27 Thread Nils Breunese (Lemonbit)
Jeffrey J. Kosowsky wrote:

 Now, the verbose output of BackupPC_dump shows:
   Got remote protocol 30
   Negotiated protocol version 28
 while the extra extra verbose output of running rsync manually shows:
 (Client) Protocol versions: remote=30, negotiated=30
 receiving incremental file list
 (Server) Protocol versions: remote=30, negotiated=30

 I SUSPECT the problem may be due to perl-File-RsyncP which reportedly
 only uses protocol 28 while rsync-3.0.4 uses protocol 30. If so,
 perhaps the reason that the rsyncd method works is that it bypasses
 such portions of perl-File-RsyncP that cause the problem.

 If true, perhaps a lot of the problems with backing up Windows  
 machines
 could be cleaned up by upgrading perl-File-RsyncP to protocol 30.

 IF so, is there any way to update the perl library? (I noticed that
 Craig is also the author of it)

File::RsyncP is a (non-complete) implementation of rsync in Perl  
written for use by BackupPC. The latest version of File::RsyncP  
supports protocol version 28, there is nothing to upgrade there. The  
protocol used is the highest version supported by both the client and  
the server, which is 28 in either case you described. There is no  
version of File::RsyncP which supports protocol 28 at the moment.

By the way, we are backing up machines that all run rsync 3.0.4 and  
support protocol 30, but we're using BackupPC with File::RsyncP, so  
the negotiated procotol is protocol 28 for all our backups. And our  
backups are working fine. But we're not backing up any Windows machines.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] UPDATE: Hypothesis: Problems backing up Windows machines under 'rsync' traced to perl-File-RsyncP protocol 28 limitation

2008-10-27 Thread Nils Breunese (Lemonbit)
Jeffrey J. Kosowsky wrote:

 Nils Breunese (Lemonbit) wrote at about 01:07:02 +0100 on Tuesday,  
 October 28, 2008:


 File::RsyncP is a (non-complete) implementation of rsync in Perl
 written for use by BackupPC. The latest version of File::RsyncP
 supports protocol version 28, there is nothing to upgrade there. The
 protocol used is the highest version supported by both the client and
 the server, which is 28 in either case you described. There is no
 version of File::RsyncP which supports protocol 28 at the moment.


 That's precisely my point. If we want to have the 'rsync' method work
 better with Window, then File::RsyncP needs to be updated to version
 30.

Are you sure? What makes you think that? I believe that File::RsyncP  
only implements the parts of rsync that are actually used by BackupPC.  
It only makes sense to support protocol 28 in File::RsyncP when  
features in BackupPC will use functionality only available with  
protocol 28.

 By the way, we are backing up machines that all run rsync 3.0.4 and
 support protocol 30, but we're using BackupPC with File::RsyncP, so
 the negotiated procotol is protocol 28 for all our backups. And our
 backups are working fine. But we're not backing up any Windows  
 machines.

 My point PRECISELY -- Protocol 30 seems to be important to avoid hangs
 with long and/or weird file names in Windows. Since those file types
 don't exist in Linux, Protocol 28 works just fine there.

What do you mean by saying that long and/or weird file names don't  
exist in Linux? Can file names be longer when using Windows than they  
can when using Linux? Can Windows file names be weirder? (If so, what  
does that mean exactly?)

I'm not saying that it's not true that protocol 30 did not add  
functionality that somehow fixes your problem (because I'm not really  
up to speed on what the protocol differences are), but I just have  
this gut feeling that the protocol version is not the problem. Craig  
might be able to explain all of this better.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Incremental dumps hanging with 'Can't get rsync digests' 'Can't call method isCached'

2008-10-19 Thread Nils Breunese (Lemonbit)
Jeffrey J. Kosowsky wrote:

 When running an incremental backup on my Linux system, BackupPC
 repeatedly hangs when backing up the mythconverg mysql database for
 mythtv.

 Note that the database seems to be perfectly intact and I don't have
 any problem 'rsyncing' it manually.

 The specific error messages I get are:

 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 fpeople.MYI
 (err=-2, name=var/lib/mysql/mythconverg/people.MYI)
 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 fpidcache.MYD
 (err=-2, name=var/lib/mysql/mythconverg/pidcache.MYD)
 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 fpidcache.MYI
 (err=-2, name=var/lib/mysql/mythconverg/pidcache.MYI)
 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 fprogram.MYD
 (err=-2, name=var/lib/mysql/mythconverg/program.MYD)
 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 fprogram.MYI
 (err=-2, name=var/lib/mysql/mythconverg/program.MYI)
 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 fprogramgenres.MYD
 (err=-2, name=var/lib/mysql/mythconverg/programgenres.MYD)
 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 fprogramgenres.MYI
 (err=-2, name=var/lib/mysql/mythconverg/programgenres.MYI)
 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 fprogramrating.MYD
 (err=-2, name=var/lib/mysql/mythconverg/programrating.MYD)
 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 fprogramrating.MYI
 (err=-2, name=var/lib/mysql/mythconverg/programrating.MYI)
 Can't get rsync digests from
 /var/lib/BackupPC/pc/consult/3/f%2f/fvar/flib/fmysql/fmythconverg/ 
 frecord.MYD
 (err=-2, name=var/lib/mysql/mythconverg/record.MYD)
 Can't call method isCached on an undefined value at
 /usr/share/BackupPC/lib/BackupPC/Xfer/RsyncFileIO.pm line 165.

 It then just proceeds to hang for HOURS...

 The most disturbing thing to me is that BackupPC seems to be so
 fragile in that if it encounters a problem, it seems to just hang
 there (seemingly) forever without sending any error messages

I get error messages about things like network errors BackupPC  
encounters during backups. The error you're having doesn't sound like  
'regular error' though and that's probably why you get irrgular  
behavior (hanging processes). Either you've hit a bug in BackupPC or  
your installation is broken, but that undefined value error shouldn't  
occur. Did you install BackupPC using a package manager? If so, can  
you verify the installation (e.g. rpm -V BackupPC if you installed an  
RPM)?

 and without even doing something like skipping the troublesome areas  
 and
 moving on.

Now that would be scary: would you like incomplete backups?

Nils Breunese.

P.S. Backing up MYI and MYD files of MySQL databases is not very  
useful, as they're not guaranteed to be in a consistent state when you  
back them up. Even if you backed them up succesfully you could have  
corrupt databases after restoring these files. Better create SQL dumps  
using the pre-dump command and backup those.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Almost working

2008-10-15 Thread Nils Breunese (Lemonbit)
Kenneth L. Owen wrote:

 That only leaves one issue:  I can't log into the web GUI from the  
 Windows
 server.  I have ssl setup and can get the default web page with
 https://Archiver/  but https://Archiver/BackupPC/ gets a 403 screen  
 - Not
 Authorized .  This is the same line that I use on Archiver to pull  
 up the
 BackupPC GUI.  -- ken

I guess the default config shipping with the package you installed  
only allows access from localhost.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Feature Request: Link to latest Full

2008-10-14 Thread Nils Breunese (Lemonbit)
Yazz D. Atlas wrote:

 How difficult would it be to have BackupPC create a link to the last
 Full backup. The reason this would be handy to me is I'm required to
 backup to tape to a system I don't have much control over. I just want
 to tell the backup service a simple directorie to grab. I would like  
 to
 be able to tell them to backup

 $Conf{TopDir}/pc/example.com/last-full

 Which would link to $Conf{TopDir}/pc/example.com/95 if that was the  
 last
 Full backup.

 I hope to never uses there backup service to do a restore but for off
 site backup compliance I need to. I'm trying to save some bandwidth by
 not backing up everything I don't need. (I have over 240 clients and
 about 7T used under $Conf{TopDir} getting that off site has been a  
 huge
 issue)

 I may be able to just do it with $DumpPostUserCmd but I haven't tested
 that yet. I just think it would be nicer to have it as a built in  
 option.


 /bin/ln -sf $topDir/pc/$host/$(/bin/cat $topDir/pc/$host/backups \
 | /bin/grep full | /bin/sort -n | /usr/bin/tail -1 \
 | /bin/awk '{ print $1 }') $topDir/pc/$host/last-full

If you want to send an archive of a backup to tape that you can  
restore (without BackupPC), check out 'Archive Functions' in the  
BackupPC documentation: 
http://backuppc.sourceforge.net/faq/BackupPC.html#archive_functions

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Almost working

2008-10-13 Thread Nils Breunese (Lemonbit)
Adam Goryachev wrote:

 [EMAIL PROTECTED] ~]# su backuppc
 bash-3.2$== This doesn't look as expected

 Actually, yes, this is the default prompt, which is usually modified  
 in
 your ~/.bashrc or ~/.bash_profile files, but the backuppc user doesn't
 have/use these files

Correct.

 After you su - backuppc do:
 mkdir /var/lib/backuppc/.ssh
 chmod 0700 /var/lib/backuppc/.ssh
 Possibly ssh-keygen doesn't bother to try and create the directory  
 if it
 is missing.

I believe that is that case, yes.

 PS, bonus hint, run the command id (see man id for more info and
 flags) to see what user you are logged in as/currently.

Or 'whoami'.

Also: you didn't really need to change the login shell for the  
backuppc user. You could have used 'su -s /bin/bash - backuppc' to  
specify bash as the one-time shell.

Nils.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Almost working

2008-10-13 Thread Nils Breunese (Lemonbit)
Stephen Vaughan wrote:

 Why use Fedora at all?? Debian is your friend

If you're used to the Fedora way (a.k.a. Red Hat way) of things and  
want a distribution with a long lifecycle then I'd say CentOS (or RHEL  
if you need paid support) is a better choice than Debian. Debian is a  
fine distribution AFAIK, but uses a different package manager,  
different paths, etc. Not necessarily better or worse in my opinion,  
but if you just got started using Fedora then CentOS is probably much  
more familiar territory.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] rsync 3

2008-10-04 Thread Nils Breunese (Lemonbit)
Kenneth Porter wrote:

 --On Saturday, October 04, 2008 11:24 AM -0600 dan [EMAIL PROTECTED] 
 
 wrote:

 if you have rsync 3 on both client and server, backuppc(via CPAN
 file-rsync) will infact get to take advantage some of the rsync 3
 benefits.

 Interesting. I'll have to see if there's an RPM for my CentOS 5  
 system.

We use Dag's rsync 3 package. See here how to add the repository  
(which also has perl-File-RsyncP and various other Perl packages used  
by BackupPC): http://dag.wieers.com/rpm/FAQ.php#B

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] New to BackupPC Web admin Issues

2008-09-29 Thread Nils Breunese (Lemonbit)
Oz Dror wrote:

 I am new to backuppc. I have installed it on fedora 9.

 I seems to work. I do have the following issues:

 1. On the main web page I do not see the admin options

Have you added your username to $Conf{CgiAdminUsers}? 
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_cgiadminusers_

 2. It is not clear from the web page  how create an archive set. The
 only option that I see is a full backup

http://backuppc.sourceforge.net/faq/BackupPC.html#archive_functions  
says: BackupPC provides a menu that allows one or more hosts to be  
archived. I can't find it either (never looked for it before). Maybe  
someone else knows. Or you could use __INSTALLDIR__/ 
BackupPC_archiveHost from the command line or in a cron job.

Nils Breunese.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Is it OK to use rsync 3.0.3 with BackupPC 3.1.0 ?

2008-09-16 Thread Nils Breunese (Lemonbit)
Peter wrote:

 I've run setup.exe on Windows XP to install rsync and other packages  
 for
 cygwin. However, it only provides version 2.6.9.  I want to install,  
 as
 mentioned in this topic, version 3.0.3, however I am unable to find it
 via setup.exe nor visiting the site cygwin.com. Any pointers where I  
 can
 find the executable would be appreciated.

I don't know where you could find it, but there is no advantage to  
using rsync 3.x instead of 2.6.9 with BackupPC at this moment.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Is it OK to use rsync 3.0.3 with BackupPC 3.1.0 ?

2008-09-16 Thread Nils Breunese (Lemonbit)
Peter wrote:

 Thanks for replying Nils. From the thread I was reading that rsync  
 3.0.3
 has fixed many problems, in particular memory. Using ver2.6.9 and I  
 have
 had Windows system blue screen, ie crash.

I don't know if using rsync 3 may solve crash problems, but BackupPC's  
File::RsyncP implementation doesn't support any features that are not  
available in rsync 2.6.9. We don't backup any Windows machines at the  
moment.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] archive schedule

2008-09-12 Thread Nils Breunese (Lemonbit)
Aitor Carrera wrote:

 Hi! I have backuppc configured and running, backing up every  
 production server. the backups where storage in a backup server and,  
 periodically, I run manually an archive to tape drive. I'm tring to  
 schelude the archive but i'm not able to find documentation about  
 that. Backuppc can't schelude archives?

You can use cron to schedule anything. Just stick the command you run  
manually in a cronjob.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] [SPAM] LOW * Disabling backups via BackupsDisable instead of FullPeriod

2008-09-09 Thread Nils Breunese (Lemonbit)
Hello,

I noticed some outdated documentation.

The 'Removing a client' section under 'Other installation topics' [0]  
says to set $Conf{FullPeriod} to a negative value to disable backups  
for a client. However, the documentation on $Conf{BackupsDisable} [1]  
says:


In versions prior to 3.0 Backups were disabled by setting  
$Conf{FullPeriod} to -1 or -2.


Could this be corrected?

Nils Breunese.

[0] http://backuppc.sourceforge.net/faq/BackupPC.html#other_installation_topics
[1] http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_backupsdisable_

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Question regarding BackupPC_tarPCCopy

2008-09-09 Thread Nils Breunese (Lemonbit)
Hendrik Friedel wrote:

 This takes ages, which is ok, but I'm logged in to the server via  
 ssh, so
 that using the nohup command would be useful. This has the drawback,  
 that
 the nohup.out is empty, so that I cannot monitor the process.

Install screen and see 'man screen'. Other than that I believe the  
general advice for moving your BackupPC data is to use dd and  
filesystem resize tools instead of programs that operate on files and  
links, which - as you are experiencing - can take forever.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] backuppc fails after updating opensuse to 11.0

2008-09-07 Thread Nils Breunese (Lemonbit)
Alan McKay wrote:

 On Sun, Sep 7, 2008 at 6:09 AM, rorschach999
 [EMAIL PROTECTED] wrote:
 No Selinux on opensuse 11.0, as far as I know!
 At least I did not find it in the runlevels.

 You won't see it on the run levels.   On fedora there is a file
 /etc/selinux/config and in there you set

 SELINUX=permissive
 or
 SELINUX=disabled

The first version of OpenSuSE to support SELinux is 11.1, which is not  
out yet.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Nothing happening, but Backup not done

2008-09-05 Thread Nils Breunese (Lemonbit)
Christian Völker wrote:

 Now the backup is running for hours and nothing is happening.

 (...)

 So what is going on there?


Ask strace.

 I added the -z --checksum-seed=32761 parameters to rsync. Could this
 be related?

I know File::RsyncP handles --checksum-seed as it's mentioned in the  
config file and we're using it, but I think -z might not work. Try  
again without -z. You can use SSH compression if you want to compress  
the datatransfer.

Nils Breunese.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Backup through slow line?

2008-09-03 Thread Nils Breunese (Lemonbit)
dan wrote:

 consider
 1) do you need to backup all of the files on that system?  are there  
 some large files or mp3 or video files that can be skipped?   
 consider narrowing the scope of the backup to just appropriate files.
 2) consider compressing the data.  With such a small pipe you will  
 be able to realize some benefit to using maximum compression with  
 rsync.
 3) consider bumping up the available bandwidth.  I buy DSL lines in  
 many markets for my company and have never seen a situation where  
 getting a 256Kb upload cost substantially more than a 128Kb link.
 3a) sounds like you might be using ADSL, see if SDSL is available or  
 see if there is a plan with more upload and the same download  
 capacity.
 4) consider changing the full backup script in backuppc to NOT use  
 the no-times option that causes all of the files to be transfered.   
 This would make this essentially an incremental backup that sticks  
 around.  I have great success in doing 1 full backup and a month  
 worth of incrementals.  Saves a TON of bandwidth and shortens  
 backups considerably.  I can backup a server with 4GB of data that  
 changes infrequently in about 10Minutes via incrementals vs 3 Hours  
 for a full over a 256Kb link.  The vast majority of the time is  
 search for and transfering the file list because the server has  
 email which is so small.  This server has nearly 1 million files  
 which gives rsync a workout.

I'd try excluding some large directories, make sure that the backups  
succeed and then slowly remove the excludes one by one and build up  
your full backup that way. Once everything is on the remote backup  
server things might go smoother.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] backuppc logo

2008-09-03 Thread Nils Breunese (Lemonbit)
Alex Dehaini wrote:

 Where is the backuppc logo that appears on the cgi interface stored?

Some ideas:

1. Right click the image in your browser and copy the image location.  
That should give you a clue.
2. The BackupPC installer script asks for an 'Apache image directory'  
and the logo.gif file is stored there. It's /var/www/html/BackupPC/ 
logo.gif on our servers.
3. If you used a distribution package then you may not have chosen  
this location yourself. Ask your package manager for a file listing  
for the BackupPC package and grep it for logo.gif.
4. A plain 'locate logo.gif' could help if you don't have thousands of  
files named like that on your machine.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Backup through slow line?

2008-09-02 Thread Nils Breunese (Lemonbit)
Christian Völker wrote:

 | Assume, the full backup is finished after two weeks- will the  
 next full
 | backup take the same amount of time?
 | If you are using rsync it will be much faster next time, sending  
 only
 | the changes.
 If so, again the question what is then the difference between a full
 rsync backup and an incremental one? I think I'll have to read the  
 docs
 again to understand this...tried already several times, didn't  
 succesed ;-)

http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg11481.html

Nils Breunese.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Backuppc not working (can't read 4 bytes error)

2008-09-01 Thread Nils Breunese (Lemonbit)
David Hopkins wrote:

 I have deleted and recreated the ssh keys, changed the command line to
 use sudo which then gives a different error: It says you need a tty to
 run sudo.  At this point I am not sure what to try next.

http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg11414.html
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg11171.html
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg07831.html
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg07039.html
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg06239.html

:o)

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] using override RsyncShareName in the gui

2008-08-26 Thread Nils Breunese (Lemonbit)
Terri Kelley wrote:

 Where is that stored? Reason I asked, I was reading over the archives
 on how to backup different hosts with different directories and found
 a post on putting a config.pl in the /pc/host directory. I then
 decided to add second path on that same host and used the edit config
 for that particular host in the gui using the override and save in
 RsyncShareName. It didn't appear in the config.pl I created under that
 host and also not in the default /etc/BackupPC config.pl.

 Is it better to use the gui for that or is it better to put it in the
 config.pl I created in under that /pc/host?

Neither is better than the other. Use the method you like.

 By the way, it would be most helpful if this multiple hosts different
 directories was included in the documentation.

Host-specific configuration (via the GUI) is mentioned in the docs  
here: 
http://backuppc.sourceforge.net/faq/BackupPC.html#configuration_and_host_editor 
  My host-specific configuration files are stored as /etc/BackupPC/pc/ 
hostname.pl (using BackupPC 3.1.0 from the tarball).

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 localhost i.e backuppc server itself

2008-08-21 Thread Nils Breunese (Lemonbit)
Ishan Patel wrote:

 ok here is the intented output . .

 [EMAIL PROTECTED] BackupPC]# /etc/init.d/backuppc restart
 Shutting down BackupPC:[  OK  ]
 Starting BackupPC: [  OK  ]
 [EMAIL PROTECTED] BackupPC]# su - backuppc
 [EMAIL PROTECTED] ~]$ /usr/bin/ssh -q -x -l backuppc  
 67.205.74.115 sudo /usr/bin/rsync --server --sender --numeric-ids -- 
 perms --owner --group -D --links --hard-links --times --block- 
 size=2048 --recursive --ignore-times . /etc/
 sudo: sorry, you must have a tty to run sudo
 [EMAIL PROTECTED] ~]$


 This is may be error !
 sudo: sorry, you must have a tty to run sudo

Comment out 'requiretty' in your sudo configuration.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Got fatal error during xfer (fileListReceive failed)

2008-08-21 Thread Nils Breunese (Lemonbit)
Terri Kelley wrote:

 I have set up BackupPC on a Centos server and am testing now. Trying  
 the first backup to a host, also Centos, I received the following:

 full backup started for directory /home/backuppc/test/log/
 Got fatal error during xfer (fileListReceive failed)

 I tried it first without the ending / on that directory with the  
 same results. backuppc is the owner etc of everything in that  
 directory.

 Can someone give me a pointer where to look for the problem?

Have you searched for 'fileListReceive failed' in the list archives?  
There are quite a few threads on this: 
http://www.mail-archive.com/search?q=fileListReceive+failedl=backuppc-users%40lists.sourceforge.net
 
  I assume you're using rsync over SSH, but you don't give us a lot of  
info to go on.

- Make sure you're using -D instead of --devices in the rsync command  
lines with more recent versions of rsync
- Make sure you can login to your client by running the command as the  
backuppc user on the backup server manually. If you're using SSH keys  
you need to OK the host fingerprint the first time you login, which  
BackupPC cannot do for you.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] http access

2008-08-20 Thread Nils Breunese (Lemonbit)
Dejan Batic wrote:

 Thanks for the script but it seems to me that our Linux  
 distributions are
 too different.

 In my installation when I look at /etc/apache2/conf.d there is link  
 to the
 file /etc/backup/apache.conf that says:

 AuthUserFile  /etc/backuppc/htpasswd

 I added manually one user to /etc/backuppc/htpasswd file.

 So from what you wrote to me I understand that I should match
 /etc/backuppc/htpasswd with /etc/shadow.

Instead of trying to keep your system users and htpasswd file users in  
sync it might be worth your while to look into using LDAP or NIS  
authentication instead of Apache's basic text file authentication.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Using OS X As Server

2008-08-19 Thread Nils Breunese (Lemonbit)
Adam Dempsey wrote:

 I have read that people have done it before but I am struggling to get
 BackupPC to run on an OS X Server, to backup linux clients.

 I think I have it installed but I can't figure out how to get the CGI
 script to work, I get Error 500, I'm sure I haven't setup something
 correctly but I'm not sure and wondered if anyone had any suggestions.

Have you checked your webserver logs for more info on the error?

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] [SPAM] MEDIUM * Re: busybox tar problem?

2008-08-18 Thread Nils Breunese (Lemonbit)
Ward... James Ward wrote:

 I'm trying to back up some Arm processor console servers which only  
 have busybox tar available.  Busybox tar does not support --totals  
 and I THINK this is why the backups are failing.  I tried writing a  
 wrapper script that spits out a bogus --totals line, but so far, no  
 luck.  Any ideas?

I believe you need GNU tar for BackupPC.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] scp as the transfer?

2008-08-18 Thread Nils Breunese (Lemonbit)
Ward... James Ward wrote:

 Since I don't have rsync or gnu tar on my busybox console servers,  
 is it possible to configure BackupPC to use scp?

No, the only values for $Conf{XferMethod} for backups are smb, rsync,  
rsyncd and tar. See the documentation: 
http://backuppc.sourceforge.net/faq/BackupPC.html#step_5__client_setup

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Cann´t connect to webinterface

2008-08-15 Thread Nils Breunese (Lemonbit)
Thomas Mederer wrote:

 I just try to connect to the webinterface of backuppc. But I always  
 get the following error in the browser:

 The requested URL /backuppc was not found on this server

 I have installed the program with the following commands:

 apt-get install backuppc
 apt-get install rsync libfile rsync perl libfile-rsyncp-perl par2  
 bzip2

 I use Ubuntu 8.04

 I hope someone can tell me what it is. But unfortunately I'm not  
 really fit in linux

Is apache installed and was it (re)started after installing BackupPC?

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] notes on Seagate Free Agent drive

2008-08-14 Thread Nils Breunese (Lemonbit)
Chris Baker wrote:

 A couple days ago, someone asked about Linux and Western Digital  
 external
 hard drives. This is a response, sort of. I am posting my notes on  
 how I got
 a Seagate Free Agent drive to work with Linux. I hope this will help  
 with
 other drives. I make no guarantees.


 We purchased a Seagate FreeAgent USB drive. Unfortunately, Seagate  
 only
 supports it with Windows and Macs. It worked find with Windows XP.  
 On the
 Linux box, that was a different story.

 Research indicated that the drive was already formatted into NTFS. I  
 knew
 this would not be an issue as people mount NTFS partitions all the  
 time on
 Linux.

 I went to the site www.linux-ntfs.org. I found just about all I  
 needed on
 that site. I found this page especially helpful:
 www.linux-ntfs.org/doku.php?id=ntfsmount. It had some good  
 instructions:

 First of all you need to download FUSE from Sourcefourge. Then:

 tar zxvf fuse-2.7.0.tar.gz
 cd fuse-2.7.0
 ./configure
 Make
 make install

 Then you need to install ntfsprogs:

 tar zxvf ntfsprogs-2.0.0.tar.gz
 cd ntfsprogs-2.0.0
 ./configure --enable-fuse-module
 Make
 make install

 This installed the ntfsmount command, which I did not have before.  
 But I
 wasn't quite finished.

 Apparently the issue with this drive has to do with power  
 management. I ran
 the command hdparm -Z to disable Seagate auto-powersaving mode.  
 After
 that, I simply ran the command:

 ntfsmount /dev/sda1 /media/FreeAgent_Drive

 Then, I was ready to go. I could get to the hard drive through the  
 GUI or
 the command line.

Why didn't you just reformat it with your favorite filesystem?

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Backups seem to work, but don't show up in web

2008-08-12 Thread Nils Breunese (Lemonbit)
Alan McKay wrote:

 On Sun, Aug 10, 2008 at 7:09 PM, Alan McKay [EMAIL PROTECTED]  
 wrote:
 let me rephrase that. If your XferLOG.0.z is really 101GB long,  
 there is
 either something seriously wrong, you are backing up an insane  
 amount of data,
 or your path names are all ridiculously long. I would guess  
 something is very
 wrong, so I'd start looking here (though obviously not through the  
 web

 So what am I looking for?  There is an awful lot of info in there.
 Is there some text I can grep for which indicates error messages or
 something?

 Any further guidance here?   I'm definitely not going to go wading
 through a 100Gb log file without any further guidance on what to look
 for.  If I can't figure this out I'll probably just nuke BackupPC and
 write a few scripts to use rsync to do the job, along with one of the
 programs I found to traverse the HD and hard-link dup files..

 I'm a seasoned Linux/UNIX guy and not the least bit shy of a bit of
 debugging.   But I'm still not going to go blindly wading through a
 100Gb log file.

I wouldn't know how others on this list could blindly wade through a  
100 GB compressed logfile on your machine. All we know is that it's  
huge and shouldn't be that big if everything was OK. Have you tried  
taking a look at the contents of this file using something like less  
(I wouldn't try to open it in a text editor)? Maybe the first look at  
the contents reveals the problem.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] free backup software

2008-08-04 Thread Nils Breunese (Lemonbit)
drew64 wrote:

 I have been looking for some free backup software to back up my  
 music and photos to an external hard drive and maybe DVD's. I have  
 tried Cobian but dont know if I like it since it has no restore  
 function. Have read somethings about winbackup and was also told to  
 try comodo backup. Any one have any experience with these. Also When  
 I tried Cobian I set it to incremmental backup. It worked but I see  
 it makes a new folder everytime a backup is made. Is there a way or  
 a program that will just back up and replace the file that has  
 changed into the same folder?

I guess rsync would do it. It's like a copy tool that only transfers  
the changes and it can work both locally and over network connections.  
It is a command line tool though. I don't know what OS you're running,  
but there are also some rsync GUI frondends out there I believe.  
BackupPC also supports rsync as a backend, but it might be overkill  
for just backing up a single machine. Also take a look at rdiff-backup  
if you want to keep multiple versions of files.

BackupPC also supports rsync as a backend, but setting up a BackupPC  
server for just one machine might be overkill maybe. It will work  
though and its web interface is very handy for restoring files.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-08-01 Thread Nils Breunese (Lemonbit)
Holger Parplies wrote:

 brunal wrote on 2008-07-30 11:49:12 +0200 [Re: [BackupPC-users]  
 Fatal error (bad version): OpenSSH_5.0p1]:
 [...]
 So I deleted the message in /etc/issue.net and also comment the
 banner /etc/issue.net line in /etc/ssh/sshd_config.

 Well, removing the banner directive should have been enough, I  
 guess ...

I backup multiple machines that have an SSH banner configured, but  
that works just fine. SSH sends this text before the authentication is  
handled, so I guess that's why it doesn't interfere.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] SELinux issue with BackupPC 3.1.0 on Fedora 6

2008-07-30 Thread Nils Breunese (Lemonbit)
Aleksey Tsalolikhin wrote:

 Hi.  I am trying to get BackupPC working on a Fedora Core 6 server.

 I installed BackupPC with yum install backuppc and yum install  
 httpd.

 But when I fire up the Web interface, it says

   Error: Unable to connect to BackupPC server

I guess you didn't start the backuppc daemon. Try 'service backuppc  
start'.

 And I have an SE Linux error message:

 avc:  denied  { write } for  pid=5120 comm=perl5.8.8
 name=BackupPC.sock dev=dm-0 ino=56393744
 scontext=user_u:system_r:httpd_t:s0
 tcontext=user_u:object_r:var_log_t:s0 tclass=sock_file

 If I turn off SE Linux, BackupPC works fine.   But per our policy,
 this server must have SE Linux turned on.

 How to make this work, please?

I guess you'd need to ask the Fedora Project, but I don't think  
they'll respond to bug reports about releases that reached end of life  
last year.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Fatal error during xfer

2008-07-29 Thread Nils Breunese (Lemonbit)
Steve Blackwell wrote:

  Adam Goryachev [EMAIL PROTECTED] wrote:
 Set the full path to sudo eg /bin/sudo

 Maybe that will help.

 Regards,
 Adam

 Thanls for the suggestion but I still get the same error.

Is your sudo binary really /bin/sudo? On our CentOS machines 'which  
sudo' returns /usr/bin/sudo.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Why should I use root to connect to host

2008-07-29 Thread Nils Breunese (Lemonbit)
brunal wrote:

 One question that I dont understand : can I use another user than
 root to connect to my host?

 Indeed, the server i want to backup is the main server of my network,
 and pretty well secured. That means, hence, that root cannot have
 access to the server through ssh, only non-root user can.
 Is this a problem? my config is in the hosts file :

 192.168.1.20backuppc# --- example static IP host  
 entry

 and in config.pl :

 $Conf{RsyncClientCmd} = '$sshPath -v -x -l backuppc $host $rsyncPath -
 v $argList+

 And to my host side, a user backuppc exist and have access to all the
 necessary folder and file. Should this configuration work?

 Unitl now I still have other problem (see other post), but I would
 like to check if I'm not doing something wrong.

See 'How can client access as root be avoided?' in the documentation: 
http://backuppc.sourceforge.net/faq/ssh.html#how_can_client_access_as_root_be_avoided

The examples there use 'sudo' in $Conf{RsyncClientCmd}, but I believe  
that doesn't work: you need to specify the full path to the sudo  
binary (for instance: /usr/bin/sudo, check on your systems).

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Fatal error during xfer

2008-07-29 Thread Nils Breunese (Lemonbit)
Steve wrote:

 Well, I changed to use the correct full path for sudo and now I get  
 this error:

 Contents of file /media/disk/pc/steve/XferLOG.bad.z, modified  
 2008-07-29
 12:25:04

 Running: /usr/bin/sudo /bin/tar -c -v -f - -C / --totals -- 
 newer=2008-07-27\
 17:56:09 .
 incr backup started back to 2008-07-27 17:56:09 (backup #1) for  
 directory /
 Xfer PIDs are now 3657,3656
 sudo: sorry, you must have a tty to run sudo
 tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0  
 sizeExistComp, 0
 filesTotal, 0 sizeTotal
 Got fatal error during xfer (sudo: sorry, you must have a tty to run  
 sudo)
 Backup aborted (sudo: sorry, you must have a tty to run sudo)

Run 'visudo' on the client and comment out 'requiretty'.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] backupc hosts linux

2008-07-24 Thread Nils Breunese (Lemonbit)
fatima ech-charif wrote:

 i use backuppc in ubuntu and i need to backup host linux client ,how  
 to backup host linux client with backuppc ,
 thanks

See the documentation: http://backuppc.sourceforge.net/faq/ 
BackupPC.html If you have a specific problem, please tell us about it.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] example of configuration file config.pl

2008-07-24 Thread Nils Breunese (Lemonbit)
Kurt Tunkko wrote:

 regarding your question:

 I'm backing up my server with backuppc via rsyncd.

I use rsync over SSH for all my Linux machines. The advantage is that  
the client setup is really easy. I just copy the public SSH key to the  
client and I can back it up without setting up any daemons (rsyncd) or  
other software. Plus the traffic is encrypted which is nice if you're  
backing up over the internet as I am.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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/


  1   2   3   4   5   >