Re: [BackupPC-users] MOTD breaking rsync...

2010-09-14 Thread Allen
On 10-09-14 09:18 PM, Jon Craig wrote:

 You seem to be acting a twit, but I guess even twits deserve a little 
 help.  If you want the benefits of rsync then you must live with its 
 limitations.  I mean your living with SCO (SCO really, are you 
 serious??!).  If you can't manage to get SCO to behave then simply 
 configure rsync in daemon mode and be done with it.  Once you start 
 using rsync in your daily life you find it to be an indispensable tool.

 On Sep 14, 2010 3:22 AM, Tyler J. Wagner ty...@tolaris.com 
 mailto:ty...@tolaris.com wrote:
  On Monday 13 Sep 2010 21:51:24 RC wrote:
  So, have we established that this list is useless, or what? Do 
 non-trivial
  issues need to go to -dev instead, where someone capable might see 
 them?
 
  Whatever this list is good for, I certainly don't feel compelled to 
 assist you
  now.
 
  Regards,
  Tyler
 
  --
  If we don't believe in free expression for people we despise, we don't
  believe in it at all.
  -- Noam Chomsky
 

Try  touch .hushlogin in the users home to suppress MOTD and other stuff.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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] set-up question: how do I avoid Cannot open: Permission denied and 0 bytes? Please help!

2010-08-21 Thread Allen
On 10-08-21 01:34 AM, Les Mikesell wrote:
 Loren Serfass wrote:

 By the way, I think that the external hard drive issue might be a
 distraction.  I get exactly the same errors when I don't connect the
 external hard drive and I instead try to backup to the /var/lib/backuppc
 directory on the internal disk.
  
 Yes, I'd guess your use of sudo in the client commands is not resulting in
 running as root.  I've always just used ssh like any other host to get local
 files even though it is less efficient.


I was just asking about the USB to verify that the format was suitable. 
Sounds to be ok.

It looks as if your path in the startup script or the environment path 
does not have /sbin (or whereever start-stop-daemon is located) for user 
backuppc. Make sure it is installed and validate the startup script path 
or environment string for PATH when logged in as backuppc.

 Allen...

-- 
/
Break away from the Gates of Windows...
Support OpenSource communities.
\


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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] Syntax for excluding .gvfs

2010-05-07 Thread Allen





Steve Blackwell wrote:

  I'm running F11 and I keep getting an error on my backups. I've tracked
this down to a file, .gvfs, in users home directories. From the log
file:

/bin/tar: ./.gvfs: Cannot stat: Permission denied

I use the web interface to edit the configuration but I cannot find the
correct syntax to exclude these files. The TarShareName is / and I've
tried the following for BackupFilesExclude

.gvfs
*.gvfs
/home/*/.gvfs

none of which work. How have others overcome this? And, yes, I do have
the Override box checked.

Thanks,
Steve

--
  

Hi Steve;

This works for me:
*/.gvfs

 Allen...
-- 
/
Break away from the Gates of Windows...
	Support OpenSource communities.
\



--

___
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] Syntax for excluding .gvfs

2010-05-07 Thread Allen
Richard Shaw wrote:
 On Fri, May 7, 2010 at 6:45 AM, Allen allen.st...@rogers.com wrote:
   
 Steve Blackwell wrote:

 I'm running F11 and I keep getting an error on my backups. I've tracked
 this down to a file, .gvfs, in users home directories. From the log
 file:

 /bin/tar: ./.gvfs: Cannot stat: Permission denied

 I use the web interface to edit the configuration but I cannot find the
 correct syntax to exclude these files. The TarShareName is / and I've
 tried the following for BackupFilesExclude

 .gvfs
 *.gvfs
 /home/*/.gvfs

 none of which work. How have others overcome this? And, yes, I do have
 the Override box checked.

 Thanks,
 Steve

 --


 Hi Steve;

 This works for me:
 */.gvfs

 Allen...
 

 I'm completely guessing here, but doesn't the exclude syntax use a
 share name and what to exclude as separate arguments? If you
 wanted to globally exclude .gvfs from all backups wouldn't you use
 something like * as the share name (all shares) and /home/*/.gvfs
 as the file/directory to exclude?

 Richard

 --
   
Hi Richard et al;

Perhaps I should have been more specific... This is included in my 
global configuration under RsyncArgs for rsync.

--exclude */.gvfs

I never use BackupFilesExcludes for rsync.

  Allen...

-- 
/
Break away from the Gates of Windows...
Support OpenSource communities.
\


--

___
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] Syntax for excluding .gvfs

2010-05-07 Thread Allen

Tyler J. Wagner wrote:
 On Friday 07 May 2010 12:45:45 Allen wrote:
   
  This works for me:
  */.gvfs
 

 Does that match all subdirectories named .gvfs?  Or does it only match 
 /home/*/.gvfs because you have /home as a share and your exclude is relative 
 to that?

 Regards,
 Tyler

   
Wow... This thread generated lots of comments for an exclude! :)

Yes this is relative to /home thus resulting in exclusion for the 
/home/usersHomeDir/.gvfs directory for my Ubuntu hosts.

Here is one of my rsync log extracts for /home so it's clear:

incr backup started back to 2010-05-05 02:00:01 (backup #35) for directory /home
Running: /usr/bin/ssh -q -x -l backupuid uhost103 /usr/bin/rsync --server 
--sender --numeric-ids --perms --owner --group -D --links --hard-links --times 
--block-size=2048 --recursive . /home/
Xfer PIDs are now 27406
Got remote protocol 30
Negotiated protocol version 28
Sent exclude: lost+found
Sent exclude: aquota
Sent exclude: Trash
Sent exclude: */Pictures
Sent exclude: **/tmp/*
Sent exclude: */*cache*
Sent exclude: */*Cache*
Sent exclude: Cache/*
Sent exclude: cache/*
Sent exclude: */#SharedObjects/*
Sent exclude: */.thumb*
Sent exclude: */.gvfs
Sent exclude: *.iso
Sent exclude: *.img


NOTE: Before I get spammed or chastised for the multiple Cache 
entries... this is to keep the exclude global variables as simple as 
possible for Windows  Linux hosts using rsync or rsyncd so I don't have 
multiple configs/templates.


Allen...

-- 
/
Break away from the Gates of Windows...
Support OpenSource communities.
\


-- 
/
Break away from the Gates of Windows...
Support OpenSource communities.
\


--

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problem with Backuppc / Vista 64 file backup / Big file size

2010-03-29 Thread Allen

Guillaume JAOUEN wrote:
 Hello,

 I run a backuppc server version 3.1.10 on a centos server.

 I setup 10 hosts to backup by rsyncd method.

 For one of these host called pc-de-guillaume, the backup suddenly start to
 fail every times.

 This is what seem to be revelant into the error log, some files can't be
 backup  :

 full backup started for directory Users (baseline backup #85)
 Connected to pc-de-guillaume:873, remote version 29
 Negotiated protocol version 28
 Connected to module Users
 snip
 Xfer PIDs are now 12291
 [ 2057 lignes sautées ]
 Can't write 33742 bytes to socket
 Read EOF: 
 Tried again: got 0 bytes
 finish: removing in-process file administrateur/.VirtualBox/VDI/xppro.vdi
 Child is aborting
 Done: 1767 files, 8868747228 bytes
 Got fatal error during xfer (aborted by signal=PIPE)
 Backup aborted by user signal
 Not saving this as a partial backup since it has fewer files than the prior
 one (got 1767 and 1767 files versus 3230)

 This file is a virtual disk image of 10 138 808 320 octets (9,44 Go) and is
 not locked during backup process.

 Any help will be welcome.

 Best regards,
 Guillaume JAOUEN.


 snip
Guillaume,

I have had this issue also and got around it by changing the specific 
hosts $Conf{ClientTimeout} = 72000 to 99000 to complete the initial backup.

  Allen...

-- 

/ 
Break away from the Gates of Windows... 
 Support OpenSource communities. 
\


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Vista-64 Restored Folders Coming Back as Shared Folders

2010-03-27 Thread Allen




Hello;

I am having some issues with a Vista-64 client machine (go figure)...
This is specifically with restores coming back as Shared Folders.
Permissions seem to be intact however the folder gets Shared after a
restore which is not a good thing. There appears to have been a thread
previously requesting assistance on XP which went unanswered here:
http://news.gmane.org/find-root.php?message_id=%3cghbs5r%24gii%241%40ger.gmane.org%3e

I have tried a bunch of stuff with GID, UID settings in rsyncd.conf but
still the same outcome. They are currently at default (-2) which is why
there is no entry in my conf file below. The UID/GID from the backup
log matches the local passwd/group files from Cygwin so I don't
understand why it would come back as a shared folder when explicitly
there aren't even any group perms.
pool 700  1000/513 3462461 1DMarkIII-AF-Setup/Canon_EOS-1D_Mark_III_White_Paper.pdf


Wondering if anyone could shed some light on this situation. This is
only happening with my 64-bit client. Currently I also have a Vista-32
with 2.8.6 cygwin with no issues.

Detail:
BackupPC 3.10 from Ubuntu server distrib
rsync version 3.0.6 protocol version 30 on backup host
cwrsync-server 4.0.4 on client
cygwin rsync version 3.0.7 protocol version 30 on client
Vista Home Premium 64-bit SP1

rsyncd.conf on client:

use chroot = false
log file = c:\Users\MyUserName\rsyncd_conf\rsyncd.log
# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#
[UserData]
path = /cygdrive/c/Users
read >
transfer logging = no
exclude from = /cygdrive/c/Users/MyUserName/rsyncd_conf/excludes.txt
comment = Home Directories
auth users = backuppc
secrets file = /cygdrive/c/Users/MyUserName/rsyncd_conf/rsyncd.secrets
hosts allow = 10.0.0.101
hosts deny = 0.0.0.0/0
strict modes = false
list = false
--

Thanks for any suggestions or let me know if additional config info is
required.

 Allen...
-- 

/ 
Break away from the Gates of Windows... 
 Support OpenSource communities. 
\



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] Outlook and lock file problem

2007-07-31 Thread Allen Stowe
Barry Robinson wrote:
 I use a batch file then have that batch file run each night about 15
 minutes before my backups start.
 Create a file called kill_outlook.bat or whatever you want as long as
 it ends with a .bat.
  
 In this file place the following
 taskkill /im outlook.exe
  
 Then in Scheduled Tasks (control panel) create a new task running this
 file.

snipped previous text for clarity

Hi Barry;

I think kill Outlook is a bad idea... If Outlook does not close
properly, you will get pointer index  data corruption in your PST  OST
files. This will delay the start-up of Outlook extensively as it
corrects the issues  mismatches before it starts. I would run a
pre-command which uses a DOS copy command to a tmp dir, BackupPC the
files and then a post command to delete the tmp files.Alternatively, you
can use the Microsoft Outlook Add-In to perform the task with a GUI.
http://www.microsoft.com/downloads/details.aspx?FamilyID=8b081f3a-b7d0-4b16-b8af-5a6322f4fd01DisplayLang=en
http://office.microsoft.com/en-us/outlook/HA010875321033.aspx


My two cent option(s)...

Allen...

-- 
/
Break away from the Gates of Windows...
Support OpenSource communities.
\


-
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] Permissions problem with Apache

2007-07-22 Thread Allen Stowe
Yaakov Chaikin wrote:
 Ok, after reading some more docs, the following set up should work,
 but it doesn't:

 1) Everything that has to do with BackupPC is owned by user backuppc.
 2) config.pl specified backuppc as the user.
 3) The CGI script (which, for me, happens to be at
 /usr/share/BackupPC/sbin//BackupPC_Admin) is owned by the backuppc
 user, but its group is set to apache, which is the same group as the
 apache user has. I.e., the Web server which is run as apache
 should be able to execute the CGI script.
 3) My Apache web server loads mod_perl.

 Ok, after all that, it still gives me the same error message as in the
 first post.

 What am I doing wrong here?

 Thanks,
 Yaakov.

 On 7/22/07, Yaakov Chaikin [EMAIL PROTECTED] wrote:
   
 Ok, I dug up something from the docs, which says this:
 ***
 If you are using mod_perl then apache should run as user __BACKUPPCUSER__.
 ***

 I do have lines in the httpd.conf which load the mod_perl module. So,
 I DO have to run apache as the same user as the BackupPC software...

 The only question that I have now is whether people would recommend
 not loading mod_perl and then able to run Apache as a different user
 than BackupPC.

 Currently, the user that runs Apache has access to Subversion
 repositories, so there is definitely a reason to separate them...
 Question is whether it's anymore secure or if the way BackupPC works,
 it won't matter in the end.

 Any help would be appreciated.

 Thanks,
 Yaakov.

 On 7/22/07, Yaakov Chaikin [EMAIL PROTECTED] wrote:
 
 Hi,

 Now that I got my BackupPC working, I broke it again trying to secure
 it further.

 Previously, I was told here that I should not be running Apache web
 server as the same user as running BackupPC.

 So, I kept Apache running as 'apache' user and switched BackupPC (in
 config.pl) to be backuppc user. I also switched all the directories
 that have to do with BackupPC and previously owned by apache user to
 being owned by backuppc user.

 Now, when I try to go through the web browser, the server status page
 give me an error:
 *
 Error: Wrong user: my userid is 48, instead of 498(backuppc)

 This script needs to run as the user specified in $Conf{BackupPCUser},
 which is set to backuppc.

 This is an installation problem. If you are using mod_perl then it
 appears that Apache is not running as user backuppc. If you are not
 using mod_perl, then most like setuid is not working properly on
 BackupPC_Admin. Check the permissions on
 //usr/share/BackupPC/sbin//BackupPC_Admin and look at the
 documentation.
 *

 From the error message, it almost sounds like I SHOULD have the user
 that runs Apache be the same user that runs BackupPC. Is that true? If
 not, then how do I fix this problem?

 Currently, the //usr/share/BackupPC/sbin//BackupPC_Admin is owned by
 backuppc user.

 Thanks,
 Yaakov.

   

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

   
Hi Yaakov;

Bimal Pandit made a good simple implementation scenario/script you can
follow. You have most of it right... Just read the configuration items
and follow along... Should have you straight in a few minutes in your
environment... link: http://fedoranews.org/blog/?p=603


Allen...

-- 
/
Break away from the Gates of Windows...
Support OpenSource communities.
\


-
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] Finding hosts on a new install

2007-05-07 Thread Allen Stowe
Rob Munsch wrote:
 Hello list,
  
 I've inherited a messy WinXX environment in a place with a few
 linux servers, and am trying to get backuppc going as a solution. 
 They are currently without any kind of backup plan at all (ouch!).  We
 hope backuppc can prevent a lot of nightmares.
  
 I'm reading about the hosts file, adding hosts, and nmblookup and
 getting a sinking feeling... I have over 100 PCs here with various
 manufacturer-default names (HP1337ROFL etc) and no naming scheme
 whatsoever.  Can i get away with a
  
 hostDHCP
 *1
  
 in my hosts file :D or am i doomed to getting a list of every windows
 client's hostname and punching all 10^2 of 'em in manually??
  
 Thanks,

 Rob Munsch
 S. Walter Packaging
 [EMAIL PROTECTED] mailto:[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/
   
Hi Rob;

You didn't provide any info on network topology or Windows environment.
If you didn't like the static DHCP idea suggested by Carl and need to
match host names here are some ideas:

Get the workstation list:
1a - Use the DOS command NET VIEW [/DOMAIN:Domain or WorkGroup Name]  
 workstationlist.txt . Repeat for other domain  workThis should work
against all Windows versions as long as NetBIOS ports are available on
the local nets for NT, AD domains (in compatibility mode) and dumb
workgroups. By far the easiest way if your a *nix person.
1b - If there is a semblance of AD or NT domains, you can query them
easily enough.
1c - You can check to see if you have a WINS server  (client DHCP
settings or smbclient -M option to browse) Let me know if you need some
quick Windows scripts to query AD, LDAP, NT or WFW workgrpoups for
machine accounts. I have some code snips that you may find handy.

2a -  Once you have the individual workstation list, you can update DNS
quickly (or temporarily updating the local host file on the BackupPC
server) to get name resolution working.
3 - Client Authentication... You be on your own here if they have no
domain membership or common workstation Admin account/password pairs.
When you get that sorted, ensure that your BackupPC user is a member of
'Backup Operators' and has 'Logon Locally' privilege enabled (or set a
standard now that you have a chance and create a standard Local User 
Domain Backup Account).

You can check almost any privileged authentication against the IPC$ or
ADMIN$ shares from Windows or Samba against the client:
NET USE \\NETBIOSName\ipc$ * /USER:NetBIOSName\AdminAccount  or
'smbclient -L //NETBIOSName * -U username'
4 - Use your workstation list output to create a script which can copy
templated '/etc/BackupPC/pc/clienthost.pl' file for each client name
should work. More advanced BackuPC admins can step in here.

Good luck...

Allen...


-- 
/
Break away from the Gates of Windows...
Support OpenSource communities.
\

-
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] backup summary

2007-04-26 Thread Allen Stowe
Tomasz Klimaszewski wrote:
 Hello
 I installed backuppc 3.0.0 and work mostly with CGI interface.
 I wounder if it possible and if yes I wounder how to configurate email
 notifiaction about all yesterday backups.
 My aim is to get:
 one mail with info of each hosts and files it backuped up.
 And one more thing mail with info about hosts didn't backup up any new
 files.

 Thx in advance

 -- 
 somebody known as:
 Tomasz Klimaszewski
 klimae[at]gmail[dot]com

Hi Tomasz;

There was a thread on this earlier that got me going and here is a
summary from the archives to give you ideas:
http://search.gmane.org/search.php?group=gmane.comp.sysutils.backup.backuppc.generalquery=email+summary+daily

I was looking for the same thing to bug delinquent users and quickly
modified a simple contribution script by Jean-Michel Beuken.
(
http://thread.gmane.org/gmane.comp.sysutils.backup.backuppc.general/9055/focus=10040
)

It is executed via the hosts post dump option and uses built in
variables available to this post backup command.
$Conf{DumpPostUserCmd} = '/pathtobackuppc/bin/*BackupPC_notify $user
$xferOK $host $type $shares*';

The scripts runs every time a backup executes on the target host. You
could could make it a global config directive to affect all subscribed
hosts but this could get annoying. No news about backups is good news
for me.

To satisfy your mail with info about hosts didn't backup up any new
files requirement you could extend to do a 'tail
/pathtodatadir/pc/$host/LOG.~date~'  into the email to get the raw lines
and send that out based on some policy you decide. perl or (ummm) awk
can be your friends here to search the log file.

Have fun... The possibilities are endless when it comes to email and
when you already have the data on hand.

Allen...

-- 
/
Break away from the Gates of Windows...
Support OpenSource communities.
\

-

#!/usr/bin/perl
#
# (extract from the BackupPC Help page)
#   The following variable substitutions are made at run time for
#   $Conf{DumpPreUserCmd}, $Conf{DumpPostUserCmd}, $Conf{DumpPreShareCmd} 
and $Conf{DumpPostShareCmd}:
#
#   $type type of dump (incr or full)
#   $xferOK   1 if the dump succeeded, 0 if it didn't
#   $client   client name being backed up
#   $host host name (could be different from client name if
#   $Conf{ClientNameAlias} is set)
#   $hostIP   IP address of host
#   $user user name from the hosts file
#   $moreUserslist of additional users from the hosts file
#   $sharethe first share name (or current share for
#   $Conf{DumpPreShareCmd} and $Conf{DumpPostShareCmd})
#   $shares   list of all the share names
#   $XferMethod   value of $Conf{XferMethod} (eg: tar, rsync, smb)
#   $sshPath  value of $Conf{SshPath},
#   $cmdType  set to DumpPreUserCmd or DumpPostUserCmd
$version = 1.0.2;

#
# Inbound arguments
$user = $ARGV[0];
$xferOK = $ARGV[1];
$host = $ARGV[2];
$type = $ARGV[3];
$shares = $ARGV[4];

#Mail settings
$mailprog = '/usr/lib/sendmail';
$recipient = $user;


## Start Code
$msg = END_MSG_BODY;
BACKUP REPORT for host: $host

Summary:

END_MSG_BODY

if ( $xferOK) {
$msg .= END_MSG_OK;
The ($type) backup completed with status: SUCCESS 
The following shares were backed up:
$shares



Support Info:
=
Check status or initiate a backup anytime here:
http://servername/cgi-bin/BackupPC/BackupPC_Admin?host=$host


Contact support: mailto:[EMAIL PROTECTED]


Thank you for your attention and have a nice day!
END_MSG_OK

$subject = BackupPC: status for $host : SUCCESS;
sendmail($msg);

} else {
$msg .= END_MSG_FAIL;
The ($type) backup completed with status: FAILURE 
An attempt was made to backup the following shares:
$shares


Support Info:
=
You can choose to ignore this messsage if you know the reason for the 
failure. (Like PC being turned off)
The normal backup cycle is still in effect.

You can manually re-initiate a backup from here and selecting Start 
$type Backup:
http://servername/cgi-bin/BackupPC/BackupPC_Admin?host=$host

You can contact support otherwise to investigate further.
Contact: mailto:[EMAIL PROTECTED]


Thank you for your attention and have a nice day!
END_MSG_FAIL

$subject = BackupPC: status for $host : FAILURE

[BackupPC-users] Blackoutperiod is being ignored?

2005-10-20 Thread Clive Allen








Hi,



I have created the following Blackout Period which i
want to go from 07:00 to 23:58 all days (Or in other words I want the backup to
start at 00:00 every day)



 $Conf{BlackoutPeriods} = [ {  hourBegin = 7.0,  hourEnd = 23.98,  weekDays = [0, 1, 2, 3, 4, 5, 6], }, ];



However this is ignored and takes an incremental
backup when the limit for the daily incremental expires which is at 19:00



Is there a problem with my configuration for
BlackoutPeriods or does the expiry time override the Blackoutperiods?



Thanks



Clive Allen

Aspector Thincom










RE: [BackupPC-users] Blackoutperiod is being ignored?

2005-10-20 Thread Clive Allen
Title: Re: [BackupPC-users] Blackoutperiod is being ignored?








Hi,



The servers are available
on the network 24 hours a day and I havent registered any bad ping
counts.



Clive











From:
Jean-Michel Beuken [mailto:[EMAIL PROTECTED] 
Sent: 20. oktober 2005 11:06
To: Clive Allen
Cc:
backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users]
Blackoutperiod is being ignored?







Hello,











peharps, a problem with $conf(BlackoutBadPingLimit) and
$conf(BlackoutGoodCnt) config











(re)read the recent excellent mail (from Rick DeNatale) concerning
these two parameters











http://sourceforge.net/mailarchive/forum.php?thread_id=8634440forum_id=503











jmb

















I have created the following Blackout Period which i want to
go from 07:00 to 23:58 all days (Or in other words I want the backup to start
at 00:00 every day)











 $Conf{BlackoutPeriods} = [





 {






hourBegin = 7.0,






hourEnd = 23.98,






weekDays = [0, 1, 2, 3, 4, 5, 6],





 },





 ];











However this is ignored and takes an incremental backup when
the limit for the daily incremental expires which is at 19:00











Is there a problem with my configuration for BlackoutPeriods
or does the expiry time override the Blackoutperiods?











Thanks











Clive Allen





Aspector Thincom






















[BackupPC-users] Blackoutperiod is being ignored?

2005-10-20 Thread Clive Allen








Hi,



I have created the following Blackout Period which i
want to go from 07:00 to 23:58 all days (Or in other words I want the backup to
start at 00:00 every day)



 $Conf{BlackoutPeriods} = [ {  hourBegin = 7.0,  hourEnd = 23.98,  weekDays = [0, 1, 2, 3, 4, 5, 6], }, ];



However this is ignored and takes an incremental
backup when the limit for the daily incremental expires which is at 19:00



Is there a problem with my configuration for
BlackoutPeriods or does the expiry time override the Blackoutperiods?



Thanks



Clive Allen

Aspector Thincom