Re: [BackupPC-users] File::RsyncP module doesn't exist
Thanks now it works. apt-get install did the trick. Krsnendu dasa Ambrose Li wrote: You could first try to see if ubuntu has a package for the module. Doing an apt-cache search rsyncp might find something; on my Debian (not Ubuntu) I find that it's the "libfile-rsyncp-perl" module. If, however, there's no such package in ubuntu, you could always do a perl -MCPAN -e 'install File::RsyncP' in a pinch. On 11/04/06, Krsnendu Dasa <[EMAIL PROTECTED]> wrote: I have installed BackupPC using apt-get install backuppc on Ubuntu 5.10 I have set up the host and have BackupPC running as a service as backuppc When I try to backup my windows computer with rsync installed I get the following message. File::RsyncP module doesn't exist Where to now? --- 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] rsync with VSS-support
How do I use this? Do I just download the msi file and run it and then everything just works, or do I still have to download Cygwin etc.? How can I test if it is working? i.e. backuping up outlook files that are in use etc. Elias Penttilä wrote: Hi, this is something I did a couple of days ago for our company's use, I thought it would maybe help someone else too. Basically this enables rsync to send files which are locked, e.g. in-use Outlook .pst-files, the Windows registry and pretty much everything else except EFS-encrypted files. Everything can be found here: http://iki.fi/~eliasp/rsync-vss The most useful thing is probably the rsync.msi-file which will install rsync under C:\Program Files\rsync. A zip-file is also provided which includes everything in the installer plus the installer as a WiX-source file. NOTE that this only works on Windows XP currently, I tried it on Server 2003, but for some reason it didn't work. There is a patch file which can be applied to the rsync 2.6.6 source found in cygwin. It's pretty simple stuff actually. Note that it needs a C++-compiler as I didn't have time to fiddle with the C-style COM. There were some other issues too, like the linker not finding CreateVssBackupComponents directly and fstat not working for files opened with CreateFile. You have to install Microsoft's VSS SDK and copy the include files and libraries to rsync-2.6.6/vss/inc and rsync-2.6.6/vss/lib respectively. --- 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/ --- 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] aborted by signal=PIPE
Hello, I started an incremental backup which stopped very quickly. The log file says "2006-04-12 15:58:01 Backup failed on mymachine (aborted by signal=PIPE)". What does it mean ? I alreary done several incremental backup before without problem. Thank You. --- 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] Single Host Blackout/Wake Up
Tomasz Chmielewski writes: > Les Stott wrote: > > Hi, > > > > I have a client with 50 or so pcs, all doing rsync backups throughout > > the day to a backuppc server. Works Great. > > > > We also have a linux box running a Cyrus Imap Store and we were running > > rsync backups too, just getting the cyrus directories. This was working > > great until a month or so ago when the rsync's started failed with > > "Child Exited Prematurely". > > (...) > > > 2. Alternatively is there a way to schedule a backup of this host via > > cron? and just disable regular backups? > > Put it into config.pl for the host: > > $Conf{FullPeriod} = -1; > > And then you can start cronjobs with: > > su -l backuppc -c "/srv/backuppc/bin/BackupPC_dump -v -f old-backups" > &>/dev/null You shouldn't use this form to start backups, except for debugging. That's because BackupPC itself isn't aware that BackupPC_dump is running unless it starts it itself. It could be running BackupPC_nightly. Also, the linking step doesn't happen if you run BackupPC_dump nightly. You should use cron to run BackupPC_serverMesg to start the backup. See the list archive for the syntax. 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/
Re: [BackupPC-users] Is it possible to backup directly via imap?
On Wed, 2006-04-12 at 09:03, Les Stott wrote: > Would it be possible to use backuppc to suck mail directly out of imap, > say for instance with the perl module IMAP::Client? (granted you would > need to know usernames and passwords to login to the imap store) > > I know that in most cases this can be done at a filesystem level (e.g. > Maildirs - cyrus imap) with rsync direct, but what if you use something > like Scalix which uses a "database like" indexed structure, with 1 giant > data directory, and no easy way to discern which files belong to which user. > If you could pull data out via imap then you have a "true" "bricks level > recovery" strategy. > > Is it possible? has anyone done it? You'd have to make it look like a tar file before it gets to backuppc. There are some utilities around that can copy mailboxes via imap as long as the server has an administrator account that can access everything. You might run that first to duplicate the mailboxes to a server that has maildir style folders like currier or dovecot, then let backuppc copy those folders. Or use that code as a starting point for a new backuppc method. -- 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] Single Host Blackout/Wake Up
Les Stott wrote: Hi, I have a client with 50 or so pcs, all doing rsync backups throughout the day to a backuppc server. Works Great. We also have a linux box running a Cyrus Imap Store and we were running rsync backups too, just getting the cyrus directories. This was working great until a month or so ago when the rsync's started failed with "Child Exited Prematurely". (...) 2. Alternatively is there a way to schedule a backup of this host via cron? and just disable regular backups? Put it into config.pl for the host: $Conf{FullPeriod} = -1; And then you can start cronjobs with: su -l backuppc -c "/srv/backuppc/bin/BackupPC_dump -v -f old-backups" &>/dev/null -- Tomasz Chmielewski Software deployment with Samba http://wpkg.org --- 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] Single Host Blackout/Wake Up
Tony Molloy wrote: On Wednesday 12 April 2006 15:19, Les Stott wrote: Hi, I have a client with 50 or so pcs, all doing rsync backups throughout the day to a backuppc server. Works Great. We also have a linux box running a Cyrus Imap Store and we were running rsync backups too, just getting the cyrus directories. This was working great until a month or so ago when the rsync's started failed with "Child Exited Prematurely". My guess was that because the mail store had grown over time to 16gb, which would have comprised many thousands of files, that the list of files were too big and timing out. I know i could make multiple rsync shares and have the number of files per rsync reduced, but because its cyrus imap its difficult to split the store up, unless you do it for every user directory (a-z). I am going to change strategy and backup the imap store locally to tar and then use backuppc to sync the tar files. Each of the compressed tar's is about 10gb. So each day at least 10gb will be pumped across the network which will be gigabit. However i want to ensure that this only happens at night and doesn't interfere with the day to day operations. So whats the best way to ensure this happens? I guess i cant set a per host wake up schedule because thats global right? I still want to have all pc's backup during the day normally. 1. Blackout Periods? Lets say I only want to backup between 1am and 6am. I can set a blackout period fine, but how do i manage... $Conf{BlackoutBadPingLimit} $Conf{BlackoutGoodCnt} ...on a single host basis? Do i just set $Conf{BlackoutGoodCnt} = 0; in the per pc config file? 2. Alternatively is there a way to schedule a backup of this host via cron? and just disable regular backups? TIA, Regards, Les Les, This will only allow backups for a particular Server take place between Midnight and 8am. It goes in the pc/servername directory. # Don't do backups between 8am and Midnight # Servers should be backed up overnight $Conf{BlackoutGoodCnt} = 0; $Conf{BlackoutBadPingLimit} = 3; $Conf{BlackoutPeriods} = [ { hourBegin => 8.0, hourEnd => 24.0, weekDays => [0, 1, 2, 3, 4, 5, 6], }, ]; Regards, Tony Thanks Tony. Les
Re: [BackupPC-users] Single Host Blackout/Wake Up
On Wednesday 12 April 2006 15:19, Les Stott wrote: > Hi, > > I have a client with 50 or so pcs, all doing rsync backups throughout > the day to a backuppc server. Works Great. > > We also have a linux box running a Cyrus Imap Store and we were running > rsync backups too, just getting the cyrus directories. This was working > great until a month or so ago when the rsync's started failed with > "Child Exited Prematurely". > > My guess was that because the mail store had grown over time to 16gb, > which would have comprised many thousands of files, that the list of > files were too big and timing out. > > I know i could make multiple rsync shares and have the number of files > per rsync reduced, but because its cyrus imap its difficult to split > the store up, unless you do it for every user directory (a-z). > > I am going to change strategy and backup the imap store locally to tar > and then use backuppc to sync the tar files. Each of the compressed > tar's is about 10gb. So each day at least 10gb will be pumped across > the network which will be gigabit. > > However i want to ensure that this only happens at night and doesn't > interfere with the day to day operations. > > So whats the best way to ensure this happens? > > I guess i cant set a per host wake up schedule because thats global > right? I still want to have all pc's backup during the day normally. > > 1. Blackout Periods? Lets say I only want to backup between 1am and > 6am. I can set a blackout period fine, but how do i manage... > $Conf{BlackoutBadPingLimit} > $Conf{BlackoutGoodCnt} > ...on a single host basis? > Do i just set $Conf{BlackoutGoodCnt} = 0; in the per pc config file? > > 2. Alternatively is there a way to schedule a backup of this host via > cron? and just disable regular backups? > > TIA, > > Regards, > > Les Les, This will only allow backups for a particular Server take place between Midnight and 8am. It goes in the pc/servername directory. # Don't do backups between 8am and Midnight # Servers should be backed up overnight $Conf{BlackoutGoodCnt} = 0; $Conf{BlackoutBadPingLimit} = 3; $Conf{BlackoutPeriods} = [ { hourBegin => 8.0, hourEnd => 24.0, weekDays => [0, 1, 2, 3, 4, 5, 6], }, ]; Regards, Tony > > > --- > 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=12164 >2 ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/backuppc-users > http://backuppc.sourceforge.net/ -- Tony Molloy. Dept. of Comp. Sci. University of Limerick --- 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] Single Host Blackout/Wake Up
Hi, I have a client with 50 or so pcs, all doing rsync backups throughout the day to a backuppc server. Works Great. We also have a linux box running a Cyrus Imap Store and we were running rsync backups too, just getting the cyrus directories. This was working great until a month or so ago when the rsync's started failed with "Child Exited Prematurely". My guess was that because the mail store had grown over time to 16gb, which would have comprised many thousands of files, that the list of files were too big and timing out. I know i could make multiple rsync shares and have the number of files per rsync reduced, but because its cyrus imap its difficult to split the store up, unless you do it for every user directory (a-z). I am going to change strategy and backup the imap store locally to tar and then use backuppc to sync the tar files. Each of the compressed tar's is about 10gb. So each day at least 10gb will be pumped across the network which will be gigabit. However i want to ensure that this only happens at night and doesn't interfere with the day to day operations. So whats the best way to ensure this happens? I guess i cant set a per host wake up schedule because thats global right? I still want to have all pc's backup during the day normally. 1. Blackout Periods? Lets say I only want to backup between 1am and 6am. I can set a blackout period fine, but how do i manage... $Conf{BlackoutBadPingLimit} $Conf{BlackoutGoodCnt} ...on a single host basis? Do i just set $Conf{BlackoutGoodCnt} = 0; in the per pc config file? 2. Alternatively is there a way to schedule a backup of this host via cron? and just disable regular backups? TIA, Regards, Les --- 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] Is it possible to backup directly via imap?
Hi, a question Would it be possible to use backuppc to suck mail directly out of imap, say for instance with the perl module IMAP::Client? (granted you would need to know usernames and passwords to login to the imap store) I know that in most cases this can be done at a filesystem level (e.g. Maildirs - cyrus imap) with rsync direct, but what if you use something like Scalix which uses a "database like" indexed structure, with 1 giant data directory, and no easy way to discern which files belong to which user. If you could pull data out via imap then you have a "true" "bricks level recovery" strategy. Is it possible? has anyone done it? TIA, Regards, Les --- 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/