Re: [BackupPC-users] Prepare for the worst, Howto backup the backuppc-server

2008-07-24 Thread Tino Schwarze
On Thu, Jul 24, 2008 at 10:35:25AM +1000, Adam Goryachev wrote:

  Success story :-)
  
  dan wrote:
  AOE is quite simple.  on ubuntu you can build a target like this
  1) Backup using RAID1 and AoE
  Setup another machine, that is located at another place and is connected 
  via Gigabit LAN to the backuppc server (that means I need a 2nd NIC for 
  the server). The new machine is 'offering' one of it's drives via AoE - 
  this AoE-drive will become member of the RAID1.
  Since the RAID will be spread across two machines that can be located at
  different locations I get an additional security.
 
 As mentioned earlier, you can also backup using ndb (Network Block
 Device) over a truly remote TCP/IP connection, almost the same as AoE
 (except you need to specify the hostname/IP and port number to import
 the drive from). This allows for the case where you want a true
 off-site storage location without a bridged VPN.

drbd seems to do rather well in such cases. AFAIK, it's derived from
nbd.

Tino.

-- 
What we nourish flourishes. - Was wir nähren erblüht.

www.craniosacralzentrum.de
www.forteego.de

-
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] backupc hosts linux

2008-07-24 Thread fatima ech-charif
hi

i use backuppc in ubuntu and i need to backup host linux client ,how to
backup host linux client with backuppc ,
thanks
-
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/


[BackupPC-users] The backup blog, deduplication

2008-07-24 Thread Ludovic Drolez
Hi !

Here's an interesting article about deduplication:

http://thebackupblog.typepad.com/thebackupblog/2008/07/the-impact-of-deduplication-methodology-on-deduplication-ratios.html

This blog is the EMC Avamar's blog, and has some other interesting 
articles. Deduplication rates are impressive, I hope we will reach
them one day with backuppc :-)

For the NetBackup puredisk blog, go to 
  https://forums.symantec.com/syment/blog?blog.id=NetBackup
And there's also Sepaton's blog : http://www.aboutrestore.com/

It seems that a war has begun in the deduplication world !

Cheers,

-- 
Ludovic Drolez.

http://www.palmopensource.com   - The PalmOS Open Source Portal
http://www.drolez.com  - Personal site - Linux, Zaurus and PalmOS stuff

-
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] example of configuration file config.pl

2008-07-24 Thread fatima ech-charif
hi
i install backuppc in ubuntu 7.10
and i want tio backup host client linux
so do you have some example file configuration for  linux client
thanks
-
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 Kurt Tunkko
fatima ech-charif wrote:

 i install backuppc in ubuntu 7.10
 and i want tio backup host client linux
 so do you have some example file configuration for  linux client
 thanks

As Nils suggested:

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

Have you read the backuppc manual/faq - most stuff I learned from there 
- then in case of a specific problem you'll find great feedback here.

Reading the documentation is important to learn and understand how your 
backup-system is working :-)

regarding your question:

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

You need to install rsyncd:
https://help.ubuntu.com/community/rsync

I don't use xinetd but can start rsync with

# sudo /etc/init.d/rsync start

Here you'll see a working configuration for an ubuntu server:
(btw. if someone with mopre experience can look at my /etc/rsyncd.conf 
and give some hints about what are the most secured settings I would 
appriciate that, since I just tried to get rsyncd working :-o)

- Kurt


*** BEGIN /etc/backuppc/localhost.pl ***

$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [
   '2'
];
$Conf{IncrKeepCnt} = '14';
$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncdUserName} = 'YOUR-RSYNCD-USERNAME';
$Conf{RsyncdPasswd} = 'YOUR-RSYNCD-PASSWORD';
$Conf{RsyncShareName} = [
   'YOUR-RSYNCD-MODULE-NAME'
];
$Conf{BackupFilesExclude} = {
   '*' = [
 '/proc',
 '/dev',
 '/cdrom',
 '/media',
 '/floppy',
 '/mnt',
 '/var/lib/backuppc',
 '/lost+found',
 '/sys'
   ]
};
$Conf{XferLogLevel} = '1';
$Conf{CompressLevel} = '3';
$Conf{IncrLevels} = [
   '1',
   '2',
   '3'
];



*** BEGIN /etc/rsyncd.conf

#gid = user
max connections = 0
#transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log

[YOUR-RSYNCD-MODULE-NAME]
path = /
read only = no
uid = root
gid = nogroup
list = yes
auth users = YOUR-RSYNCD-USER
secrets file = /etc/rsyncd.secrets


*** BEGIN /etc/rsyncd.secrets

YOUR-RSYNCD-USER:YOUR-RSYNCD-PASSWORT






-
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 Jon Craig
On 7/24/08, Kurt Tunkko [EMAIL PROTECTED] wrote:

  You need to install rsyncd:
  https://help.ubuntu.com/community/rsync

  I don't use xinetd but can start rsync with

  # sudo /etc/init.d/rsync start


I have Ubuntu 8.04 and after installing rsync I edited
/etc/default/rsync and changed
RSYNC_ENABLED to true and installed /etc/rsyncd.conf,
etc/rsyncd.secrets like Kurt explained.


-- 
Jonathan Craig

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


[BackupPC-users] Job Order

2008-07-24 Thread Rob Poe
How do you set the order of the machines in the job?  I have a few PC's 
Id like it to start first, rather than last..

thx!


-
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] The backup blog, deduplication

2008-07-24 Thread Jon Craig
Well unless someone is working on a sub-file deduplication engine your
dedup rates are not gonna change.  The only thing you can do to pump
up your numbers is make every backup a full backup so your source
data size increments at a greater rate while your stored data size
only increases by the changed data. You can also backup more clients
with duplicate data (a 100 WinTel boxes with 8GB of duplicated OS /
box ought to do it).

Example:
Full backup = 100GB, Incremental [10% Rate of Change] = 10 GB

Full + Incremental:
1 Full + 6 Incremental yields 100 + 60 or 160 GB of  source and stored
data.  Your ratio is going to remain 1:1 unless you have duplicated
data on your system or your continously adding and removing the same
file.

7 Full Backups:
7 Full + 0 Incremental yields 700 + 0 or 700GB of source, but only
160GB of stored.  Your ratio is 4.375:1.  This assumes that for every
GB of change you removed the GB of source (ie turnover).

If your increasing the Full Amount by 10% each time (assumes you
delete nothing) then the numbers look like: 100 + 110 + 120 + 130 +
140 + 150 + 160 or 910 GB of source and 160 GB of stored.  This is a
ratio of 5.6875:1.  Actual results will be somewhere in between.




On 7/24/08, Ludovic Drolez [EMAIL PROTECTED] wrote:
 Hi !

  Here's an interesting article about deduplication:

  
 http://thebackupblog.typepad.com/thebackupblog/2008/07/the-impact-of-deduplication-methodology-on-deduplication-ratios.html

  This blog is the EMC Avamar's blog, and has some other interesting
  articles. Deduplication rates are impressive, I hope we will reach
  them one day with backuppc :-)

  For the NetBackup puredisk blog, go to
   https://forums.symantec.com/syment/blog?blog.id=NetBackup
  And there's also Sepaton's blog : http://www.aboutrestore.com/

  It seems that a war has begun in the deduplication world !

  Cheers,

  --
  Ludovic Drolez.

  http://www.palmopensource.com   - The PalmOS Open Source Portal
  http://www.drolez.com  - Personal site - Linux, Zaurus and PalmOS stuff

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



-- 
Jonathan Craig

-
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] (no subject)

2008-07-24 Thread fatima ech-charif
i want to backup localhost with rsyncd but i got this problem

 full backup started for directory root (baseline backup #18)
 Got fatal error during xfer (auth failed on module root)
 Backup aborted (auth failed on module root)
 full backup started for directory root (baseline backup #18)
 Got fatal error during xfer (auth failed on module root)

thanks
-
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] Prepare for the worst, Howto backup the back uppc-server

2008-07-24 Thread Bowie Bailey
Kurt Tunkko wrote:
 
 Question
 
 Just to make sure: since AoE is not IP-based, does that mean that I
 can NOT connect the machine offering AoE to my server if I have
 something like a hub/switch between them?

It will work just fine through a hub or a switch.  The problem is that
the traffic is not routable, so a router or firewall will block it.

 Recovery plan:
 If the backuppc-server dies, I would use the spare RAID-disk to get
 the server back online - as far as I understand I need todo some
 manual stuff in order to get the RAID bootable again, since the
 bootloader will not installed on the spare drive?!

You just need to install the grub bootloader.  This can be done while
the drive is in the raid or later using the install CDs during the
recovery process.

 - probably a 2nd network connection between these two machines to keep
 the LAN free from extra traffic

Definitely a good idea.

 - probably less perfomance because disk activity will be transfered
 via network

Yep, but you can minimize this with a dedicated gigabit connection.

-- 
Bowie

-
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-devel] Ubuntu Upgrade from 3.0.0 to 3.1.0 problem

2008-07-24 Thread Jon Craig
On 7/22/08, Holger Parplies [EMAIL PROTECTED] wrote:
 Hi,

  I'm redirecting this to backuppc-users as it's a usage issue.

  Jon Craig wrote on 2008-07-22 13:42:33 -0400 [[BackupPC-devel] Ubuntu 
 Upgrade from 3.0.0 to 3.1.0 problem]:

  I started with the Ubuntu backuppc package that is based on 3.0.0.
   Once I was convinced that BackupPC was the way to go I downloaded and
   installed the 3.1.0 and ran the configure.


 Bad idea. You shouldn't mix packaged and tarball installs. Your dpkg status
  database now contains references to files belonging to a deb-package named
  backuppc which possibly don't exist any longer or at the very least have

Agreed, as this was a personal install at home I took liberties that I
wouldn't take at a paying gig.

  different contents. To make things worse, dpkg knows that the installed
  version is 3.0.0 (possibly with a Ubuntu package revision number appended).
  'apt-get install --reinstall backuppc' is guaranteed to get things horribly
  wrong, as are 'apt-get install backuppc'/'apt-get [dist-]upgrade' when 
 there's
  a new BackupPC package in Ubuntu - including possibly a security update of
  3.0.0, and 'apt-get remove backuppc' as there are probably new files unknown
  to dpkg - possibly duplicates in non-Ubuntu locations. dpkg thinks it knows
  about the package and its files, but this knowledge is now outdated. There is
  no simple way to recover from this.


Here's what I was gonna do:
Shutdown BackupPC
Save the /etc/backuppc directory and move the /var/lib/backuppc
directory to a safe place.
Force remove the Ubunto package
run the install for the tarball to get a plain jane version
Put /etc/backuppc to /etc/BackupPC and /var/lib/backuppc back to its place
Fixup any path issues with file location in config.pl
Start BackupPC


   I then looked at the configure.pl from the install package and found
   that it set $useFHS to 1 when it detected a /etc/BackupPC directory.
It's my guess that at one point this was the naming for the directory
   and it underwent a rename.


 Wrong. It still is /etc/BackupPC for the tarball version. The Debian and
  Ubuntu packages use /etc/backuppc. I think this is a good idea, because it
  discourages mixing up package and tarball :-).

Not sure I agree with this or at least with the manner of implementation.

1st, Ubuntu maintainers must have hand modified the code to get it to
recognize /etc/backuppc as a place to check for configs.  This is a
very bad thing to have happening as you have unversioned code variants
in the wild and users who don't even know it.

2nd, configure.pl didn't detect the fact that backuppc wasn't BackupPC
and installed.  It also didn't create a BackupPC directory.  If your
gonna rely on an alternate name to indicate a package install then
configure.pl should have recognized this and bombed out with an
appropriate message: tsk, tsk, tsk, don't mix packages with
tarballs.

3rd, the way in which BackupPC is trying to determine its ConfDir
needs to be addressed.  The magic $useFHS variable (coupled with
packagers editing the code to make the match work) is bound to cause
problems.  BackupPC should set a location for a config file that
points to the configuration directory /etc/BackupPC.conf or
/etc/default/BackupPC.conf that holds possibly one thing ConfDir =
/etc/BackupPC or whatever.  You should also be able to specify the
configuration directory on the command line BackupPC --confdir=XXX for
those poor souls who feel strongly that the location you chose for the
immovable conf file was inappropriate.


  Regards,

 Holger



-- 
Jonathan Craig

-
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] (no subject)

2008-07-24 Thread Jon Craig
First I would make sure that rsync is running (look at ps -ef for the
rsync process).  From the command line you should be able to:

rsync [EMAIL PROTECTED]::root
password: [password]

and get the contents of your root directory listing.  The username is
the username specified in your conf file (/etc/rsyncd.conf) and
matches an entry in your secrets file (/etc/rsyncd.secrets).  The
password is the password from the secrets file.  One caveat is that if
your password is more than 8 characters then you will need to put it
in a file and use the --password-file option on rsync (many systems
will not properly take passwords over 8 characters).

Once you have rsync working from the command line then you are ready
to tackle the BackupPC stuff.

On 7/24/08, fatima ech-charif [EMAIL PROTECTED] wrote:

 i want to backup localhost with rsyncd but i got this problem

  full backup started for directory root (baseline backup #18)
  Got fatal error during xfer (auth failed on module root)
  Backup aborted (auth failed on module root)
  full backup started for directory root (baseline backup #18)
   Got fatal error during xfer (auth failed on module root)

 thanks





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




-- 
Jonathan Craig

-
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-devel] Ubuntu Upgrade from 3.0.0 to 3.1.0 problem

2008-07-24 Thread Les Mikesell
Jon Craig wrote:

 Wrong. It still is /etc/BackupPC for the tarball version. The Debian and
  Ubuntu packages use /etc/backuppc. I think this is a good idea, because it
  discourages mixing up package and tarball :-).
 
 Not sure I agree with this or at least with the manner of implementation.

My 2cents worth: I think all of the packaging attempts err in putting 
any of it in the 'standard' places.  In my opinion, backuppc should be 
self-contained in its own filesystem to whatever extent possible - 
something like /opt/backuppc.  Even with a tarball install you don't 
quite get this because of the needed non-standard perl modules and the 
setup for the web server.   The reason I think you want this is that the 
archive should be on its own filesystem for obvious reasons, and you may 
want to take that filesystem or a mirrored copy of it off site and be 
able to restore from another machine.  In this scenario it is handy - 
perhaps even essential - to have all of the current updates and 
configuration changes automatically brought along with the data.

I realize this concept conflicts with normal packaging guidelines to 
install everything in standard places, but the reason you are keeping 
backups is that everything normal may go wrong.

-- 
   Les Mikesell
 [EMAIL PROTECTED]


-
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] (no subject)

2008-07-24 Thread Kurt Tunkko
fatima ech-charif wrote:
 i want to backup localhost with rsyncd but i got this problem  
  full backup started for directory root (baseline backup #18)
  Got fatal error during xfer (auth failed on module root)
  Backup aborted (auth failed on module root)
  full backup started for directory root (baseline backup #18)
  Got fatal error during xfer (auth failed on module root)


This indicates that your rsyncd-configuration is wrong.

1) Make sure that rsyncd is started by:

rsync localhost::

This should return all configured shares.
This hould return a line with the RSYNCD-SHARENAME

2) Make sure that you can  connect to the share with

rsync [EMAIL PROTECTED]::RSYNCD-SHARENAME

This should return a list of the files after asking for your RSYNCD-PASSWORD


I guess you made a mistake configuring username,password,sharename?
Or maybe rsyncd is not running?
Maybe try to see if rsync is running?

ps -A|grep rsync

Good luck.

- Kurt

-
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] Why isn't this being backed up?

2008-07-24 Thread Ward... James Ward

Hi,

I'm running BackupPC version 2.1.2pl1 on debian etch.  We discovered  
that at least one directory is not being completely backed up and I  
can't figure out why.


Here are the directory contents:

[EMAIL PROTECTED]:/usr/local$ ls -l ldap
total 20
-rwxr-x--- 1 root   root 205 2007-05-12 15:21 ADPass
-rwxr-x--- 1 root   root 193 2008-07-21 12:33 createWin
-rwxr-xr-x 1 jeward dev  465 2007-06-20 15:56 ldap2mail
-rwxr-x--- 1 root   root 977 2008-06-02 14:14 setWin
-rwxr-x--- 1 root   root 636 2008-07-24 09:44 shutdownWin

Here's the BackupPC summary for the host:

Backup#	 Type	 Filled	 Start Date	 Duration/mins	 Age/days	 Server  
Backup Path

50   fullyes 7/14 04:34  29.510.2
/var/lib/backuppc/pc/chimera/50
52   incrno  7/16 21:10  4.1 7.5 
/var/lib/backuppc/pc/chimera/52
53   incrno  7/18 00:08  3.5 6.4 
/var/lib/backuppc/pc/chimera/53
54   incrno  7/19 05:15  2.9 5.2 
/var/lib/backuppc/pc/chimera/54
55   incrno  7/20 05:04  2.7 4.2 
/var/lib/backuppc/pc/chimera/55
56   fullyes 7/21 04:54  13.13.2 
/var/lib/backuppc/pc/chimera/56
57   incrno  7/22 04:43  1.1 2.2 
/var/lib/backuppc/pc/chimera/57
58   incrno  7/23 06:56  0.8 1.1 
/var/lib/backuppc/pc/chimera/58

Here are the contents of the backup directories on the BackupPC server:

50/f%2f/fusr/flocal/fldap:
total 8
-rw-r- 3 backuppc backuppc  38 2008-04-07 15:10 attrib
-rw-r- 3 backuppc backuppc 283 2008-04-07 15:10 fldap2mail

52/f%2f/fusr/flocal/fldap:
total 0

53/f%2f/fusr/flocal/fldap:
total 0

54/f%2f/fusr/flocal/fldap:
total 0

55/f%2f/fusr/flocal/fldap:
total 0

56/f%2f/fusr/flocal/fldap:
total 8
-rw-r- 3 backuppc backuppc  38 2008-04-07 15:10 attrib
-rw-r- 3 backuppc backuppc 283 2008-04-07 15:10 fldap2mail

57/f%2f/fusr/flocal/fldap:
total 0

58/f%2f/fusr/flocal/fldap:
total 0

What gives?  How can I rely on BackupPC if this kind of thing  
happens?  My confidence level is shaky at this point.  I looked in all  
the logs I can find and I see no excuse for files to be missing?  Help?


Ward... James Ward
[EMAIL PROTECTED]
Linux Sysadmin
(520) 290-0910x268
ICQ: 201663408-
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] (no subject)

2008-07-24 Thread Vincent Fleuranceau
 Make sure that rsyncd is started by:

   rsync localhost::

 This should return all configured shares.
 This hould return a line with the RSYNCD-SHARENAME

Beware: this is true only if you have 'list = true' (or yes, or 1) in / 
etc/rsyncd.conf (or equivalent).

But why not simply take a look at /var/log/rsyncd.log? If you have no  
rsyncd.log file, you can add 'log file = /var/log/rsyncd.log' in the  
main section of /etc/rsyncd.conf.

Another thing: be sure you 'chmod 600 /etc/rsyncd.secrets' (or  
equivalent) or it may not work (with 'strict modes = true')

Hope this helps.

-- Vincent


-
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 isn't this being backed up?

2008-07-24 Thread Jon Craig
On 7/24/08, Ward... James Ward [EMAIL PROTECTED] wrote:


 -rwxr-x--- 1 root   root 205 2007-05-12 15:21 ADPass
 -rwxr-x--- 1 root   root 193 2008-07-21 12:33 createWin
 -rwxr-xr-x 1 jeward dev  465 2007-06-20 15:56 ldap2mail
 -rwxr-x--- 1 root   root 977 2008-06-02 14:14 setWin
 -rwxr-x--- 1 root   root 636 2008-07-24 09:44 shutdownWin



Let me start by taking a wild guess and assume you are using rsyncd.  The
system your are backing up is *nix based and you don't have a uid=0, gid=0
in your module definition for /etc/rsyncd.conf.  If that's all true (or
maybe at least most of it), then the system is working as designed, but not
how you intended.  rsync sets uid=gid=-2 when placed in daemon mode.  This
means that it can only read or write things readable/writable by the user
nobody.  Trust me, its for your own protection :-)

The file that is showing up in your list is world readable while all the
others aren't.  Check your Xferlogs and you should see a bunch of
permissions errors (number 13 appears on those lines).  Go fix your
rsyncd.conf, restart the daemon, and take a fresh backup of all the affected
systems as their current backups are dubius at best.  I believe that all the
files that were backed up are perfectly fine as rsync captures the
permissions and BackupPC stores them in the attrib files sprinkled
throughout your backup archive directory structure.  If its not this, then
please provide some more details surrounding your configuation (config.pl,
[host].pl, rsyncd.conf, all properly scrubbed for passwords and hostname
details).

I would also suggest that you get a chance to excersize the recovery
functions so that you know how they work and that they do in fact work.
Without the uid=0 you would have been unable to restore files with the
proper owner/group/perms (they would have come back as user nobody I
believe).  Don't forget to set the read only = false for the module when
you intend to restore.

-- 
Jonathan Craig
-
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-devel] Ubuntu Upgrade from 3.0.0 to 3.1.0 problem

2008-07-24 Thread Jon Craig
  discourages mixing up package and tarball :-).

Now I remember why I mixed the tarball with the ubuntu package, it was
because it was suggested on the wiki (
http://backuppc.wiki.sourceforge.net/supporting+distros ):

Ubuntu 7.04 (aka feisty fawn)
backuppc v2 and v3.0 via apt (v3.0 is in backports)
to install v3.1, first install v3.0 by apt-get install backuppc
(from backports), then download the regular install script from
http://backuppc.sourceforge.net/ and run it, it will update you to
v3.1 quite nicely


-- 
Jonathan Craig

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