Re: [BackupPC-users] Backing up the backup to an external USB drive

2008-12-19 Thread Rodrigo Real
klemens wrote:
> 
> Am Mittwoch, den 17.12.2008, 12:08 -0200 schrieb Rodrigo Real:
>> Hi
>>
>> Rob Owens wrote:
>>
>> My experience in booting the usb disk was successful, I had some 
>> problems with grub and fstab, which I guess are not easy to avoid. 
> 
> you could avoid that sda-problem by using uuid's in the fstab.

Great idea!

I didn't know I could it, it worked greatly. The only manual thing now 
is related to grub, but I guess I will not have a solution for that.

Depending on the disk configuration of the target machine, grub gets the 
menu.lst from the wrong disk, or it just don't get the menu.lst file 
automatically, so I have to manually load the menu:

root(hd0,0)
configfile /grub/menu.lst

Could not find a way to solve this, but I guess I can live with this 
problem.

Thanks,
Rodrigo

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


--
___
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 the backup to an external USB drive

2008-12-17 Thread Rodrigo Real

Hi

Rob Owens wrote:
>>
> I thought about something similar a while back.  I never got anywhere
> with it, but the plan was to use Knoppix or Knoppix-like technology to
> have all the hardware automatically detected and configured at boot.
> That way the hard drive could be installed in any machine and it would
> work.
> 
> This info may be outdated:  Knoppix has 3 configuration options for a
> hard drive installation.  The one you would want is called "Knoppix",
> and it basically runs the live cd system on a hard drive.  All the live
> cd startup scripts run, so hardware is detected automatically.
> 
> I don't think Knoppix would be the best distro to use, due to its
> mish-mash of repositories, but maybe a Debian live cd or Ubuntu live cd
> would do the trick for you.  I'm just not sure how to install them to
> the hard drive in "Knoppix" mode.

The approach I am proposing is a little simpler than that, I only want 
to have a bootable usb system which is equal to the backuppc system, and 
which could easily replace it. Of course I will not have all the 
hardware detection that the liveCDs do, so maybe somethings will still 
be done "by hand".

Let me tell you what happened in my tests.

After  33 hours  dd'ing  the pool to the usb disk, it finally ended, so 
I am really considering a eSata case, there is no way to wait 33 hours 
each time I want to sync the server with the usb case.

My experience in booting the usb disk was successful, I had some 
problems with grub and fstab, which I guess are not easy to avoid. 
Depending on how many disks I have on the machine the device is 
recognized as sdb, sdd, etc, so I should, at least, dinamically generate 
the fstab file, which I am not willing to do right now. By now I could 
live with this kind of manual operation.

Below you will find the script I made for doing the sync operation, this 
is a very simple script which only solves my problem, but maybe this can 
help others and maybe you could help improving it. Sorry for some 
portuguese comments...

Rodrigo

#!/bin/bash

/etc/init.d/backuppc stop || exit

umount /var/lib/backuppc || exit

echo "Fazendo backup do /boot"
mount /dev/sdd1 /mnt/sdd1 || exit
time rsync -a  --delete-after /boot/* /mnt/sdd1/
umount /mnt/sdd1


echo "Fazendo backup do barra"
mount /dev/sdd2 /mnt/sdd2 || exit
time rsync -ax  --delete-after --exclude=/proc --exclude=/dev 
--exclude=/sys --exclude=/mnt --exclude=/var/lib/backuppc --exclude=/tmp 
/* /mnt/sdd2/
mkdir /mnt/sdd2/proc /mnt/sdd2/dev /mnt/sdd2/sys /mnt/sdd2/mnt 
/mnt/sdd2/tmp /mnt/sdd2/var/lib/backuppc
chmod 777 /mnt/sdd2/tmp
chmod o+t /mnt/sdd2/tmp
## acertando o fstab
cat < /mnt/sdd2/etc/fstab
# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/sdb2 /   reiserfs defaults0   1
#/dev/sdb1/boot   reiserfs notail  0   2
/dev/sdb3 /var/lib/backuppc reiserfs defaults0   2
/dev/sdb4   noneswapsw,pri=1  0   0
/dev/hda/media/cdrom0   udf,iso9660 user,noauto 0   0
EOF

umount /mnt/sdd2

echo "Fazendo backup da area de dados do backuppc"
lvcreate -L1G -s -n bkp_snapshot /dev/vg/backup || exit
time dd if=/dev/vg/bkp_snapshot of=/dev/sdd3
lvremove -f /dev/vg/bkp_snapshot

mount /var/lib/backuppc

/etc/init.d/backuppc start

--
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] Backing up the backup to an external USB drive

2008-12-15 Thread Rodrigo Real
Hi

Holger Parplies wrote:
> Hi,
> 
> Andreas Micklei wrote on 2008-12-15 10:13:38 +0100 [Re: [BackupPC-users] 
> Backing up the backup to an external USB drive]:
>> Am Freitag, 12. Dezember 2008 schrieb Rich Rauenzahn:
>>> Some of you running dd might want to consider "dump"
>>> [...]
>> I have been doing that for about two years now. Works great!
> 
> I've been meaning to ask/point this out for some time now. Has anyone actually
> tried *restoring* a dump of a *reasonably sized* pool? The reason I'm asking 
> is
> that as far as I understand the man page, restore runs completely in user
> space, so it is faced with the same problem as cp/rsync/tar - the need to keep
> an inode-to-path-name mapping for correctly re-creating hardlinks. It is
> possible that restore can handle this problem, but I wouldn't take it for
> granted without testing.

The restore issue is the reason that targets me to a sort of live system 
which I can easily test and use  any time I want. I prefer to waste some 
time more while doing the backup and than to do a fast backup and spent 
a lot of time to recover it in case of "disaster". That's why I want to 
have this live USB-HD.

Cheers,
Rodrigo


--
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] Backing up the backup to an external USB drive

2008-12-12 Thread Rodrigo Real

Hi

Les Mikesell wrote:
> Rodrigo Real wrote:
>>>>> The only problem I see is that I don't have disk space to make a
>>>>> snapshot and after it to dd the file to the usb disk, I never used this
>>>>> snapshot feature, I will see if I can redirect the file as a pipe
>>>>> directly to the usb drive.
>>>> You could always reduce your FS size, to make space for the
>>>> snapshots, depending on your pool size/etc
>>> I think the point to point out is that making an LVM snapshot does not 
>>> involve
>>> copying the whole partition. You need a limited amount of free space in the 
>>> VG
>>> - enough to hold the changes to the LV during the life time of the snapshot.
>>> LVM presents to you the (unchanging) snapshot on the one hand and the normal
>>> (read-write) LV on the other hand, both as block devices. You do *not* get a
>>> file containing an image of your LV (well, you can create that yourself, but
>>> there is no reason to do that). The difficult part is to figure out 
>>> beforehand
>>> *how much* space you will need for the snapshot. That depends on how long 
>>> you
>>> need the snapshot and how much write activity on your LV will occur during 
>>> this
>>> time. 
>> Yesterday I read a little about the LVM snapshot, I didn't know that LVM 
>> had this feature. When I read that suggestion I thought that snapshot 
>> was a sort of dd. By now I am running a dd on the snapshot, I opened 
>> some space on the lvm by reducing the root size and created the snapshot.
>>
>>  >If you can do all of it outside of your backup window, you will need
>>> virtually no space for the snapshot, but then again, you wouldn't really 
>>> need
>>> a snapshot in this case :).
>> Currently I believe that I can stop backuppc and perform the copy of the 
>> data, but I don't know if in the future it will still be possible, so I 
>> am trying to do everything considering that the data may change while I 
>> am performing the copy.
> 
> To make the filesystem clean, you really should stop backuppc and 
> unmount the archive partition during the copy.  With the snapshot 
> approach you'd only need to have it unmounted for the time it takes to 
> make the snapshot, but realistically, most machines will be almost 
> unusably slow during a partition copy to usb (at least for anything 
> using the source partition), so you won't gain that much by letting 
> backuppc continue to run.
> 

I am feeling it right now, I umounted backuppc partition and the load of 
the machine is 4! So it is almost impossible to do anything else with it...

Rodrigo

> I do something similar with raid1 mirroring, stopping and unmounting 
> just long enough to break the raid, but performance is horrible if a 
> backup runs during the mirror sync.
> 


--
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] Backing up the backup to an external USB drive

2008-12-12 Thread Rodrigo Real
Adam Goryachev wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Rodrigo Real wrote:
>> Hello Adam
>>
>> Adam Goryachev wrote:
>>> Step 1) Use LVM's snapshot feature to take a snapshot of your root and
>>> backuppc partitions.
>>> Step 2) dd the snapshot to the two partitions on your USB HDD
>>>
>>> You won't be able to boot from the USB directly, because as you said,
>>> you would need to install grub, adjust the menu.lst, etc to make it
>>> work. If you had a USB drive larger than 500GB, eg, a 750GB drive, then
>>> you could do so much more :)
>> I was thinking about running a small shell script that would do this
>> adjustments just after the end of the copy process. This script would
>> mount the usb partitions e edit those files.
>>
>>> ie, setup the 3rd partition as the "active" partition, install grub to
>>> this partition, and configure the menu.lst file as needed. Then use the
>>> first two partitions the same as above.
>> This is a good idea, and would simplify the process.
>>
>> Re-structuring the thoughts, maybe I could do:
>>
>>   1 - copy the /boot and root partitions just once in a while, or maybe
>> rsync it in a low frequency, excluding the files that should be adjusted
>>   2 - in a higher frequency take a snapshot of the backuppc lvm volume
>> to the usb drive
>>
>> This way I guess some problems would be solved:
>>
>>   * I don't have to take a snapshot of a mounted and live root system,
>> which I guess would cause problems (as said by Tino)
>>   * I don't have to make that script to adjust everything everytime I do
>> a backup
>>
> If a script can fix it properly, why not do it on the same frequancy
> (if you can solve problem 1) ?

You are completely right, no reason for not synching everything...

>> The only problem I see is that I don't have disk space to make a
>> snapshot and after it to dd the file to the usb disk, I never used this
>> snapshot feature, I will see if I can redirect the file as a pipe
>> directly to the usb drive.
>>
> You could always reduce your FS size, to make space for the
> snapshots, depending on your pool size/etc

Yes, I reduced the root system and the snapshot backup is running right now.

Rodrigo

> 
> Regards,
> Adam
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFJQauqGyoxogrTyiURAuwMAKDTv2F/kjW1W2s9GHn5eTJP0cu2AACfUrhd
> 5h9rGH+JAUsacn0tRswiZf4=
> =3ztI
> -END PGP SIGNATURE-
> 
> 
> --
> 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/
> 


--
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] Backing up the backup to an external USB drive

2008-12-12 Thread Rodrigo Real

Hello,

Holger Parplies wrote:
> Hi,
> 
> Adam Goryachev wrote on 2008-12-12 11:09:14 +1100 [Re: [BackupPC-users] 
> Backing up the backup to an external USB drive]:
>> Rodrigo Real wrote:
>>> [...]
>>> Adam Goryachev wrote:
>>> The only problem I see is that I don't have disk space to make a
>>> snapshot and after it to dd the file to the usb disk, I never used this
>>> snapshot feature, I will see if I can redirect the file as a pipe
>>> directly to the usb drive.
>> You could always reduce your FS size, to make space for the
>> snapshots, depending on your pool size/etc
> 
> I think the point to point out is that making an LVM snapshot does not involve
> copying the whole partition. You need a limited amount of free space in the VG
> - enough to hold the changes to the LV during the life time of the snapshot.
> LVM presents to you the (unchanging) snapshot on the one hand and the normal
> (read-write) LV on the other hand, both as block devices. You do *not* get a
> file containing an image of your LV (well, you can create that yourself, but
> there is no reason to do that). The difficult part is to figure out beforehand
> *how much* space you will need for the snapshot. That depends on how long you
> need the snapshot and how much write activity on your LV will occur during 
> this
> time. 

Yesterday I read a little about the LVM snapshot, I didn't know that LVM 
had this feature. When I read that suggestion I thought that snapshot 
was a sort of dd. By now I am running a dd on the snapshot, I opened 
some space on the lvm by reducing the root size and created the snapshot.

 >If you can do all of it outside of your backup window, you will need
> virtually no space for the snapshot, but then again, you wouldn't really need
> a snapshot in this case :).

Currently I believe that I can stop backuppc and perform the copy of the 
data, but I don't know if in the future it will still be possible, so I 
am trying to do everything considering that the data may change while I 
am performing the copy.

> That said, you *will* need *some* space in your VG, so if it's all allocated
> right now, you will need to reduce the size of your root or backup volumes.
> On the bright side, that would mean you have some spare space on your USB disk
> for a live root partition.

Yes, I have space for everything on the USB HD, I tested the boot from 
it, and it worked fine, so I guess that this idea will work greatly.

I intend to publish this recipe on the Backuppc Wiki, I guess that Tips 
&Tricks is a good place for it, am I right?

Rodrigo

--
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] Backing up the backup to an external USB drive

2008-12-11 Thread Rodrigo Real

Hello Adam

Adam Goryachev wrote:
> 
> Step 1) Use LVM's snapshot feature to take a snapshot of your root and
> backuppc partitions.
> Step 2) dd the snapshot to the two partitions on your USB HDD
> 
> You won't be able to boot from the USB directly, because as you said,
> you would need to install grub, adjust the menu.lst, etc to make it
> work. If you had a USB drive larger than 500GB, eg, a 750GB drive, then
> you could do so much more :)

I was thinking about running a small shell script that would do this 
adjustments just after the end of the copy process. This script would 
mount the usb partitions e edit those files.

> 
> ie, setup the 3rd partition as the "active" partition, install grub to
> this partition, and configure the menu.lst file as needed. Then use the
> first two partitions the same as above.

This is a good idea, and would simplify the process.

Re-structuring the thoughts, maybe I could do:

  1 - copy the /boot and root partitions just once in a while, or maybe 
rsync it in a low frequency, excluding the files that should be adjusted
  2 - in a higher frequency take a snapshot of the backuppc lvm volume 
to the usb drive

This way I guess some problems would be solved:

  * I don't have to take a snapshot of a mounted and live root system, 
which I guess would cause problems (as said by Tino)
  * I don't have to make that script to adjust everything everytime I do 
a backup

The only problem I see is that I don't have disk space to make a 
snapshot and after it to dd the file to the usb disk, I never used this 
snapshot feature, I will see if I can redirect the file as a pipe 
directly to the usb drive.

I will try to follow this way and see where it takes me. It would be 
very confortable to have this sort of ready to use system.

Let me know ff you have any other ideias, I will send news soon about this.

Rodrigo

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


[BackupPC-users] Backing up the backup to an external USB drive

2008-12-11 Thread Rodrigo Real
Hello,

I've been quiet for some months, but I've been trying to read the 
messages in the way I can.

Now I am running to the list to ask a question that has been discussed 
here some time before (maybe many times), but I could not find a 
solution that fits exactly on my needs, maybe I wasn't able to identify 
it...

Let me tell you the full story...

I have a backuppc server with 3 250GB Sata disks running in Software 
RAID-5 with LVM built on top of it. This systems is been running for 
quite some time now. This server is in a different building from where 
we have most of our computers and our servers. But now we got a little 
more paranoid, so we want to backup the backuppc server, and take it 
home. We want to do this process at least once a month, by now we don't 
believe that we need a greater frequency.

So, I bought an USB external drive with 500GB and now I am thinking 
about what is the best way to do it.

My first attempt is to dd each partition of the backuppc server and save 
it as files on the usb disk. This seems to be a simple solution and 
maybe it is good enough. But I was wondering if it wouldn't be possible 
to dd the entire installation, and have a sort of "LiveHD". That would 
be really good and easy to use in case of panic.

My installation looks like this:

/dev/mapper/vg-root on / type reiserfs (rw)
/dev/md0 on /boot type reiserfs (rw,notail)
/dev/mapper/vg-backup on /var/lib/backuppc type reiserfs (rw)

I am thinking about creating 3 partitions on the usb hard drive and to 
dd each of this disks to its corresponding partition. I guess that this 
could work, but I see that there will be some issues:
   * After dd I will have to mount the usb system and adjust fstab
   * I will have to boot on the system on a liveCD to do this, or I will 
have to remount the root system as read-only to run dd
   * install grub on the usb disk (never did this...). maybe some 
adjustments on menu.lst will be needed.
   * don't know if I can boot the usb drive directly on any computer ( I 
guess that this is not a problem since I can get a "not old" computer)

What do you think of this? Does it seems to be reasonable?

Thanks for any comments or help,
Rodrigo

--
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] First backup failed

2008-01-09 Thread Rodrigo Real

Hi Jockes

Jockes <[EMAIL PROTECTED]> writes:

> Jockes wrote:
>> The log below was from the host and the global log says:
>>
>> 2008-01-08 22:37:40 Reading hosts file
>> 2008-01-08 22:37:40 BackupPC started, pid 12469
>> ...
> ...
> tarExtract: Done: 0 errors, 2461 filesExist, 0 sizeExist, 0 sizeExistComp, 
> 47883 filesTotal, 13190814719 sizeTotal
> Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /var/vmail --totals .
> full backup started for directory /var/vmail
> Xfer PIDs are now 30851,30850
> /bin/tar: /var/vmail: Cannot chdir: Permission denied
> /bin/tar: Error is not recoverable: exiting now
> Tar exited with error 512 () status
> tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
> filesTotal, 0 sizeTotal
> Got fatal error during xfer (No files dumped for share /var/vmail)
> Backup aborted (No files dumped for share /var/vmail)
>
> 
>
> I have a lot of permission errors n /etc as well...
>
> How should backuppc be configured to resolve these "permission denied"
> errors?


I guess you have two paths to follow. You can directly make backuppc
access your files, which is what you are doing, then backuppc user
must have read acces to all files and read/execute access to all
directories. You can do this adding backuppc user to the groups that
own those directories, and giving the read/execute access to the
group. Somebody once send some tips for using sudo to do this, I think
you can try that if you are familiar with sudo.

Another approach, which I think is easier, is to treat your localhost
as a remote host, and do the backup using rsync+ssh, or tar+ssh.

Hope this helps,
Rodrigo

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Re-install Backuppc

2008-01-08 Thread Rodrigo Real

Hi Jockes

Jockes <[EMAIL PROTECTED]> writes:

> Hello,
>
> I have backuppc installed a long time ago but removed (apt-get remove
> backuppc) it due to I used another approach. Now however I want to
> give it a more serious evaluation and tried to install it (apt-get
> install backuppc). It seems that it discovered the previous
> installation and didn't install correctly. I got errors for apache and
> didn't get all configuration files (e.g. missing
> /etc/backuppc/apache.conf).
>
> How can I remove backuppc completely and get a clean/fresh installation?


You can try:

apt-get remove --purge backuppc

This should remove everything, even configuration files.

Rodrigo

>
> Using Ubuntu 7.10 (the previous backuppc installation was using 7.04
> and was upgraded to 7.10)
>
> Thanks in advance for any help...
>
> BR/Jocke
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] ssh, rsync and root access

2007-11-14 Thread Rodrigo Real
dan <[EMAIL PROTECTED]> writes:

Hi

> i would really consider NOT addowing root login on ssh without a
> password.  HUGE security hole.  instead, use a shared key so that you
> can get no-password logins for machines you provide a key for.  much
> much safer!

I guess that you lost the point here, the meaning of
"without-password" in this case is not what you are thinking.

>From sshd_config manual:

,
| If this option is set to ``without-password'', password authenti-
| cation is disabled for root.
`

The main idea is to provide root access through ssh only when the
shared key method is in use. No interactive login for root. This is
another way to prevent from brute force attacks.

Rodrigo

>
> On Nov 14, 2007 5:13 AM, Rodrigo Real <[EMAIL PROTECTED]> wrote:
>>
>> Hello
>>
>> I've been using backuppc to backup several hosts in a lan. Most of
>> them are backep up with rsync+ssh using root access. Now I am backing
>> up a host which is also connected to the Internet, and which does not
>> accept direct root access through ssh.
>>
>> I looked at some alternatives and ended up with changing sshd_config
>> to PermitRootLogin directive to:
>>
>> PermitRootLogin without-password
>>
>> I think that this issue would be a good one for a Topic somewhere on
>> the wiki, maybe inside de FAQ.
>>
>> I am sure that there are lots of different solutions on this topic.
>>
>> Best regards,
>> Rodrigo
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.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/
>>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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/


[BackupPC-users] ssh, rsync and root access

2007-11-14 Thread Rodrigo Real

Hello

I've been using backuppc to backup several hosts in a lan. Most of
them are backep up with rsync+ssh using root access. Now I am backing
up a host which is also connected to the Internet, and which does not
accept direct root access through ssh.

I looked at some alternatives and ended up with changing sshd_config
to PermitRootLogin directive to:

PermitRootLogin without-password

I think that this issue would be a good one for a Topic somewhere on
the wiki, maybe inside de FAQ.

I am sure that there are lots of different solutions on this topic.

Best regards,
Rodrigo

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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 problem

2007-10-18 Thread Rodrigo Real
dan <[EMAIL PROTECTED]> writes:


Hi

> ?? im not sure why you would be getting a gdk error.  if you dont already
> know, gdk is a graphics framework for gnome and xfce and the Xlib is an
> access library for gdk to talk to X windows.  it looks like your ssh client
> does some gdk calls.
>
> what distro are you on?  this looks like a gentoo thing, am i wrong?

The problem seems to be related to the ssh-askpass program, probably
the keys are not corrected configured to work without a password, and
ssh is trying to run ssh-askpass. Don't know exactly how this works,
but if the keys are correct, I think that everything will work fine.

Try to run ssh as backuppc user, to see if you can connect to the
hello.com host.

Good Luck!

Rodrigo

>
> On 10/17/07, Varuna Nohar <[EMAIL PROTECTED]> wrote:
>>
>> hi all
>>
>> i'm getting the error while taking the backup with backuppc. I came out of
>> this prolem by changing --devices to -Das suggested by some one but now
>> again the problem is same so nw what shd i do ?plz help me .
>>
>> Contents of file /var/lib/backuppc/pc/hello.com/XferLOG.bad, modified
>> 2007-10-18 09:33:27
>>
>> Running: /usr/bin/ssh -q -x -l root hello.com /usr/bin/rsync --server 
>> --sender --numeric-ids --perms --owner --group --devices --links --times 
>> --block-size=2048 --recursive --ignore-times . /home/
>>
>> Xfer PIDs are now 6566
>> Got remote protocol 1936926730
>> Fatal error (bad version):
>> (ssh-askpass:6567): Gdk-WARNING **: locale not supported by Xlib
>>
>> Read EOF:
>> Tried again: got 0 bytes
>> fileListReceive() failed
>>
>> Done: 0 files, 0 bytes
>> Got fatal error during xfer (fileListReceive failed)
>> Backup aborted (fileListReceive failed)
>>
>>
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> ___
>> BackupPC-users mailing list
>> BackupPC-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> http://backuppc.sourceforge.net/
>>
>>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> 
> http://get.splunk.com/___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Any way to limit disk space?

2007-10-16 Thread Rodrigo Real
"Arch Willingham" <[EMAIL PROTECTED]> writes:

Hi Arch

> Is there any way to automatically tell BackupPC to limit the amount
> of disk space it uses (a % of the disk or x GB used or x GB free,
> etc)?

I guess DfMaxUsagePct in the config.pl file do what you want:

, /etc/backuppc/config.pl (in Debian)
| # 
| # Maximum threshold for disk utilization on the __TOPDIR__ filesystem.
| # If the output from $Conf{DfPath} reports a percentage larger than
| # this number then no new regularly scheduled backups will be run.
| # However, user requested backups (which are usually incremental and
| # tend to be small) are still performed, independent of disk usage.
| # Also, currently running backups will not be terminated when the disk
| # usage exceeds this number.
| #
| $Conf{DfMaxUsagePct} = '95';
`


Rodrigo

>
> Thanks!
>
> Arch
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] wiki

2007-10-12 Thread Rodrigo Real
Toni Van Remortel <[EMAIL PROTECTED]> writes:

Hi Toni

> Rodrigo Real wrote:
>> I added the idea of installing some extra packages in debian.
> Those are installed as dependencies ... so no need to install them
>manually.

I already had excluded from my list the ones which are installed as
dependencies, If you run an apt-cache show backuppc, both versions
will show rsync is a "Suggests" not a "Depends", the same applies for
bzip2, par2, libfile-rsyncp-perl.

I think that the same will happen at least with Ubuntu, but I don't
have an Ubuntu for testing.

>> Also added a line telling where the main directories will be.
> That's a good idea. Tnx.

Rodrigo

>
> -- 
> Toni Van Remortel, MSc
> Linux System Engineer @ Precision Operations NV
> +32 3 452 92 26 - [EMAIL PROTECTED]
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] wiki

2007-10-12 Thread Rodrigo Real

Hi

Toni Van Remortel <[EMAIL PROTECTED]> writes:

> dan wrote:
>> i have add some content to the wiki backuppc.wiki.sourceforge.net 
>> 
>> i have ripped some data off of the mainpage for 'features' and 
>> 'supported systems' and whatnot under the FAQ section.
>> also started the Installation section, added entries for ubuntu 7.04 
>> and 7.10 and the ever important License!
> Cool.
> I added the Debian Etch install instructions, and a small proposal for 
> LoCUS (List of Custom User Scripts) [name to be dfined ;-)]

I added the idea of installing some extra packages in debian. Also
added a line telling where the main directories will be.

The wiki is becaming very nice!

Rodrigo

>
> I'll add some more soon.
>
> -- 
> Toni Van Remortel, MSc
> Linux System Engineer @ Precision Operations NV
> +32 3 452 92 26 - [EMAIL PROTECTED]
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] wiki and forums

2007-10-11 Thread Rodrigo Real

Hi

David Nalley <[EMAIL PROTECTED]> writes:

> On Thursday 11 October 2007 16:30:57 Nils Breunese (Lemonbit) wrote:
>> backuppc.wiki.sourceforge.net/>. Anyone willing to setup a sort of
>> skeleton for the wiki? I think that would be a lot better than having
>> a free for all and trying to fix it later.
>>
>> Nils Breunese.
>
> I agree wholeheartedly, a structure needs to exist - I created: 
> http://backuppc.wiki.sourceforge.net/ProposedWikiStructure
> and filled in some rough ideas - please feel free to edit and
> comment. 

I made some edits for your avaliation. Added this two itens:

Basic Infrastructure - Here we could put things like: Recomendations
for having a safe BackupPC platform, no-breaks and their control
software, LVM, RAID, etc.

Stories - Here we could have a list of pages, where people could tell
us their stories, and show how they use BackupPC.

As we are using Sourceforge for everything, which really seems to be
the best option, isn't that a good idea to have users scripts in a
separate cvs repository under backuppc project? This way we could have a
Tips and Tricks wiki section that points to that code when necessary,
and we get version control, which in a wiki would be a little
complicate.

Rodrigo

>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] On-demand backups of laptops

2007-10-09 Thread Rodrigo Real
"Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> writes:

Hi

> Toni Van Remortel wrote:
>
>> That reminds me about something: is there a kind of 'BackupPC Script
>> Repository' somewhere? If not, what webbased framework should I use to
>> set one up? Got plenty of webspace and traffic at hand :-)
>
> Maybe a wiki? That would be suitable for more than just a script
> repository. I believe others have said they'd like to see a BackupPC
> wiki in the past on the list, but a wiki needs maintainance. Did I
> hear somewhere that SourceForge (where BackupPC is hosted) is also
> providing wikis nowadays? Craig would have to set that up then (but
> probably doesn't have the time to maintain it?).
>
> You could also just setup anonymous FTP and have people mail their
> script to you if Web 2.0 is not a requirement. :o)

I think this is a nice idea, but in this case, cvs or svn would be a
better choice. I would like to see a Wiki for things like: backuppc
experiences, backuppc setups (hardware and software), tragic
histories, list of things you should not do, list of things you should
do, etc. The scripts could have a section in this wiki, but I think
that version control is a "must have" when talking about code.

Some time ago I came up with the idea of a backuppc wiki, but it
seemed that everybody (even me) were too busy to take the idea on. If
someone is interested I could provide some infrastructure for this. I
work in a Univercity and have a server with a Trac
(http://trac.edgewall.org/) installation, which could handle a wiki,
svn and ticket system. This could serve a sort of backuppc-contrib
project.

Cheers,
Rodrigo

>
> Nils.
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> 
> http://get.splunk.com/___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] setting up the web interface

2007-09-19 Thread Rodrigo Real
"Curtis Taylor" <[EMAIL PROTECTED]> writes:

Hi Curtis

> Well, while it might seem to you like "I'm trying to get to Barcelona but I
> haven't arrived yet", to me it is more along the lines of "I am trying to
> get out of the room but I can't find the door". Thanks for the link. I made
> the changes that were referred to in the docs, in reference to the
> httpd.conf file but when I try accessing the page with
> http:///BackupPC:8080 I just get a 401 error message stating
> that it cannot display or find the page.

One of the problems is that you are using the wrong URL, you should
write:
http://:8080/BackupPC

In the way you did, your webserver is trying to find an entry called
"BackupPC:8080", which doesn't exist.

Rodrigo

>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Keith
> Edmunds
> Sent: Wednesday, September 19, 2007 6:46 AM
> To: backuppc-users@lists.sourceforge.net
> Subject: Re: [BackupPC-users] setting up the web interface
>
> On Wed, 19 Sep 2007 06:35:21 -0500, [EMAIL PROTECTED] said:
>
>> I have not been
>> able to get the web interface configured for BackupPC.
>
> That's a bit like saying "I'm trying to get to Barcelona but I haven't
> arrived yet".
>
>> So, could someone point me to a
>> guide or give some instructions on how to configure the web interface?
>
> Perhaps you could tell us what the symptoms are, what you've tried so far,
> etc? You might like to read
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> The help on this list is, in my experience, excellent, but you have to
> give those who are trying to help a clue.
>
> Keith
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] How to schedule a backup

2007-07-26 Thread Rodrigo Real
FleX <[EMAIL PROTECTED]> writes:

Hi FleX

> I'm a new BackupPC's user, and I don't understand how can I schedule a 
> backup.
> For example: I have a notebook , and I'd like to backup ONLY it at 13:00 
> every week (incremental) on saturday and every month for a full backup.
> How can I do it ?
> I find only these option, but I don't know how to set them.
> $Conf{FullPeriod} = 6.97;
> $Conf{IncrPeriod} = 0.97;

Take a look at $Conf{BlackoutPeriods}, there you can set the days and
hours that you DON'T want to backup. 

Rodrigo

>
> -- 
> Best
> FleX
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] partial backups over internet

2007-07-16 Thread Rodrigo Real
Rob Owens <[EMAIL PROTECTED]> writes:

Hi Rob

> My concern becomes that a full over-the-internet backup will take quite 
> a lot of days.  Are there any special precautions I need to take in 
> order to ensure that file transfers don't get "wasted" (eg, after 3 days 
> of transferring files, the internet connection goes down, but the full 
> backup did not complete).  I think BackupPC retains and re-uses partial 
> full backups.  But what happens in the case of multiple partial full 
> backups?

I am not sure, but I believe that in this case backupc will keep every
file it transfer, until your full is complete. I think that it will
not keep partial transfered files, so if you have a very large file
that never finishes to download (maybe because of a rsync timeout),
your full will never complete.

> I don't think partial incremental backups get retained, but correct me 
> if I'm wrong.  Do I need to configure BackupPC to perform only full 
> backups until the initial full completes?  Or is BackupPC smart enough 
> to not try an incremental until a complete full backup has been
> done?

Your backuppc will keep trying to complete the full backup before
trying any incremental. You don't have to manually control this.

Rodrigo

>
> Thanks for your help.
>
> -Rob
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Renaming a host

2007-07-13 Thread Rodrigo Real
Systeem- en Netwerkbeheer OW <[EMAIL PROTECTED]> writes:

Hi

One reasonable approach is to disable the backup from the old names,
and to add the new ones as new hosts. It is not a great solution, but
could work.

Rodrigo

> Keith Edmunds wrote:
>> On Fri, 13 Jul 2007 16:11:26 +0200, [EMAIL PROTECTED] said:
>>
>>   
>>> Renaming it in the hosts file and renaming it's directory doesn't work.
>>> 
>>
>> "doesn't work" in what way?
> In the console, I only see the new name, without any backups behind it.
>>  I seem to recall that that is all I did when I renamed a server. Did you 
>> reload the BackupPC configuration file after the
>> rename?
> Yes I did. I stopped the backuppc daemon, changed the config, and 
> started the daemon again. No luck though.
>
> -- 
> Toni Van Remortel
> Systeem- en Netwerkbeheer
> HA - Dept. Ontwerpwetenschappen
> Mutsaardstraat 31
> 2000 Antwerpen
> [EMAIL PROTECTED] - +32 473 73 14 40
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Automatic Samba hosts configuration

2007-07-12 Thread Rodrigo Real
Les Mikesell <[EMAIL PROTECTED]> writes:

Hi Les

> Rodrigo Real wrote:
>> Hi Guys
>> 
>> Some weeks ago I sent a message to the list, saying that I would like
>> to have a Windows Installer for backuppc clients. I never started
>> that, and started to think that maybe in some cases I could do almost
>> everything from the server.
>> 
>> So, considering I will do backups using smb transfer method, I only
>> need that the shares be configured on the clients, and that backuppc
>> have at least read access.
>
> If you have the admin password, everything is always shared and you 
> always have access - just use the hidden C$ (etc.) names.

I am considering that the owner of the computer doesn't want to give
full access to the backup system, or to me. I have a part time job in
a University, and there I don't have control over the desktop
computers. So, my idea is that the users just share something they
want to be backed up, and the job will be done.

Anyway, you can use the script to discover the hosts and C$ shares
that you have access with the admin password.

Rodrigo

>
> -- 
>Les Mikesell
> [EMAIL PROTECTED]
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Automatic Samba hosts configuration

2007-07-11 Thread Rodrigo Real

Hi Guys

Some weeks ago I sent a message to the list, saying that I would like
to have a Windows Installer for backuppc clients. I never started
that, and started to think that maybe in some cases I could do almost
everything from the server.

So, considering I will do backups using smb transfer method, I only
need that the shares be configured on the clients, and that backuppc
have at least read access.

I made a simple prototype to search for shares on the local network
and to add the machines to the hosts configuration file, and to create
the host specific configuration file in backkuppc config directory.

It seems to be working.

It doesn't have any options by now, you can customize some thinks
directly in the begining of the source code. Please take a look at it
before testing.

I am sending you the file in case you want to give a try and send some
opinions. The script was made with Chicken, which is a scheme
implementation, so you will need it if you want to test the
script. You can download Chicken from here:


Best regards,
Rodrigo



backuppc-smb-autoconf.scm
Description: Binary data
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] dissapointed and lost

2007-07-06 Thread Rodrigo Real
ilias <[EMAIL PROTECTED]> writes:

Hi Ilias

I don't think you are so lost, you made a lot of things, and just
didn't find the right solution for you.

> I tried usign rsync. I setup a windows client with the Rsyncd process running 
> at
> the background. Everything seems to be fine but I still get the same  error 
> when
> backing up the same files and also when I try to restore I get the error 
> Restore
> failed on hostname (Unable to read 4 bytes). 

I am not sure, but I think this error means that backuppc is not able
to autenticate or connect to the client host.

Good luck,
Rodrigo


>
> I initially tried backuppc on 2 virtual machines (one debian4 server, one 
> winXP)
> and I never got the first error (BackupPC_link got error -4 when calling
> MakeFileLink /blah/random) which leads me to believe that something went wrong
> with the installation of backuppc in the psysical debian4 server. However the
> 2nd error persists in both virtual and physical installments making me unable 
> to
> restore files when using rsync. 
>
> Can anyone point me ..or write a guide on how to setup backuppc on a Debian 4
> machine and make it take backups from a windows machine using rsyncd ?
>
> cheers
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC won't take scheduled backups

2007-07-04 Thread Rodrigo Real
ilias <[EMAIL PROTECTED]> writes:

Hi

> ok i've managed to make it work. Scheduled backups are working ok and updated
> files are stored correctly using rsyncd (i used the cygwin-rsync packet on the
> windows client). I need to ask you one thing though. IncrPeriod is set as
> default 0.97, does this mean backuppc takes incremental backups once per day ?
> and what time of day does it take the backup ? 
>
> I would like to make it take incremental backups of every pc at 18:00 every 
> day
> and full backups once per week on mondays at 21:00. 

In backuppc you don't schedule a specific time for a backup to start,
instead, you specify the wakeup times, in which it will try to do
the backups, and you specify the blackout period in which it will not
do backups. So you should play with this values to make what you
want. 

Also take a look at $Conf{MaxBackups} and $Conf{MaxUserBackups}, which
define how many backups you will do simultaneously.

Rodrigo


>
> thanks for you reply
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] /var/lib/backuppc replace HDD

2007-07-04 Thread Rodrigo Real
"Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> writes:

> Stefan Degen wrote:
>
>> "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> schrieb:
>>
>>> P.S. You could also just start over and keep the old disk
>>> around for emergency...
>>
>> This is a quite good idea. If there is an emergency, i only need
>> to change the harddisk again? Backuppc will not be angy :-)?
>
> If you stop the backuppc daemon before unmounting and removing the
> drive, I think it should be fine, but I haven't tried this myself.

I also think it would work.

If you are in a hurry, don't try to copy the files, it will take a
long time, and you will have to stop doing backups during this time. I
had a problem with a disk in a LVM last week, I had something like
120GB of data in the backuppc pool, and it took almost 4 days to copy
everything to another disk. Of course, one of my disks had some errors
which slows the copy, but most of the time was spent for re-creating
the hard links.

Rodrigo

>
> Nils Breunese.
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC won't take scheduled backups

2007-07-04 Thread Rodrigo Real
ilias <[EMAIL PROTECTED]> writes:

Hi Ilias


> I got BackupPC 3.0 up and running. I'm currently testing it with a windows
> client using a samba share. I haven't touched anything in the default
> configuration with which I believe the server should take backups of all hosts
> every 1 hour excluding the blackout period which is the only thing I changed 
> in
> order to test it. This is the last line of the logs, and every time that 
> passes
> it reproduces the same message. 
>
> "2007-07-04 10:00:00 Next wakeup is 2007-07-04 11:00:00"
>
> And just that, no backups are been taken by the system.

Take a look at your "Host Summary" screen, and tell us what is the
"last attempt" message for this host.

>
> Also if I manually take incremental backups after I make some changes in the
> files of the share, for instance, change the filename of a file, the 
> incremental
> backup won't see that change and take backup of the file with its older
> filename. I have to take full backups in order to store updated files. Any
> solutions to that ? I've read somewhere that samba method won't be able to
> detect file changes and I'll have to install cygwin in every client in order 
> to
> use rsync which does proper backup of updated files, is that true ? 

This seems to be a problem with the samba transfer method, take a look at:

, http://backuppc.sourceforge.net/faq/roadMap.html
| Replacing smbclient with the perl module FileSys::SmbClient. This
| gives much more direct control of the smb transfer, allowing
| incrementals to depend on any attribute change (eg: exist, mtime, file
| size, uid, gid), and better support for include and exclude. Currently
| smbclient incrementals only depend upon mtime, so deleted files or
| renamed files are not detected. FileSys::SmbClient would also allow
| resuming of incomplete full backups in the same manner as rsync will.
`

Maybe this rsync windows package will help: http://itefix.no/cwrsync/

I had never used it, ok? Maybe you could send some feedback about
rsync and windows if you go this way.


Best regards,
Rodrigo

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] cloning the backup pool

2007-06-29 Thread Rodrigo Real
Rob Owens <[EMAIL PROTECTED]> writes:

Hi Rob

> Carl Wilhelm Soderstrom wrote:
>> On 06/29 08:21 , Rob Owens wrote:
>>   
>>> Should I have the BackupPC server in office A do a nightly backup of all 
>>> the file shares in office B?  Or should office A do a nightly backup of 
>>> the pool directory in office B?  Or should I simply rsync the pool 
>>> directory from office B to office A every night using a cron job?
>>> 
>>
>> Don't try to rsync the pools. The number of hardlinks (lots of files) will
>> be murderous on the rsync memory requirements. Just do backups in parallel;
>> with office A backing up office B's machines once per day, and vice versa.
> Thanks for the input. 
>
> Is it possible for me to give assign different backup schedules for 
> different machines?  (I don't currently have BackupPC installed, and I 
> couldn't tell by scanning through the documentation).  In my case, I 
> want local backups to happen hourly, but I want remote backups to occur 
> only once a night.

Yes, you schedule each of your hosts. You can have a default schedule,
and then you can specify the different ones.

Rodrigo


>
> -Rob
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Incremental Backup every two hours

2007-06-27 Thread Rodrigo Real
"Chir patel" <[EMAIL PROTECTED]> writes:

Hi Chir

> Hi there
>
> I am trying to do an Incremental backup dataserver Departmental data
> (word,excel,access,pics,pdf files) every two hours. Size of the
> departmental data folder is about 80 GB. I have installed Backup pc, I have
> done following
>
> 1)  Changed confil.pl using web interface so that backup starts every 2
> hours. [ 7,9,11,13,15,17,19]
> 2)  Changed the Backout period from 20 to 6
> 3)  Changed number of incremental backup to 140
> 4)  Change minmum days before next full backup to 30.97
> 5)  change minimium no of full backup to keep.  1
>
> what else do I need to configure to achieve Incremental backup every 2
> hours  ?

It seems right. What error message(s) are you getting?

> Also if a file that has been created on my dataserer after full backup, will
> that file be backed up every incremental backup ?

Yes, all files will be backed up, it doesn't matter if the backup is
full or incremental. Keep in mind that backuppc stores just once each
identical file.

Regards,
Rodrigo

>
> Thank you in advance for all your help.
>
> Regards
>
> Chir
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Automating windows clients installation

2007-06-16 Thread Rodrigo Real
[EMAIL PROTECTED] (Lemonbit) writes:

Hi Nils

> Rodrigo Real wrote:
>
>> My idea is to build a sort of installer for this situation, which with
>> a few questions would do the job. But I don't have any experience with
>> this kind of thing in the windows world. I believe it could be done
>> with Inno Setup (http://www.jrsoftware.org/isinfo.php), which seems to
>> be a nice program, but I never used it.
>
> You might also want to check out NSIS [0], the installer created by
> the guys that make Winamp and which is being used by lots of
> programs.

It seems to be a very good software, it seems to be better than Inno
Setup. I am going to download it and make some experiments.

Would anybody else be interested a project like this?

Rodrigo

>
> Nils Breunese.
>
> [0] <http://nsis.sourceforge.net/>
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Automating windows clients installation

2007-06-15 Thread Rodrigo Real

Hi guys

I am using backuppc with success for at least 3 years, I backup mostly
linux servers, but also have some windows hosts. Some of these
linux machines are through a VPN, using openVPN.

Now I am thinking about backing up some disperse Windows hosts using
the Internet as the network, with the backuppc server in  a safe
place. The idea is that the amount of data on each machine will be
something like 100-200MB.

One of the problems I see are the difficulties related to installing
and configuring OpenVPN on windows, configure the samba shares, and
backuppc. Although this is not a very very hard problem, it is for final
users. 

My idea is to build a sort of installer for this situation, which with
a few questions would do the job. But I don't have any experience with
this kind of thing in the windows world. I believe it could be done
with Inno Setup (http://www.jrsoftware.org/isinfo.php), which seems to
be a nice program, but I never used it.

Do you think it is a good idea to implement this sort of thing? 

The main question seems to be: Is this sort of thing already
available?

Best regards,
Rodrigo




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rebuilding backups file

2007-05-07 Thread Rodrigo Real
Rodrigo Real <[EMAIL PROTECTED]> writes:

Hi guys

I am writing just to give some feedback.

I upgraded my system  to etch (debian current stable version), and
upgraded the backuppc package to 3.0.0-2, which is a packaged version
of backuppc for debian unstable.

Everything is going fine, I reconstructed the backups file, as Craig
said, with the following command:

/usr/share/backuppc/bin/BackupPC_fixupBackupSummary -l independence

Thanks for the help,
Rodrigo

>> In 3.0.0 there is a script BackupPC_fixupBackupSummary that re-creates
>> the backups file.  An extra copy of the relevant information is stored
>> in each numbered backup directory.  BackupPC_fixupBackupSummary can
>> also try to recover that information from the LOG files in the case of
>> backups made prior to 3.x that don't have this meta data saved.  3.x is
>> also more careful about how it writes these files: it writes to a
>> temporary and does a readback comparison before renaming the file.
>>
>> You could upgrade and try BackupPC_fixupBackupSummary, but upgrading
>> right after you had problems on the system might add too much perceived
>> risk for your liking.
>
> I already have another server with the 3.0 version running, but I was
> too lasy (or busy) too upgrade this one. I will wait a little bit, to
> see if everything is really ok, and after that, will upgrade the
> system.
>
> Thanks for the tips, specially for the one about
> BackupPC_fixupBackupSummary.
>
> Rodrigo
>
>>
>> Craig
>>
>> -
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> ___
>> BackupPC-users mailing list
>> BackupPC-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> http://backuppc.sourceforge.net/
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rsync + SSH and unix domain sockets

2007-05-05 Thread Rodrigo Real
Holger Parplies <[EMAIL PROTECTED]> writes:

> Hi,
>
> Rodrigo Real wrote on 05.05.2007 at 11:38:40 [[BackupPC-users] Rsync + SSH 
> and unix domain sockets (was Re: Rebuilding backups file)]:
>> [...]
>> Before the power loss problem, I upgraded the ltsp server
>> (independence) I run in this site, and after that, backuppc stoped to
>> back it up, the problem seemed to be with unix-domain sockets and
>> FIFOs (represented by p on ls -l output). I was putting all files of
>> this kind I could found in $Conf{BackupFilesExclude} and running some
>> tests when I had the power failure.
>
> did you s/--devices/-D/ ?

Humm... No.

Just check the man page of rsync and found that!

Thanks a lot!

Regards,
Rodrigo


>
> Regards,
> Holger

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Rsync + SSH and unix domain sockets (was Re: Rebuilding backups file)

2007-05-05 Thread Rodrigo Real
Rodrigo Real <[EMAIL PROTECTED]> writes:

Hi again

In my last emails I did not told you the full story, because I thought
that it would be irrelevant, but I am experiencing another problem
now.

Before the power loss problem, I upgraded the ltsp server
(independence) I run in this site, and after that, backuppc stoped to
back it up, the problem seemed to be with unix-domain sockets and
FIFOs (represented by p on ls -l output). I was putting all files of
this kind I could found in $Conf{BackupFilesExclude} and running some
tests when I had the power failure.

I already had this problem with unix sockets and fifos on another
site, and I did this same workaround. But I am not very happy with it.

I am running the backups in rsync+ssh mode and have the following
debian packages versions:

, backuppc server
| libfile-rsyncp 0.52-1 
| rsync  2.6.4-6
`

, independence server
| libfile-rsync-perl   0.42-1 
| libfile-rsyncp-perl  0.52-1 
| rsync2.6.9-2
`

I believe that the problem should be with the different versions of
rsync. 

Anyway, in the next week I will upgrade this backuppc system, but as I
have other hosts been backedup by this same backuppc server, I would
like to understand this problem, which is a little obscure to me right
now.

Cheers,
Rodrigo

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rebuilding backups file

2007-05-04 Thread Rodrigo Real
Craig Barratt <[EMAIL PROTECTED]> writes:

Hi Craig

> Rodrigo writes:
>
>> The only problem seems to be with this index file and status.pl. I
>> just removed status.pl, and backuppc re-made it.  I dont know if this
>> was the best thing to do in this situation, but everything else seems
>> to be fine.
>
> That's perfectly fine.  status.pl will be rebuilt and, over time,
> the per-host status information will get updated.

Ok.

>
>> My question is: is there any way to rebuild backups file based on the
>> data available in the disk?
>
> The prior version of the backups should be saved in backups.old.
> Check if that file exists is non-empty and correct.  If so, copy
> it to backups.

This file is corrupted also... I think one of the problems I have, is
that this system is running with xfs. This filesystem seems to behave
very bad on power losses. I had a similar problem with another machine
that runs xfs.

> In 3.0.0 there is a script BackupPC_fixupBackupSummary that re-creates
> the backups file.  An extra copy of the relevant information is stored
> in each numbered backup directory.  BackupPC_fixupBackupSummary can
> also try to recover that information from the LOG files in the case of
> backups made prior to 3.x that don't have this meta data saved.  3.x is
> also more careful about how it writes these files: it writes to a
> temporary and does a readback comparison before renaming the file.
>
> You could upgrade and try BackupPC_fixupBackupSummary, but upgrading
> right after you had problems on the system might add too much perceived
> risk for your liking.

I already have another server with the 3.0 version running, but I was
too lasy (or busy) too upgrade this one. I will wait a little bit, to
see if everything is really ok, and after that, will upgrade the
system.

Thanks for the tips, specially for the one about
BackupPC_fixupBackupSummary.

Rodrigo

>
> Craig
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Rebuilding backups file

2007-05-04 Thread Rodrigo Real

Hi guys

I had a power failure problem on a machine where I run backuppc 2.1.1,
it is a debian system. I was running a backupc_dump in HOST when the
problem ocurred, and the /var/lib/backuppc/pc/HOST/backups corrupted.

The only problem seems to be with this index file and status.pl. I
just removed status.pl, and backuppc re-made it.  I dont know if this
was the best thing to do in this situation, but everything else seems
to be fine.

My question is: is there any way to rebuild backups file based on the
data available in the disk?

Cheers,
Rodrigo

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Strange Backuppc Problem with rsync

2007-02-12 Thread Rodrigo Real
"Paulo Cardoso" <[EMAIL PROTECTED]> writes:

Hi Paulo

I had a similar problem with a client host that had a different rsync
version.  I did not read the begining of this thread, but maybe this
could be your case.

Rodrigo

> Hi,
> Thanks but this didn't fixed it.
> I still get the same error.
> As I said, it only happends sametimes.
>
> Regarding the backup, if I select a small folder, nothing happends.
> If I select a folder with many many files and sub-folders, I can see rsync
> starts listing it...
> I'd like to test the backup on a small folder with about 200 files but it
> doesn't work.
> I'm getting crazy with it as I can't find the problem..
>
> On 2/11/07, Craig Barratt <[EMAIL PROTECTED]> wrote:
>>
>> Paulo writes:
>>
>> > xferPids 10100
>> > Rsync command pid is 10100
>> > Got remote protocol 1768191091
>> > Checksum seed is 1763719790
>> > Got checksumSeed 0x69203a6e
>>
>> [snip]
>>
>> > Sometimes I get "Fatal error (bad version): stdin: is not a tty" between
>>
>> Yes - the first 8 bytes sent from the client should be the
>> protocol version and the checksum seed.  Instead the ascii
>> characters "stdin: is not a tty" is sent instead.
>>
>> The most likely cause is that root's .cshrc (or equivalent) is doing
>> an stty.  You should change it so that it doesn't do an stty on a
>> non-login shell.  For csh/tcsh you could do something like this
>>
>> if ( ! $?USER || "$prompt" == "" || ! $?term ) then
>> # done for non-interactive shell
>> exit
>> endif
>>
>> prior to running login-shell commands like stty.
>>
>> Craig
>>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] error in "--newer" tar's parameter

2006-11-28 Thread Rodrigo Real
Aníbal Pacheco <[EMAIL PROTECTED]> writes:

Hi Anibal

> The value of the parameter "--newer" is a date with a space between date 
> and time, so I think tar commnad is thinking that the string 
> corresponding to the time is a file. The question is if this is a bug or 
> an error of my configuration? Thank you.

I am not sure, but you could try to quote the date, like this:

/usr/bin/sudo /root/bin/tarCreate -v -f - -C /etc --totals 
 --newer="2006-11-23 11:33:18" .

Best wishes,
Rodrigo

>
>
> Running: /usr/bin/sudo /root/bin/tarCreate -v -f - -C /etc --totals 
> --newer=2006-11-23 11:33:18 .
> Xfer PIDs are now 32692,32691
> /bin/tar: Treating date `2006-11-23' as 2006-11-23 00:00:00 + 0 nanoseconds
> /bin/tar: 11\:33\:18: Cannot stat: No such file or directory
> [ saltadas 242 lineas ]
> /bin/tar: Error exit delayed from previous errors
> Tar exited with error 512 () status
> [ saltadas 77 lineas ]
> tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 
> 13 filesTotal, 8216 sizeTotal
>
>
>
> -- 
> Ing. Comp. Aníbal Pacheco Tognola
> Sistema de Información sobre Sustancias Químicas
> Dirección Nacional de Medio Ambiente - DINAMA - MVOTMA
> www.dinama.gub.uy
> Galicia 1133 - Montevideo - Uruguay
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] File-RsyncP-0.66 released on CPAN and SF

2006-11-13 Thread Rodrigo Real

Hi guys

> I just released File-RsyncP-0.66 on CPAN and SF.
> This is a bug fix release.  Here are the changes:
>
>   - Support turning off --perms option, reported by Cameron Dale.
>
>   - Applied patches from Mark Weaver to handle skipping duplicate
> file names.
>
>   - Added FileList/snprintf.c to handle solaris configure failures.


I made a debian package for the new version of File-RsyncP. 

You can download it from:
http://g3pd.ucpel.tche.br/~rreal/download/libfile-rsyncp-perl_0.66_i386.deb

Best wishes,
Rodrigo

Craig Barratt <[EMAIL PROTECTED]> writes:

>
> Enjoy!
> Craig
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Burn Backups to CD

2006-11-08 Thread Rodrigo Real
"Rob Ogle" <[EMAIL PROTECTED]> writes:

Hi Rob


> I've got a client who is not comfortable just having their data on the
> backuppc. They want something they can put in a fireproof safe.
>
> What's the best way to implement that with backuppc?


Look for "Archive functions" on the documentation, I think it does
exactly what you need.

[]s
Rodrigo

>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Upgrade to 3.0.0 beta

2006-11-07 Thread Rodrigo Real
"Mikael Lammentausta" <[EMAIL PROTECTED]>
writes:

Hi Mikael

> I was wondering if someone knows a repository for Ubuntu which has
> the required upgrade to File::Rsync perl module. The latest in
> Dapper/Edgy is 0.52 while the required is 0.64.
>

I had a similar problem with Debian a few months ago and I made a
package for myself, I guess you can try it on Ubuntu
(http://g3pd.ucpel.tche.br/~rreal/download/libfile-rsyncp-perl_0.64-1_i386.deb)

Gook luck!

Rodrigo


> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Disk full

2006-11-05 Thread Rodrigo Real
Sebastian Fohler <[EMAIL PROTECTED]> writes:

Hi Sebastian

>   What can I do if the disk is full, a resize afterwards seems to be
>   very difficult. is there some possiblity to add some other disk to
>   the backup space without resizing the disk or copying the old file
>   to a new disk?

I use LVM in my backuppc data space. With it you can add/remove more
disks any time you need, without problems.

Best regards,
Rodrigo

>
> -- 
> Best regards,
> Far-galaxy Networks
> Sebastian Fohler mailto:[EMAIL PROTECTED]
> Web: www.far-galaxy.de
> Tel: 0173 / 8796211
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] 3.0.0 host config files

2006-11-05 Thread Rodrigo Real
David Relson <[EMAIL PROTECTED]> writes:


> Thanks for the pointer!
>
> Does the following look correct:
>
> find /etc/BackupPC -name "*.pl"
>
>/etc/BackupPC/config.pl
>/etc/BackupPC/pc/nic.pl
>/etc/BackupPC/pc/osage.pl
>
> The obvious next question is:
>
> How does one view and edit the config info for the hosts, i.e. 'nic'
> and 'osage' in my example???

By the other message, I guess that you already got the answer... 

Best wishes,
Rodrigo

>
> Regards,
>
> David
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] 3.0.0 host config files

2006-11-05 Thread Rodrigo Real
David Relson <[EMAIL PROTECTED]> writes:

Hi David

> I've got 3.0.0 installed and running.  Backuppc is reading the
> config.pl file but isn't reading the config files for specific hosts.
>
> As 2.1.2 works fine, so I think the various host.pl files are OK..
>
> What detail am I missing?

In 3.0.0 the per-hosts configuration moved to
/etc/BackupPC/pc/host.pl. You should move your files to this place.

Rodrigo

>
> Thanks.
>
> David
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Back-up to another host

2006-10-28 Thread Rodrigo Real
Carl Wilhelm Soderstrom <[EMAIL PROTECTED]> writes:

> On 10/28 10:23 , Rodrigo Real wrote:
>> Can't you install rsync on 10.0.0.254? That should be the easiest way,
>> rsync can preserve hard links with the -H option, additionally it
>> would transfer only the differences between the two hosts.
>
> on the topic of server replication; the problem with using rsync is that it
> uses a tremendous amount of memory when dealing with millions of files. I
> tried it once; rsync'ing a 100GB pool (with perhaps 5 or 6 million files)
> from one disk to another on a box with 512MB RAM and perhaps 1GB swap. 

I had never tryed that, but I can't think of another way of doing
it. I am sure it is hard to rsync two huge mass of files. Maybe it is
possible to split the rsync process in some parts, but it will still
be hard.

Best wishes,
Rodrigo

>
> the box eventually ran out of memory to the point that I had to power-cycle
> it to regain control. it's the only time in recent memory that I can think
> of a linux box needing to be rebooted for a software problem.
>
> I know of people who do it; but they're doing it on machines with more
> memory and fewer files.
>
> -- 
> Carl Soderstrom
> Systems Administrator
> Real-Time Enterprises
> www.real-time.com
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Back-up to another host

2006-10-28 Thread Rodrigo Real
"Paul Guijt" <[EMAIL PROTECTED]> writes:

Hi Paul

> Dear all,
>  
> I run BackupPC on system 10.0.0.170, and would like to backup to system
> 10.0.0.254. System 10.0.0.254 can't run BackupPC, but can be reached through
> ftp and SMB. 

You want some sort of replication?

I think that the main problem of replicating the BackupPC base is that
you must keep the hard links in the copy/synchronization process. I
think that is not (at least, directly) possible with SMB or ftp, maybe
if do some magic using tar, but still, I know nothing about tar and
hard links.

Can't you install rsync on 10.0.0.254? That should be the easiest way,
rsync can preserve hard links with the -H option, additionally it
would transfer only the differences between the two hosts.

Best wishes,
Rodrigo

>  
> Is that possible? And how? I'm new to BackupPC, so please forgive me if the
> question has been answered earlier. I couldn't find an answer in the
> archive, though.
>  
> Regards,
> Paul Guijt
>  
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] backuppc stopped queueing

2006-10-27 Thread Rodrigo Real
James Ward <[EMAIL PROTECTED]> writes:


> My server is debian running 2.1.2-5 backuppc and today, it stopped
> queueing new backups.  I have restarted backuppc twice and no change?

Do you have enogh free space on disk?

Take a look at $Conf{DfMaxUsagePct} variable in your config.pl.

Backuppc stops doing new backups when the value in this variable is
reached.

Rodrigo

>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc and incremental backup question

2006-09-14 Thread Rodrigo Real
"govind raj" <[EMAIL PROTECTED]> writes:

Hi Govind

> For incremental backups of Windows machines (running XP/NT/2000/2003),
> we find that any files copied into directory that needs to be backed
> up is not getting covered under the incremental backup. However, if
> a new file is added into the same directory, the incremental backup
> takes the backup of this new file. It looks like the smbclient used
> for incremental backup checks for the modification time of the file
> to be backed up. On windows machines, the modification time of the
> file is not changed on a copy from another directory to a new
> directory.

I thinks this is closely related to what is in the plans for BackupPC,
have a look below:

, http://backuppc.sourceforge.net/faq/roadMap.html
| Replacing smbclient with the perl module FileSys::SmbClient. This
| gives much more direct control of the smb transfer, allowing
| incrementals to depend on any attribute change (eg: exist, mtime, file
| size, uid, gid), and better support for include and exclude. Currently
| smbclient incrementals only depend upon mtime, so deleted files or
| renamed files are not detected. FileSys::SmbClient would also allow
| resuming of incomplete full backups in the same manner as rsync will.
`

>
> Is anyone aware of the workaround to this issue in using the backuppc?
>
> Are there any possible registry settings on Windows machine that can be
> changed to make the modification time as the time at which it was copied.

I think it should be easier to use rsync for now.

Cheers,
Rodrigo



>
> Thanks in advance,
> A.govind
>
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] per-pc config.pl

2006-08-28 Thread Rodrigo Real
Jean-Michel Beuken <[EMAIL PROTECTED]> writes:

Hi

>>I had BackupPC 2.1.2 running on a FreeBSD box and then have recently
>>tried to mimic the configuration on a CentOS box with version
>>3.0.0beta1.  My problem is that I can't figure out where to put the
>>per-pc files so that they are read.  After reading various
>>suggestions, I have tried putting them in:
>>/backuppc/data/pc/[host]/config.pl
>>/backuppc/data/[host]/config.pl
>>/etc/BackupPC/[host]
>>/etc/BackupPC/[host].pl
>>/etc/BackupPC/[host]/config.pl
>
> for me
>
> /etc/BackupPC/pc/[host].pl
>
> works

For me too, when you create the files using the web interface, that's
where they are created.

Rodrigo


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] user backuppc has no home directory?

2006-08-21 Thread Rodrigo Real
naroza <[EMAIL PROTECTED]> writes:

Hi


> Should I give backuppc a passwd or will that break something
> else? Should I even care about unrestricted access to the backuppc user?

The backuppc user have access to all data on your backuped machines,
and depending on your configuration, can execute any command on any
machine. So you must be careful with anything related to it. I never
gave a password for this user, I don't think it is necessary, but you
can do it if you want.

Regards,
Rodrigo

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Interupted backups, partial files and Rsync

2006-08-21 Thread Rodrigo Real
David Simpson <[EMAIL PROTECTED]> writes:

Hi David

> Les Mikesell wrote:
>> If your VPN provides any quality-of-service capabilities you
>> might be able to script a change that limits the bandwidth
>> for ssh or to your backuppc destination during work hours.
>> Otherwise we are back to the problem of not being able to
>> restart without losing a partly transferred file.
>>
>>   
> I am using OpenVPN, which can shape / limit a particular connection, but 
> am not sure if it can change the shaping based on time, without stopping 
> and starting OpenVPN, which may well upset Rsync. It still really 
> doesn't get around the root problem of a large partially transferred 
> file not being able to be restarted.

I think you should work on RsyncP to try to solve the root
problem. There seems to be no other way to go ...

Rodrigo

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] user backuppc has no home directory?

2006-08-21 Thread Rodrigo Real
naroza <[EMAIL PROTECTED]> writes:

Hi Naroza

> Here's what I get:
>
> server backuppc # whoami
> root
> server backuppc # pwd
> /var/lib/backuppc
> server backuppc # su - backuppc
> No directory, logging in with HOME=/
> This account is currently not available.
> server backuppc # cat /etc/passwd | grep backuppc
> backuppc:x:101:407:added by portage for backuppc:/dev/null:/usr/sbin/nologin
>
> Should I just go in and manually edit server:/etc/passwd so that I can at 
> least
> su to backuppc? Should it be like this?:
>
> backuppc:x:101:407:added by portage for backuppc: \ 
> /var/lib/backuppc:/usr/bin/sh

Yes, but your home path has some strange spaces, it should be
something like this:

backuppc:x:101:407:added by portage for backuppc:/var/lib/backuppc:/usr/bin/sh

sh usually is in /bin, but I am not sure about Gentoo. If you still
have trouble on this, check your sh path.

Regards,
Rodrigo


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Interupted backups, partial files and Rsync

2006-08-21 Thread Rodrigo Real
David Simpson <[EMAIL PROTECTED]> writes:

Hi David


> I have increased the time out, and this file has now transfered over the 
> weekend. However I don't want a really large timeout permanently, as I 
> don't really want the backup running during working hours, as it tends 
> to slow down the ADSL link, and the users complain. Having it time out 
> and restart would solve this.  Also, have a huge timeout could cause the 
> backup to lock up for a long time, and prevent other backups from 
> running until it eventually times out.
>> the inefficiencies of not being able to resume are another matter; but this
>> at least might get you backed up. :)

You could also use the rsync 'bwlimit' option to a value that make
your users happy.

Regards,
Rodrigo

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Interupted backups, partial files and Rsync

2006-08-17 Thread Rodrigo Real
David Simpson <[EMAIL PROTECTED]> writes:

Hi David
   
> $Conf{ClientTimeout} = 3600*6;  # 6 Hours!!

I have a similar case here and had the same problems when I was
setting everything up. My ClientTimeout is in 8 hours, and I am not
having problems for almost a year.

I know that this is not a good solution for the problem, but if it
works we can use it until we have a better one.

> ...

> If File::RsyncP could keep the partial transfer in its partial-dir 
> directory, even if BackupPC didn't want to know about the partially 
> transferred file, at least next attempt File::RsyncP could pick up from 
> where it left off.

It seems to be a good idea to me, but I never looked to File::RsyncP
code and have no idea of how hard it would be.

Rodrigo

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] user backuppc has no home directory?

2006-08-16 Thread Rodrigo Real

Rejo Zenger <[EMAIL PROTECTED]> writes:

Hi

> ++ 16/08/06 16:22 -0400 - naroza:
>>[EMAIL PROTECTED] When I installed Backuppc, a the user backuppc was 
>>created but lacks a home directory and so one cannot login to the 
>>account. How do I go about generating key pairs when I cannot login; 
>
> By default it is "/var/lib/backuppc". 

You probably don't have a shell or password to backuppc user. Try to
login as root and give a "su - backuppc". If you turn to backuppc
user, you have shell and home.

It is better to not have a password for backuppc, since nobody should
login as backuppc, if you need you just su to it from root.

Try this:
cat /etc/passwd | grep backuppc

to check those things.

Rodrigo


>
> -- 
> Rejo Zenger <[EMAIL PROTECTED]> https://rejo.zenger.nl
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
> BackupPC-users mailing list
> 
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Full vs the partial back up

2006-08-16 Thread Rodrigo Real


"McAuley, Frank" <[EMAIL PROTECTED]> writes:

Hi

> Hello,
>
>   My company has started to use backup PC with our new POS. After
>   reading the documentation I have a few question. We have 173
>   computer to back up. There is one file that is 10GB and will
>   change with every computer. We are setting up to run 4 backups at
>   the same time between 2am and 6am. I understand that Backup PC
>   will pool and compress the files and crate hard links to the files
>   that are the same. If I were to create a back up of a store and
>   then did partial backups every day to get only the files that
>   change per store in the Database file and then had to run a
>   restore would I only have to run the one full back up and then the
>   latest partial back up?

I am not sure if I understood your question, but possibly the answer
is 'yes'. This is what I understood: you want to do full backups,
let's say weekly, and _incremental_ (not partial, which is another
thing in backuppc) backups daily. If you need to restore, you will do
it using the last incremental, you don't even have to look to your
last full.

>
> Also, with the archive function back up pc see a USB external hard disk drive 
> and then write to that device?

Yes, I think you can use anything you can mount.

Best regards,
Rodrigo

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Interupted backups, partial files and Rsync

2006-08-16 Thread Rodrigo Real
David Simpson <[EMAIL PROTECTED]> writes:

Hi David

> Hello all,
>
> I am having a problem using BackupPC over a slowish VPN link with large 
> files. If BackupPC is aborted (mainly due to signal=ALRM) when 
> transferring a large file, BackupPC appears to delete the partially 
> transfered file, preventing Rsync from restarting where it dropped off.
>
> I have set the --partial in $Conf{RsyncArgs}, but when the backup is 
> aborted, the partially transfered file is deleted.
>
> The problem is that each time the same file times out, and as the 
> partially transfered file is deleted, next backup the same thing 
> happens, and the backup never completes.

Did you tryed to increase $Conf{ClientTimeout} variable?

Rodrigo

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problem backing up a machine in the DMZ

2006-08-16 Thread Rodrigo Real
Nicolai Nordahl Rasmussen <[EMAIL PROTECTED]> writes:

Hi Nicolai


> Hmm..very strange.
>
> I just tested it again by logging on to the backup server, su to backuppc and 
> did
> ping -c 1 merkur
>
> No reply...It's like it just hangs there...the request never actually got to 
> the firewall (at least that's what my logs tell me).
>
> I hit ping -c 1 merkur again, and all was well..very very very
> odd :(

Take a look at /etc/host.conf, you should have "order hosts,bind" in
it, to resolve names preferably in /etc/hosts.

You could try to use -W in ping to set a higher timeout, but I don't
think the problem is there, maybe in can find a way to make it work,
but I am quite sure there is something wrong.

For your tests, you could try something like this:

while [ 1 ]; do 
ping -c 1 -W 2 merkur || echo Ping Problem
sleep 1s
done

Gook luck,
Rodrigo

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] (pas de sujet)

2006-08-06 Thread Rodrigo Real
Vincent <[EMAIL PROTECTED]> writes:

> Rodrigo Real a écrit :
>> Vincent <[EMAIL PROTECTED]> writes:
>>
>>
>>> Backuppc run now but i have a problem with the cgi interface.
>>> The following error : You don't have permission to access
>>> /backuppc/cgi-bin/ on this server.
>>>
>>> It seems an apache problem but i can't solve it.
>>>
>>
>> This message comes before or after you authenticate?
>>
>> Rodrigo
>>
>>
>>
> After.
> My authenticate works fine.

Take a look at your apache log file to see if it gives you any clue.

Rodrigo

>
> Thanks

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] (pas de sujet)

2006-08-06 Thread Rodrigo Real
Vincent <[EMAIL PROTECTED]> writes:

   
> Backuppc run now but i have a problem with the cgi interface.
> The following error : You don't have permission to access 
> /backuppc/cgi-bin/ on this server.
>
> It seems an apache problem but i can't solve it.

This message comes before or after you authenticate?

Rodrigo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] (pas de sujet)

2006-08-05 Thread Rodrigo Real

Vincent <[EMAIL PROTECTED]> writes:

Hi

>> Is this a new installation or upgrade?
>>
>>   
> This is un upgrade.
>> Where is BackupPC installed?  Confirm that /etc/init.d/backuppc
>> has the correct paths and user.  On a new installation the config
>> file will be in /etc/BackupPC/config.pl.  Make sure that file exists
>> and has the right permissions.
>>
>>   
> ls -l /etc/init.d/
>
> -rwxr-xr-x 1 root root 1240 2006-08-03 07:55 backuppc
>
> ls -l /etc/backuppc/
>
> -rw-r--r-- 1 root root 77954 2006-08-05 09:35 config.pl

I think you should rename your /etc/backuppc directory, something like this:
mv /etc/backuppc /etc/BackupPC

Hope it helps,
Rodrigo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] [BackupPC-devel] BackupPC 3.0.0beta1 released

2006-08-02 Thread Rodrigo Real
"Craig Barratt" <[EMAIL PROTECTED]> writes:

Hi

I made a debian package for File::RsyncP version 0.64. You can
download it here if you would like:

<http://g3pd.ucpel.tche.br/~rreal/download/libfile-rsyncp-perl_0.64-1_i386.deb>

I used this package in a Debian testing system, don't know if it will
work in anything else...

Rodrigo


> I have released BackupPC 3.0.0beta1 on SF at:
>
> http://backuppc.sourceforge.net/
>
> A new version 0.64 of File::RsyncP that is needed for rsync
> hardlink support has also been released on SF and CPAN.
>
> I've attached the ChangeLog with the changes since 3.0.0beta0.
>
> 3.0.0beta1 has some substantial new features compared to 2.1.2.
> New features include:
>
> * Added configuration and host CGI editor.
>
> * Added rsync hardlink support.  Requires latest version of
>   File::RsyncP (0.64).
>
> * Decoupled BackupPC_dump from BackupPC_nightly by making
>   asynchronous file linking/delete robust to race conditions.
>   Now only BackupPC_nightly and BackupPC_link are mutually
>   exclusive so only one runs at a time, and BackupPC_dump and
>   BackupPC_restore can run anytime.
>
> * Added support for multi-level incrementals.  In the style of dump(1),
>   the level of each incremental can be specified.  Each incremental
>   backups up everything since the most recent backup of a lower level
>   (fulls are always level 0).  Previous behavior was all incrementals
>   were level 1, meaning they backed up everything since the last full
>   (level 0).  Default configuration is all incrementals are level 1.
>
> * Server file names are now in utf8 and optional conversion
>   to/from client name charsets can be configured.  All CGI pages
>   now use the utf8 charset.
>
> * Added RSS support from Rich Duzenbury.
>
> * Added optional checking of exit status of Dump/Restore/Archive Pre/Post
>   UserCmd.
>
> * For new installations configure.pl places all the configuration
>   files below /etc/BackupPC, bringing it more in line with the
>   File System Hierarchy Standard (FHS).
>
> Depending upon the reported bugs and issues there could be
> additional patches and beta releases prior to the offical
> 3.0.0 release.
>
> Enjoy!
> Craig
>
> #
> # Version 3.0.0beta1, 30 Jul 2006
> #
>
> * Fixed several Xfer charset conversions.
>
> * Added some CGI utf8 conversions from Rodrigo Real and Vincent
>   Fleuranceau.
>
> * Host name is forced to lower case, to match 2.x.
>
> * Fixed LOG file naming in BackupPC_restore and BackupPC_archive.
>
> * GFK applied fr.pm corrections from Nicolas Stransky.
>
> * Updated init.d/src scripts for FHS (ie: replaced __TOPDIR__/log
>   with __LOGDIR__ and __TOPDIR__/conf with __CONFDIR__).  Patch
>   provided by Rodrigo Real.
>
> * Added --log-dir and --conf-dir options to configure.pl.
>   Reported by Vincent Fleuranceau.
>
> * Updated File::RsyncP version check in configure.pl, reported
>   by Vincent Fleuranceau.  Changed File::RsyncP version to 0.64.
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> BackupPC-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/backuppc-devel
> http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems with File-RsyncP-0.62

2006-07-29 Thread Rodrigo Real
"ken" <[EMAIL PROTECTED]> writes:

Hi

> Anyone having problems with File-RsyncP-0.62?  It won't install with cpan.
> Linux: 2.6.17-1.2142_FC4
> Perl: perl-5.8.6-24

I think you will need perl-5.8.8 to install File-RsyncP-0.62, but you
can try to compile File-RsyncP first.

>
> Error:
> exclude.c:29: error: static declaration of verbose follows non-static
> declaration
> rsync.h:811: error: previous declaration of verbose was here
> exclude.c: In function get_exclude_tok:
> exclude.c:262: warning: pointer targets in passing argument 1 of strlen
> differ in signedness
> make[1]: *** [exclude.o] Error 1
> make[1]: Leaving directory `/root/.cpan/build/File-RsyncP-0.62/FileList'
> make: *** [subdirs] Error 2
>   /usr/bin/make  -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible
> Failed during this command:
>   CBARRATT/File-RsyncP-0.62.tar.gz : make NO

The compilation problem (first you had) can be solved commenting 
line 811 in File-RsyncP-0.62/FileList/rsync.h (extern int verbose;
). Just comment or remove that line and try make again.

Cheers,
Rodrigo


>
> Thanks in advance.
> Ken
>
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc Questions from a new user

2006-07-27 Thread Rodrigo Real
Chris Curtis <[EMAIL PROTECTED]> writes:

Hi Chris

> Hello All.  I have two questions I can't find solutions for:
>
> First, I can find where backuppc stores it's backup data from host
> clients, but where in the application can I specify a different
> location to store backups.   I am using hard drives in removable
> storage trays.  I want to be able to switch the backup trays once a
> week and keep the data offsite.   I looked in the config.pl file and
> can't find a variable to change.  I'm sure it's probably been asked
> before I just find the answer.

I don't know exactly what is the best way to do it, but you can try to
define the value of the $TopDir variable to the directory you want, I
think you should put this in the begining of your general config.pl.

I don't know if it will work, but you can try...

Rodrigo



>
> Second.  I am just testing right now on Windows PC's.  My test PC I
> only want to backup c:\Documents and Settings,  so I created a file
> with the netbios name of the PC (scannerpc) in /etc/backuppc and put
> in the  $Conf{BackupFilesOnly} = '/Documents and Settings';
> directive.  When I "force" a backup using the admin program it does a
> full backup.  How can I do a quick test to determine that it is in
> fact only backing up c:\Documents and Settings.
>
> Thanks to al who reply!
>
>
>
>
> Chris Curtis
> Sandpoint Computers
> Office 208-265-1608
> Cell 208-610-3062
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] hosts configuration

2006-06-24 Thread Rodrigo Real
Rodrigo Real <[EMAIL PROTECTED]> writes:


> Your per-host config files should be in
> /var/lib/backuppc/pc/hostname/config.pl.
>
> Your /etc/backuppc/colegio file should be moved to
> /var/lib/backuppc/colegio/config.pl, for example.

Sorry, in fact it should be moved to: 
/var/lib/backuppc/pc/colegio/config.pl



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] hosts configuration

2006-06-24 Thread Rodrigo Real
don Paolo Benvenuto <[EMAIL PROTECTED]> writes:

Hi

Your per-host config files should be in
/var/lib/backuppc/pc/hostname/config.pl.

Your /etc/backuppc/colegio file should be moved to
/var/lib/backuppc/colegio/config.pl, for example.

Gook luck!

Rodrigo

> I followed the instructions in http://www.debianhelp.co.uk/backuppc.htm
> to configure backuppc, and I put in /etc/backuppc a separate file with
> the specific settings for each host:
>
> $ ls -l /etc/backuppc
> -rw-r--r-- 1 root root  1473 2006-06-22 16:37 basica
> <- ubuntu host
> -rw-r--r-- 1 root root  1473 2006-06-22 16:37 colegio
> <- ubuntu host
> -rw-r--r-- 1 root root 64459 2006-06-22 22:18 config.pl
> -rw-r--r-- 1 root root  1517 2006-06-22 22:47 dir-basica
> <- ubuntu host
> -rw-r--r-- 1 root root  2465 2006-06-24 08:19 hosts
> -rw-r--r-- 1 root root 0 2006-06-22 16:39 htgroup
> -rw-r--r-- 1 root root23 2006-06-22 16:39 htpasswd
> -rw-r--r-- 1 root root   240 2006-06-22 16:37 localhost.pl
> -rw-r--r-- 1 root root  1473 2006-06-22 16:37 lorenzo
> <- ubuntu host
> -rw-r--r-- 1 root root  1497 2006-06-23 08:10 misiongenovesa
> <- debian host
> -rw-r--r-- 1 root root  1473 2006-06-22 16:37 parroquia
> <- ubuntu host
> -rw-r--r-- 1 root root  1473 2006-06-23 08:20 server-basica
> <- ubuntu host
> -rw-r--r-- 1 root root  1473 2006-06-22 16:37 suore
> <- ubuntu host
>
> the various per host  configuration are very similar, for example:
>
> [EMAIL PROTECTED]:/etc/backuppc$ cat basica
> $Conf{FullPeriod} = 6.97;
> $Conf{IncrPeriod} = 0.97;
> $Conf{FullKeepCnt} = 2;
> $Conf{IncrKeepCnt} = 6;
> $Conf{XferMethod} = 'rsync';
> $Conf{RsyncShareName} = '/';
> $Conf{BackupFilesOnly} = undef;
> $Conf{BackupFilesExclude} = ['/proc', '/dev', '/cdrom', '/media',
> '/mnt', '/lost+found'];
> $Conf{XferLogLevel} = 1;
> $Conf{RsyncClientCmd} = '$sshPath -C -x -l root -o
> PreferredAuthentications=publickey $host $rsyncPath $argList+';
> $Conf{RsyncClientRestoreCmd} = '$sshPath -C -q -x -l root $host
> $rsyncPath $argList+';
> $Conf{CompressLevel} = 3;
>
> However, I can see that backuppc doesn't read these per-host files, for
> example because it doesn't obey the $Conf{BackupFilesExclude} nor the
> $Conf{CompressLevel}.
>
> What is the trick? What should I do? thank you!
>
>
> $ cat hosts
> hostdhcpusermoreUsers # <--- do not edit this line
> #farside0   craig   jill,jeff # <--- example static IP host
> entry
> #larson 1   bill  # <--- example DHCP host entry
> misiongenovesa   0   backuppc
> lorenzo   0   backuppc
> suore   0   backuppc
> parroquia   0   backuppc
> basica   0   backuppc
> colegio   0   backuppc
> dir-basica  0   backuppc
> server-basica 0   backuppc
>
> -- 
> Buon Cammino!
>
> don Paolo Benvenuto
>
> Vuoi sapere di più su quello che succede qui?
> leggi il mio diario a http://www.chiesamissionaria.it/diario
>
> Visita l'enciclopedia libera, dove puoi contribuire anche tu:
> http://it.wikipedia.org/
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Removing backups when disk is full

2006-04-11 Thread Rodrigo Real
Les Mikesell <[EMAIL PROTECTED]> writes:

> On Tue, 2006-04-11 at 09:09, Rodrigo Real wrote:
>
>> >> I didn't find any tools to manually remove backups, and I still think
>> >> we should have one.
>> >
>> > The brute force approach is to go to the pc/hostname directory
>> > and rm -rf some of the numbered backup directories, but you
>> > still don't recover the space until BackupPC_Nightly runs
>> > and removes the pooled links, and the web page backup list
>> > will probably be wrong for a while too.
>> 
>> I tried this approach, but I never got the free space back, I was
>> hopping that the nightly routine would remove the files, but it didn't
>> work, maybe because I did not detect exactly what I should delete.
>
> The way hardlinks work is that the space for the data is not
> released until the last link is removed, and all of the
> files have a link under the cpool directory.  The manual
> approach to that is to cd into the cpool directory and
> find . -type f -links 1 |xargs rm
> That is, remove the files in the pool that no longer have any
> links from pc backup directories, but you can do some
> damage if you get this wrong.  

I figured out something similar to your suggestion, but I was a too
afraid to do it :)

thanks for the idea, 
Rodrigo

>
> -- 
>   Les Mikesell
>[EMAIL PROTECTED]


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Removing backups when disk is full

2006-04-11 Thread Rodrigo Real
Les Mikesell <[EMAIL PROTECTED]> writes:

> On Tue, 2006-04-11 at 07:17, Rodrigo Real wrote:
>
>> >
>> > I guess that we could have something like:
>> >
>> > Backuppc_remove  
>> 
>> I didn't find any tools to manually remove backups, and I still think
>> we should have one.
>
> The brute force approach is to go to the pc/hostname directory
> and rm -rf some of the numbered backup directories, but you
> still don't recover the space until BackupPC_Nightly runs
> and removes the pooled links, and the web page backup list
> will probably be wrong for a while too.

I tried this approach, but I never got the free space back, I was
hopping that the nightly routine would remove the files, but it didn't
work, maybe because I did not detect exactly what I should delete.

Rodrigo

>
> -- 
>   Les Mikesell
>[EMAIL PROTECTED]


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Removing backups when disk is full

2006-04-11 Thread Rodrigo Real
Rodrigo Real <[EMAIL PROTECTED]> writes:

Hi guys

I will answer to myself...

> Hi guys
>
> I am having a problem with a backuppc server which is without free
> space on the disk. My backuppc was running fine, until the space on
> disk was enough, before that, everything was going fine, backuppc
> remove old backups and add new ones. I tried many ways to make
> backuppc remove these old backups, but it simple doesn't do it, and I
> can not find an easy way to remove it manually.

My problem was solved when I changed $Conf{DfMaxUsagePct} to 99.5. It
seems that with the old value, which was 95, backuppc was not even
starting to remove the backups. When I changed to a higher value,
which permited more disk occupation, backuppc started to remove the
old backups.

>
> I guess that we could have something like:
>
> Backuppc_remove  

I didn't find any tools to manually remove backups, and I still think
we should have one.

Rodrigo


>
> I always though that this kind of application wouldn't be necessary on
> backuppc, because I would never need to remove anything manually. But
> now it seems that backuppc just don't want to remove my old backups.
>
> I am sending my current config.pl as an attachment, I modified
> somethings on it, and disabled the automatic backups.
>
> Thanks for any help,
> Rodrigo
>
> #= -*-perl-*-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] received signal=ALRM

2006-04-02 Thread Rodrigo Real
Manfred <[EMAIL PROTECTED]> writes:

Hi Manfred

> Hi,
> i am sorry about my bad english but i trie my best.
>
> I have to backup one server with about 50 GB Data.
> After some howers i get allweys  this
>  received signal=ALRM
>
> and the backup is nor ready.

I had this kind of problem in many servers. It seems that rsync takes
too long for giving any feedback when it is copying big files. I
usually solve this problem by dividing the backup in many shares,
something like this:

$Conf{RsyncShareName} = ['/bin', 
 '/boot',
 '/etc',
 '/lib',
 '/root',
 '/sbin',
 '/usr',
];

Additionally, you can raise the $Conf{ClientTimeout} value.

Hope this helps.

Good luck,
Rodrigo

>
> By other servers with not so many datas is everithing working fine.
>
> Pleas, how can istop this Problem.
>
> Thanks a lott
> your
> Manfred


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc Error: Unable to read 4 bytes

2006-02-27 Thread Rodrigo Real
Craig Barratt <[EMAIL PROTECTED]> writes:

Hi Craig

>> Had anyone experienced a problem like this?
>
> What happens when you connect in exactly the same way as the
> backuppc user:
>
> su backuppc
> ssh -p 222 -q -x -l root HOST whoami
>
> Do you get prompted for a password?  Do you see any extraneous
> output other than "root"?

No, it works fine, no password asked, and I get root access.

~$ ssh -p 222 -q -x -l root server whoami
root
~$ 

I didn't told you the full story, there was another strange thing
happening with this. The host that I am trying to backup is, in fact,
the localhost.  I tried to configure it as localhost, to backup all
the hard disk, excluding the backup partition of course, but backuppc
only backed up /etc.

Then I configured backuppc to backup localhost, but using his host
name, I thought that backuppc would behave like it was an ordinary
host. What happened is that I am experiencing this problem with the
ssh server port. I know it is stupid to do it through ssh, but I don't
know any other way to do it.

Another question, is it possible to use the hostname as "localhost"
and still backup all the hard disk?

Thanks a lot,
Rodrigo

>
> Craig
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Backuppc Error: Unable to read 4 bytes

2006-02-25 Thread Rodrigo Real

Hi guys

I am having a problem with a host that must be backed-up with
backuppc. This host runs an ssh server on the port 222, so I changed
the variable $Conf{RsyncClientCmd} to meet this requirement, but when
I try to run the backup on this host, I receive the error: "Unable to
read 4 bytes". Below is the configuration I am using for this
variable, in this host specific config.pl.

$Conf{RsyncClientCmd} = '$sshPath -p 222 -q -x -l root $host $rsyncPath 
$argList+';

The other hosts which I backup on this server are working just
fine. Additionally, I can manually connect through ssh to this
problematic host. So I think that there is nothing wrong with ssh or
ssh-key.

Had anyone experienced a problem like this?

Cheers,
Rodrigo


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Wake-on-lan

2006-01-18 Thread Rodrigo Real
[EMAIL PROTECTED] writes:


Hi Chris

> I am trying to get wake-on-lan working for my installation.
>
> I tried '$Conf{DumpPreUserCmd} = "/usr/share/wol.sh $host";' and this didn't
> work for me. Has anyone else had success with this?
>
> I have gotten as far as implementing the Net::Wake perl module from within
> BackupPC_dump perl script.
>
> This correctly wakes the PC but I still get a 'Host not found' error
> message. I assume this is because whilst the PC has woken it has not
> connected to the network in time for BackupPC to find it.
>
> In short am I approaching this the right way? If I am how do I introduce a
> delay between the wake command being issued and BackupPc continuing?

I am not very familiar with wake on lan, but you could insert a sleep
in you DumpPreUserCmd.

An easy way to do it is to insert a sleep in the end of wol.sh, if you
don't want to change anything in this script, just do another one
which calls wol.sh for you and insert the sleep in the end.

The one bellow should be enough, save it and put it in DumpPreUserCmd.

---
#!/bin/bash

wol.sh $1

sleep 1m

---

Rodrigo


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/