Re: [BackupPC-users] Initiate backup from client?

2009-11-11 Thread Tyler J. Wagner
The "try every hour" method works just fine for me, even for users that only 
come in once a month.

But if you really want to have the client initiate the backup, the easiest way 
I can think of is to write a script that uses curl or wget to press the "start 
incremental backup" button as the user:

curl -u user:password 
http://bacckupserver/backuppc/index.cgi?host=hostname.example.com&hostIP=hostname.example.com&doit=1&action=Start_Incr_Backup

Regards,
Tyler

On Wednesday 11 November 2009 22:02:44 Meel Me wrote:
> Hello,
> 
> I want to know if it's possible to initiate a backup from the client
>  machine, in a way that the clients connects to the backuppc server over
>  the internet to start the backup?
> 
> *My (desired) situation*
> I've got a laptop. I'm abroad for many months once and a while. While I'm
>  abroad I want to be able to backup my laptop regularly and to restore the
>  data on my laptop if it crashes (or gets stolen).
> 
> I want to place my backuppc server in a total other region than my home is.
>  So that a disaster like heavy earthquake, explosion, etc. will never
>  effect and my backuppc server and my laptop at once. The location where I
>  can place my backuppc server is not in my local area network. The backuppc
>  server will only be available through the internet.
> 
> 
> *Question*
> I've read the documentation of backuppc. There are several methods for
>  backing up laptops (smb, rsync, rsyncd, tar). All methods are initiated
>  from the backuppc server, so the backuppc server will set up a connection
>  to the client. If the client (my laptop) is not in the local area network,
>  then the backuppc server can't find the client and won't make a backup of
>  it.
> 
> In the situation I described above, my laptop will never be in the local
>  area network of the backuppc server. Therefor my laptop will never be
>  backuped.
> 
> Is it possible to initiate a backup from the client machine, in a way
> that the clients connects to the backuppc server over the internet to start
>  the backup? Instead of that the backuppc server makes a connection to the
>  client?
> 
> If so, how?
> 
> Thanks,
> 
> Wim
> 

-- 
"A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders, give
orders, cooperate, act alone, solve equations, analyze a new problem,
pitch manure, program a computer, cook a tasty meal, fight efficiently,
die gallantly. Specialization is for insects."
   -- Lazarus Long, "Time Enough for Love", by Robert A. Heinlein

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Initiate backup from client?

2009-11-11 Thread Christian Völker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

> There are ways to make it work through ssh tunnels established either 
> direction, but for machines where you control both sides, just install 
> openvpn on them, establish the vpn connection when you want a backup or 
> access to the backup copies, and use the web interface to start one when 
> you want.

That's the way I do it here, too.

Laptop will be backed up through OpenVPN. OpenVPN will be started with
system boot, so as soon as the laptop has Internet he's connected
through OpenVPN to the BackupPC server.
As soon as BackupPC wakes up, he schedules a backup for the laptop, who
is connected. Backup runs fine. And as long as there is no Internet
connectiong the BackupPC server just tells me "No ping".

Works great!

No need to perform a manual backup.

Greetings

Christian

> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org/

iD8DBQFK+7IN0XNIYlAXmzsRAhJ4AJ9madSsYfKEHlKNymEfUlHNgITQCgCglV6n
5kWPB1UaD2LHgSjrgAmQajw=
=vBqG
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Changing _TOPDIR_

2009-11-11 Thread Monte Milanuk




... and cleaning up afterwards :|

So... I have an older PC running Ubuntu 8.04.3 LTS server, with Samba
configured and working, and got BackupPC running.  I thought I had
enough setup to do a trial run - a back up of my home directory on my
desktop PC running Vista.  It kicked off fine and all looked to be
going well... until a few minutes into the initial full backup I
remembered that the default 'home' for the backuppc user was
/var/lib/backuppc, and everything was likely going to be stowed down
there, instead of under /srv like I had intended.  Given that '/' (and
/var) is mounted on hda1 (one 13GB PATA drive) and /srv is mounted on
two 500GB SATA drives in a software RAID 1 config... I'd much rather
backup the 150-200GB from my home directory onto /srv, than into
/var/lib/backuppc.  I'm thinking after another half-hour or so it'd
start having some problems as is ;)

So... from looking at the web interface and the online documentation,
it looks as though what I need to do is change _TOPDIR_ to
'/srv/backuppc/'.  After that... it should put all the stuff like
_TOPDIR_/trash, _TOPDIR_/pool, _TOPDIR_/pc/$host, etc. under /srv/backuppc/trash, 
/srv/backuppc/pool, etc. and I should be free to go back and delete the
appropriate directories under /var/lib/backuppc?  I'd like to free up
the several gigabytes of data that got stored in there before I wised
up ;)  What should I use for permissions/ownership on /srv/backuppc
when I create it?

TIA,

Monte




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] TextFileWrite: Failed to verify /etc/BackupPC/config.pl.new

2009-11-11 Thread Michael Mansour
Hi Craig,

> Michael writes:
> 
> > TextFileWrite: Failed to verify /etc/BackupPC/config.pl.new
> > 
> > in the browser under the main "Hosts Xfer etc" area.
> > 
> > I check the filesystem and see the file re-created:
> > 
> > # ll conf*
> > -rw-r- 1 backuppc apache 78506 Nov 10 12:24 config.pl
> > -rw-r- 1 backuppc apache 0 Nov 11 17:04 config.pl.new
> > -rw-r- 1 backuppc apache 76236 Apr 29  2009 config.pl.old
> > -rw-r- 1 backuppc apache 75640 Jul  4  2008 config.pl.pre-3.1.0
> > -rw-r- 1 backuppc apache 76236 Jul 19 06:03 config.pl.pre-3.2.0beta0
> > 
> > It seems to me the software tries to verify the config.pl file but can't 
> > write
> > the file for some reason? (even though the file can be written to the 
> > disk?).
> > 
> > It's a strange problem which I think one of the developers who has an
> > understanding of the process the "Save" takes would be able to help with.
> 
> The writing steps for any text data file in BackupPC (eg: config.pl,
> backups, restores etc) is:
> 
>  - open config.new for writing
> 
>  - write the new file contents
> 
>  - close the file
> 
>  - open config.new for reading
> 
>  - read the contents
> 
>  - close the file
> 
>  - if the contents match, then rename config.pl to config.pl.old
>and rename config.pl.new to config.pl.
> 
>  - otherwise, print the error that you see and leave the
>config.pl.new file as is.
> 
> Could the file system be full?

Yes the filesystem was full. I cleared some space, tried again and it worked 
fine.

Thank you.

Michael.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Initiate backup from client?

2009-11-11 Thread Les Mikesell
Meel Me wrote:
> Hello,
> 
> I want to know if it's possible to initiate a backup from the client 
> machine, in a way that the clients connects to the backuppc server over 
> the internet to start the backup?
> 
> *My (desired) situation*
> I've got a laptop. I'm abroad for many months once and a while. While 
> I'm abroad I want to be able to backup my laptop regularly and to 
> restore the data on my laptop if it crashes (or gets stolen).
> 
> I want to place my backuppc server in a total other region than my home 
> is. So that a disaster like heavy earthquake, explosion, etc. will never 
> effect and my backuppc server and my laptop at once.
> The location where I can place my backuppc server is not in my local 
> area network. The backuppc server will only be available through the 
> internet.
> 
> 
> *Question*
> I've read the documentation of backuppc. There are several methods for 
> backing up laptops (smb, rsync, rsyncd, tar). All methods are initiated 
> from the backuppc server, so the backuppc server will set up a 
> connection to the client.
> If the client (my laptop) is not in the local area network, then the 
> backuppc server can't find the client and won't make a backup of it.
> 
> In the situation I described above, my laptop will never be in the local 
> area network of the backuppc server. Therefor my laptop will never be 
> backuped.
> 
> Is it possible to initiate a backup from the client machine, in a way 
> that the clients connects to the backuppc server over the internet to 
> start the backup? Instead of that the backuppc server makes a connection 
> to the client?

There are ways to make it work through ssh tunnels established either 
direction, but for machines where you control both sides, just install 
openvpn on them, establish the vpn connection when you want a backup or 
access to the backup copies, and use the web interface to start one when 
you want.

-- 
  Les Mikesell
 lesmikes...@gmail.com




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Initiate backup from client?

2009-11-11 Thread Jeffrey J. Kosowsky
Peter Walter wrote at about 17:22:39 -0500 on Wednesday, November 11, 2009:
 > Meel Me wrote:
 > > Hello,
 > >
 > > I want to know if it's possible to initiate a backup from the client 
 > > machine, in a way that the clients connects to the backuppc server 
 > > over the internet to start the backup?
 > >
 > > *My (desired) situation*
 > > I've got a laptop. I'm abroad for many months once and a while. While 
 > > I'm abroad I want to be able to backup my laptop regularly and to 
 > > restore the data on my laptop if it crashes (or gets stolen).
 > >
 > > I want to place my backuppc server in a total other region than my 
 > > home is. So that a disaster like heavy earthquake, explosion, etc. 
 > > will never effect and my backuppc server and my laptop at once.
 > > The location where I can place my backuppc server is not in my local 
 > > area network. The backuppc server will only be available through the 
 > > internet.
 > >
 > >
 > > *Question*
 > > I've read the documentation of backuppc. There are several methods for 
 > > backing up laptops (smb, rsync, rsyncd, tar). All methods are 
 > > initiated from the backuppc server, so the backuppc server will set up 
 > > a connection to the client.
 > > If the client (my laptop) is not in the local area network, then the 
 > > backuppc server can't find the client and won't make a backup of it.
 > >
 > > In the situation I described above, my laptop will never be in the 
 > > local area network of the backuppc server. Therefor my laptop will 
 > > never be backuped.
 > >
 > > Is it possible to initiate a backup from the client machine, in a way 
 > > that the clients connects to the backuppc server over the internet to 
 > > start the backup? Instead of that the backuppc server makes a 
 > > connection to the client?
 > >
 > > If so, how?
 > >
 > > Thanks,
 > >
 > > Wim
 > >
 > >
 > I am working towards exactly the same idea, but for laptops that almost 
 > *never* come into the office. For example, you can kick off a full 
 > backup as follows:
 > 
 > BackupPC_serverMesg backup HOSTIP HOST USER FULL
 > 
 > I am working on (somehow) using cygwin on the Windows laptop to issue 
 > the *nix command, and I intend to use OpenVPN to establish the necessary 
 > network path whenever the laptop is connected to the internet. I will 
 > post when I have a working procedure, if someone else doesn't beat me to 
 > it first :-)

What is there to work on?

Probably best to use rsyncd over an ssh tunnel you are creating

Simply run the following from Windoze cygwin: (I won't guarantee that
there are no syntax errors here though)

# Start rsyncd server
cygrunsrv -S rsyncd

#Setup ssh tunnel, send server message to start backup, and wait to finish
ssh backu...@yourserver -R 8873:localhost:873 BackupPC_serverMesg backup 
localhost hostname-or-alias backuppc [0/1] && while [ 1 ]; do sleep 60; 
BackupPC_serverMesg status jobs | grep '"cmd" => 
"BackupPC_dump[^"]*hostname-or-alias"' > /dev/null || break;done

# Stop rsyncd server
cygrunsrv -E rsyncd


Then in your config.pl set up rsyncd transfer method to localhost
(127.0.0.1) on port 8873 (or whatever port you want to use). You may
want to use a host alias too rather than using the generic hostname localhost

Note you could use rsync over ssh here but might as well do rsyncd
since you already have an ssh tunnel set up and no need to add the overhead.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Initiate backup from client?

2009-11-11 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Meel Me wrote:
> Is it possible to initiate a backup from the client machine, in a way
> that the clients connects to the backuppc server over the internet to
> start the backup? Instead of that the backuppc server makes a connection
> to the client?
> 
> If so, how?

As others have suggested, use some sort of tunnel or vpn so that the
laptop/client is on the "LAN" of the backuppc server... You should
probably add some firewall to the VPN (or port forwarding) so no
additional unexpected traffic is also passed over the connection.

You don't really need to initiate the connection from the client, just
allow the backuppc server to "see" the client, and set it to attempt
backups as frequently as required (every 10 minutes if you wanted to)...

Another option which I've used in the past is to configure port
forwarding (for a home user) on the router to the desktop, and then use
dynamic dns so the server knows where it is...

Hope that helps...

Regards,
Adam
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr7QpgACgkQGyoxogrTyiWOwwCePfQnbQ0wOzrS2vSNgbqcFW5F
JcsAoJouYQvSkm1buhsQhmA4jhXO4Mr0
=WXLW
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Initiate backup from client?

2009-11-11 Thread Peter Walter

Meel Me wrote:

Hello,

I want to know if it's possible to initiate a backup from the client 
machine, in a way that the clients connects to the backuppc server 
over the internet to start the backup?


*My (desired) situation*
I've got a laptop. I'm abroad for many months once and a while. While 
I'm abroad I want to be able to backup my laptop regularly and to 
restore the data on my laptop if it crashes (or gets stolen).


I want to place my backuppc server in a total other region than my 
home is. So that a disaster like heavy earthquake, explosion, etc. 
will never effect and my backuppc server and my laptop at once.
The location where I can place my backuppc server is not in my local 
area network. The backuppc server will only be available through the 
internet.



*Question*
I've read the documentation of backuppc. There are several methods for 
backing up laptops (smb, rsync, rsyncd, tar). All methods are 
initiated from the backuppc server, so the backuppc server will set up 
a connection to the client.
If the client (my laptop) is not in the local area network, then the 
backuppc server can't find the client and won't make a backup of it.


In the situation I described above, my laptop will never be in the 
local area network of the backuppc server. Therefor my laptop will 
never be backuped.


Is it possible to initiate a backup from the client machine, in a way 
that the clients connects to the backuppc server over the internet to 
start the backup? Instead of that the backuppc server makes a 
connection to the client?


If so, how?

Thanks,

Wim


I am working towards exactly the same idea, but for laptops that almost 
*never* come into the office. For example, you can kick off a full 
backup as follows:


BackupPC_serverMesg backup HOSTIP HOST USER FULL

I am working on (somehow) using cygwin on the Windows laptop to issue 
the *nix command, and I intend to use OpenVPN to establish the necessary 
network path whenever the laptop is connected to the internet. I will 
post when I have a working procedure, if someone else doesn't beat me to 
it first :-)


Peter


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Initiate backup from client?

2009-11-11 Thread Jeffrey J. Kosowsky
ssh...
Use putty or write a bash script to:
1. Set up a tunnel over a port that rsync will use to connect to your
   machine (use Putty or cygwin ssh)
2. Initiate backup by issuing a command to the BackupPC server (over
   the same ssh tunnel) or just wait for the next (hourly) backup attempt
3. Use something like DumpPostUserCmd to take down the tunnel when
   backup is finished.
Meel Me wrote at about 14:02:44 -0800 on Wednesday, November 11, 2009:
 > Hello,
 > 
 > I want to know if it's possible to initiate a backup from the client 
 > machine, in a way
 > that the clients connects to the backuppc server over the internet to start 
 > the backup?
 > 
 > *My (desired) situation*
 > I've got a laptop. I'm abroad for many months once and a while. While I'm 
 > abroad I want to be able to backup my laptop regularly and to restore the 
 > data on my laptop if it crashes (or gets stolen).
 > 
 > I want to place my backuppc server in a total other region than my home is. 
 > So that a disaster like heavy earthquake, explosion, etc. will never effect 
 > and my backuppc server and my laptop at once.
 > The location where I can place my backuppc server is not in my local area 
 > network. The backuppc server will only be available through the internet.
 > 
 > 
 > *Question*
 > I've read the documentation of backuppc. There are several methods for 
 > backing up laptops (smb, rsync, rsyncd, tar). All methods are initiated from 
 > the backuppc server, so the backuppc server will set up a connection to the 
 > client.
 > If the client (my laptop) is not in the local area network, then the 
 > backuppc server can't find the client and won't make a backup of it.
 > 
 > In the situation I described above, my laptop will never be in the local 
 > area network of the backuppc server. Therefor my laptop will never be 
 > backuped.
 > 
 > Is it possible to initiate a backup from the client machine, in a way
 > that the clients connects to the backuppc server over the internet to start 
 > the backup? Instead of that the backuppc server makes a connection to the 
 > client?
 > 
 > If so, how?
 > 
 > Thanks,
 > 
 > Wim
 > 
 > 
 > 
 >   
 > --
 > --
 > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 > trial. Simplify your report design, integration and deployment - and focus 
 > on 
 > what you do best, core application coding. Discover what's new with
 > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 > --
 > ___
 > 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/

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Initiate backup from client?

2009-11-11 Thread Meel Me
Hello,

I want to know if it's possible to initiate a backup from the client machine, 
in a way
that the clients connects to the backuppc server over the internet to start the 
backup?

*My (desired) situation*
I've got a laptop. I'm abroad for many months once and a while. While I'm 
abroad I want to be able to backup my laptop regularly and to restore the data 
on my laptop if it crashes (or gets stolen).

I want to place my backuppc server in a total other region than my home is. So 
that a disaster like heavy earthquake, explosion, etc. will never effect and my 
backuppc server and my laptop at once.
The location where I can place my backuppc server is not in my local area 
network. The backuppc server will only be available through the internet.


*Question*
I've read the documentation of backuppc. There are several methods for backing 
up laptops (smb, rsync, rsyncd, tar). All methods are initiated from the 
backuppc server, so the backuppc server will set up a connection to the client.
If the client (my laptop) is not in the local area network, then the backuppc 
server can't find the client and won't make a backup of it.

In the situation I described above, my laptop will never be in the local area 
network of the backuppc server. Therefor my laptop will never be backuped.

Is it possible to initiate a backup from the client machine, in a way
that the clients connects to the backuppc server over the internet to start the 
backup? Instead of that the backuppc server makes a connection to the client?

If so, how?

Thanks,

Wim



  --
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Multiple schedules per host

2009-11-11 Thread Les Mikesell
Robert Kosinski wrote:
> Is the best method to enforce multiple backup schedules for a single
> host to list an alias in the hosts file and build around that? Are
> there any issues using short name for one instance and fully qualified
> for another? Or do the hosts need genuine aliases? Thanks.

You can use a different host name in the backuppc configuration to get 
separate options and use the ClientAlias to point it back to the actual 
target.  As far as backuppc is concerned they are separate systems.

-- 
   Les Mikesell
lesmikes...@gmail.com



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Sending Email Summary

2009-11-11 Thread Nicholas Hall
On Wed, Nov 11, 2009 at 12:00 PM, Will  wrote:

> Hi,
>
> I've been trying to figure out how BackupPC actually handles email
> summaries. I haven't been able to figure this out on the count that most of
> the online aggregates (including the docs) seem to lack the information
> necessary to set up the email notification. Am I missing something?
>
> Could someone provide the recepie needed to get the script to send out some
> notification on when a backup has completed or failed?
>
> Thanks,
> Will
>
> PS. I know email works, I tested it via command: BackupPC_sendEmail -u
> [Email]
>

For my previous employer, I had setup a cronjob to pipe the output of `wget
-qO - http://intranet/cgi-bin/BackupPC_Admin?action=summary` to mail daily
rather than relying on BackupPC_sendEmail.  This worked pretty good as my
employer liked seeing a summary even if all backups were successful.

-- 
Nicholas Hall
262.706.1337
ngh...@gmail.com
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Concrete proposal for feature extension for pooling

2009-11-11 Thread Jeffrey J. Kosowsky
In the past, we have had multiple discussions about adding full file
checksums (e.g., md5, SHA-1) and/or path names to pool files to allow for
integrity checking and reverse file look-up from the pc directory.

On the other hand, I know some people are not interested in that
feature or overhead.

So, I would like to suggest the following compromise solution for
discussion and improvement:

1. Add three new "first byte" character types corresponding 1-1 to the
   existing 3 ones (0x78, 0xd6, 0xd7). Though you may only need 2
   since it seems like 0xd6 is obsolete(?)

2. For pool files with the new first byte characters, extend the
   envelope footer at the end of the file to include space for the
   checksum (128 bits if md5sum) and for the pool file name (32 hex
   chars plus say another 32 bits to code the chain number - 4 billion
   chain collisions should leave enough room - famous last
   words). Total would be 288 bits if this schema is used.

3. Modify the handful of routines in FileZIO.pm (and
   maybe also RsyncDigest.pm) that raw read/write pool files to
   recognize the new first byte character flags.

4. Create access routines that can read/write the new footer
   information.

5. Modify BackupPC_nightly to change the pool path in the footer
   whenever there is chain renumbering of a file with the new first
   byte types (should not be intensive since chain renumbering is
   relatively rare).

6. Either write the trailer information as new pool files are created
   by modifying the relevant routines (again only a couple) and/or
   create a separate routine that can recurse through the pool
   directories and create the new footer information in a batch way.

7. Create Config variables to allow the user to turn on/off writing
   and tracking the new footer information. Checksums and pool paths
   could be turned on/off separately for those worried about the
   overhead of the checksum (adding the pool path has trivial
   overhead). (Note a zero checksum or a zero path pool would signal
   that info is not available.)

8. More generally, but not necessary, it may be good to design the
   footers corresponding to these new first bytes to be extensible in the
   future to add other information if ever desired (e.g., other
   checksums, file-level encryption keys etc.) This would require
   some forethought and would add a little overhead in the storage and
   access routines.

I believe that this proposal has several advantages:
A. Users not interested in this functionality wouldn't be
   affected. They wouldn't turn on the functionality so none of their
   pool files would have the new first byte flags. In particular,
   there would be *no* change to their pool and no added backup
   overhead (even the tests for the new first byte would come after
   the existing ones).

B. Changes are pretty small, limited in extent, and easy to code. I am
   happy to help but would prefer to leave #3 to someone who knows the
   code best to make sure all routines are patched. Also, I don't want
   to start patching basic routines unless there is consensus that
   this can be merged into the tree since I don't want to create a
   fork. Also, discussion would be helpful to make sure we have a
   robust and potentially extensible design.

C. Presence of path names greatly facilitates pool backup. Backups
   would now happen as follows.
   - Prevent BackupPC_nightly from running...
   - Rsync pool (without hard links)
   - For the pc directory, just rsync the directory structure (or
 otherwise copy) and copy over files with only 1 link (almost
 exclusively zero length files anyway.
   - Run a simple perl routine that recurses through the pc directory.
 For each non-directory file with >1 link (this is *very* fast
 using perl find), use the file itself to read it's pool path name
 from the footer and print out a two column link list of the file's pc
 path name and it's pool path (this is a very simple routine to code)
   - On the new backup directory, run a simple shell or perl script
 that reads the file and creates the links
   The total process would be about as fast as just doing an rsync
   without hard links on $Topdir and there would be no scaling issues
   do to hard links.

D. Presence of checksums allows for file integrity checking either as
   needed or on a regular basis. Of course, I know that the rsync(d)
   method includes md4sums but that is limited to rsync(d). Also, the
   checksums are only inserted on the second backup. Finally, newer
   rsync versions use md5sums so rsyncs md4sums will (hopefully) soon
   be obsolete.

E. Pool entries with or without the added footer could co-exist in a
   single pool - just that the information wouldn't be available for
   use if the new first bytes aren't present. The look-up routines
   would just return an error code signalling not available. Also,
   existing pool entries could be converted at any time to 

[BackupPC-users] Multiple schedules per host

2009-11-11 Thread Robert Kosinski
Is the best method to enforce multiple backup schedules for a single
host to list an alias in the hosts file and build around that? Are
there any issues using short name for one instance and fully qualified
for another? Or do the hosts need genuine aliases? Thanks.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Sending Email Summary

2009-11-11 Thread Will
Hi, 

I've been trying to figure out how BackupPC actually handles email
summaries. I haven't been able to figure this out on the count that most of
the online aggregates (including the docs) seem to lack the information
necessary to set up the email notification. Am I missing something? 

Could someone provide the recepie needed to get the script to send out some
notification on when a backup has completed or failed? 

Thanks,
Will

PS. I know email works, I tested it via command: BackupPC_sendEmail -u
[Email]


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] FYI: One liner to print out a single specific attrib for all files

2009-11-11 Thread Jeffrey J. Kosowsky
Jeffrey J. Kosowsky wrote at about 12:22:32 -0500 on Wednesday, November 11, 
2009:
 > Sometimes when troubleshooting, I want to find all files with a
 > certain attribute. So you can use a modified version of this (very
 > inefficient) bash/perl one liner to do it. (of course it would have
 > been much more efficient to write a separate perl script but I like
 > one-liner challenges sometimes)...
 > 
 > The following example prints out the 'type' of each file in the
 > backup:
 > 
 > find /var/lib/BackupPC/pc/machine/backnumber -name "attrib" | ( while IFS= 
 > read -r FILE ; do sudo -u backuppc 
 > /usr/share/BackupPC/bin/BackupPC_attribPrint "$FILE" | head -n -2 | perl -s 
 > -ne "$/=' }';print \"\${-name}\$1 \$2\n\" if \/'([^']*)' => {.*'type' => 
 > ([0-9])+/s" -- --name="${FILE%attrib}" - | tail -n +2; done)
 > 
 > The output format is:
 >  
 > 

And if you want to unmangle the paths and remove the
/var/lib/... prefix, try this:

find /var/lib/BackupPC/pc/machine/backnumber -name "attrib" | ( while IFS= read 
-r FILE ; do sudo -u backuppc /usr/share/BackupPC/bin/BackupPC_attribPrint 
"$FILE" | head -n -2 | perl -s -ne "$/=' }';if(\/'([^']*)' => {.*'type' => 
([0-9])+/s){\${-name} =~ s|/var/lib/BackupPC/pc/[^/]*/[^/]*||; \${-name} =~ 
s|/f|/|g; print \"\${-name}\$1 \$2\n\"}" -- --name="${FILE%attrib}" - | tail -n 
+2; done)

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] FYI: One liner to print out a single specific attrib for all files

2009-11-11 Thread Jeffrey J. Kosowsky
Sometimes when troubleshooting, I want to find all files with a
certain attribute. So you can use a modified version of this (very
inefficient) bash/perl one liner to do it. (of course it would have
been much more efficient to write a separate perl script but I like
one-liner challenges sometimes)...

The following example prints out the 'type' of each file in the
backup:

find /var/lib/BackupPC/pc/machine/backnumber -name "attrib" | ( while IFS= read 
-r FILE ; do sudo -u backuppc /usr/share/BackupPC/bin/BackupPC_attribPrint 
"$FILE" | head -n -2 | perl -s -ne "$/=' }';print \"\${-name}\$1 \$2\n\" if 
\/'([^']*)' => {.*'type' => ([0-9])+/s" -- --name="${FILE%attrib}" - | tail -n 
+2; done)

The output format is:
 

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Commas in filenames - a problem? UPDATED

2009-11-11 Thread Nigel Kendrick
Bah - Just as I was doing the tests, someone on site was moving all the docs
to another server without telling me so they really had vanished! 
 
Now to see whether they will back up using rsyncd on the Windows server - if
the files stay in one place for long enough!
 
Nigel
 

  _  

From: Nigel Kendrick [mailto:support-li...@petdoctors.co.uk] 
Sent: Wednesday, November 11, 2009 3:26 PM
To: 'General list for user discussion,questions and support'
Subject: [BackupPC-users] Commas in filenames - a problem?


Hi,
 
I am trying to backup some documents associated with an old app that uses
the filename to associate the documents to customer records - for example,
here's the name of a Word document:
 
"Treatment Doc 10185, 051107.DOC"
 
In other words: this is a document associated with record 10185, written on
5th Nov 2007.
 
When I back them up from their linux-based host via rsyncd, every one of
these documents throws up a message in the rsyncd log like:
 
2009/11/11 14:52:14 [14349] file has vanished:
"/data/common/users/JUPVET_Docs/Text/Treatment Doc 10185, 051107.DOC" (in
server)
 
The backup is still running (there are thousands of documents to
check/backup), but is the comma in the name likely to be causing this? I
have only just added the users path to the backup and previous tests backing
up just /etc have worked fine. As the app is being taken out of service, I
may be able to rename all the docs if necessary.
 
Thanks
 
Nigel
 
 
 
 
 

Nigel Kendrick
IT Associate
Pet Doctors Ltd
Pet Doctors House
Drayton Lane, Merston
Chichester, West Sussex
PO20 1EL
Tel (direct): 01555 708 601
Fax: 01243 782 584

General IT support issues should be sent to supp...@petdoctors.co.uk

DISCLAIMER 

This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views or
opinions expressed are solely those of the author and do not necessarily
represent those of Pet Doctors Limited.

If you are not the intended recipient of this email, you must neither take
any action based upon its contents, nor copy or show it to anyone.

Please contact the sender if you believe you have received this email in
error. 

Pet Doctors Limited is a company registered in England and Wales, company
number 03769799. 
Registered office is Pet Doctors House, Drayton Lane, Merston, Chichester,
West Sussex PO20 1EL 

 
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Commas in filenames - a problem?

2009-11-11 Thread Nigel Kendrick
Hi,
 
I am trying to backup some documents associated with an old app that uses
the filename to associate the documents to customer records - for example,
here's the name of a Word document:
 
"Treatment Doc 10185, 051107.DOC"
 
In other words: this is a document associated with record 10185, written on
5th Nov 2007.
 
When I back them up from their linux-based host via rsyncd, every one of
these documents throws up a message in the rsyncd log like:
 
2009/11/11 14:52:14 [14349] file has vanished:
"/data/common/users/JUPVET_Docs/Text/Treatment Doc 10185, 051107.DOC" (in
server)
 
The backup is still running (there are thousands of documents to
check/backup), but is the comma in the name likely to be causing this? I
have only just added the users path to the backup and previous tests backing
up just /etc have worked fine. As the app is being taken out of service, I
may be able to rename all the docs if necessary.
 
Thanks
 
Nigel
 
 
 
 
 

Nigel Kendrick
IT Associate
Pet Doctors Ltd
Pet Doctors House
Drayton Lane, Merston
Chichester, West Sussex
PO20 1EL
Tel (direct): 01555 708 601
Fax: 01243 782 584

General IT support issues should be sent to supp...@petdoctors.co.uk

DISCLAIMER 

This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views or
opinions expressed are solely those of the author and do not necessarily
represent those of Pet Doctors Limited.

If you are not the intended recipient of this email, you must neither take
any action based upon its contents, nor copy or show it to anyone.

Please contact the sender if you believe you have received this email in
error. 

Pet Doctors Limited is a company registered in England and Wales, company
number 03769799. 
Registered office is Pet Doctors House, Drayton Lane, Merston, Chichester,
West Sussex PO20 1EL 

 
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Multiple Profiles for the same host

2009-11-11 Thread Kev
> Kev wrote:
>> I'm looking to backup some hosts which are behind a NAT gateway.
>>
>> Ports are forwarded on external ports to get ssh access to the clients
>> behind the gateway.
>>
>> i.e
>>
>> host:443 -> internalhost1:22
>> host:222 -> internalhost2:22
>>
>> I'm currently backing up one host already.
>>
>> I've just gone to add internalhost2 but its struck me that the host as
>> far
>> as  backuppc is concerned will be the same as the existing config in
>> place
>> for internalhost1.
>>
>> Is there any way round this?
>>
>> I should add I haven't actually tried to shove this through - it might
>> 'just work' but somehow I doubt it.
>
> Use the real hostname - or something that makes sense to you, then use
> the ClientAlias setting to set the real destination or IP address.

As easy as that!

Worked perfectly - thanks very much.

Kev




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Multiple Profiles for the same host

2009-11-11 Thread Les Mikesell
Kev wrote:
> I'm looking to backup some hosts which are behind a NAT gateway.
> 
> Ports are forwarded on external ports to get ssh access to the clients
> behind the gateway.
> 
> i.e
> 
> host:443 -> internalhost1:22
> host:222 -> internalhost2:22
> 
> I'm currently backing up one host already.
> 
> I've just gone to add internalhost2 but its struck me that the host as far
> as  backuppc is concerned will be the same as the existing config in place
> for internalhost1.
> 
> Is there any way round this?
> 
> I should add I haven't actually tried to shove this through - it might
> 'just work' but somehow I doubt it.

Use the real hostname - or something that makes sense to you, then use 
the ClientAlias setting to set the real destination or IP address.

-- 
   Les Mikesell
lesmikes...@gmail.com

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Multiple Profiles for the same host

2009-11-11 Thread Kev
I'm looking to backup some hosts which are behind a NAT gateway.

Ports are forwarded on external ports to get ssh access to the clients
behind the gateway.

i.e

host:443 -> internalhost1:22
host:222 -> internalhost2:22

I'm currently backing up one host already.

I've just gone to add internalhost2 but its struck me that the host as far
as  backuppc is concerned will be the same as the existing config in place
for internalhost1.

Is there any way round this?

I should add I haven't actually tried to shove this through - it might
'just work' but somehow I doubt it.

Kev


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Compression Issue

2009-11-11 Thread Les Mikesell
Tino Schwarze wrote:
> On Tue, Nov 10, 2009 at 03:42:53PM -0800, Heath Yob wrote:
> 
>> Excellent it looks that fixed it.
>>
>> That's kinda lame you can't just change the TopDir.
> 
> Well it's a typical bootstrap problem. Where are you supposed to find
> your configuration file if it's relative to ${TopDir}? Therefore
> ${TopDir} needs to be patched at certain places upon installation.
> 

And it is more of a packaging issue than a program problem.  If you install 
from 
the sourceforge code you get your choice of locations.  If you use a packaged 
version someone else has made this choice for you.   Since you normally want 
the 
archive on its own disk anyway, the simple approach would be to mount it at the 
package TopDir location before installing the package, but if it is your first 
install you probably won't know that yet.

-- 
Les Mikesell
 lesmikes...@gmail.com

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Unable to read 4 bytes

2009-11-11 Thread Micha Silver




Stephen Vaughan wrote:
I would say its a file permissions error on the server in
which your restoring to.
  

OK, slap me over the head with a wet fish.
I had "read  in rsyncd.conf for one of the rsync modules at
the remote server...
Thanks for pointing me in the right direction.
 

  On Sun, Nov 1, 2009 at 9:06 PM, Micha Silver
   wrote:
  I
am unable to restore to linux servers. Backups are running fine, and I
rechecked that I can ssh as user backuppc from the backup server (Centos
5.4) directly to the clients (also Centos).  Furthermore, I can run
rsync as the backuppc user successfully upload files to the client.


Here's what appears in the LOG:


2009-11-01 11:31:17 User admin requested restore to my (my)
2009-11-01 11:31:17 Started restore on my (pid=10317)
2009-11-01 11:31:19 Restore failed on my (Unable to read 4 bytes)
2009-11-01 11:31:19 my: File::RsyncP::FileList::encode: missing rdev on
device file var/run/dbus/system_bus_socket

What am I missing??

Thanks,

Micha


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

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


  
  
  
  
  
-- 
Best Regards,
Stephen
  
This mail was received via Mail-SeCure System.
  

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
This mail was received via Mail-SeCure System.


  
  

___
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 mail was received via Mail-SeCure System.


  





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] how to send email in backupPC notifying about the backup failure status

2009-11-11 Thread ganesh gunasekaran
Hi,
I am beginner I need help in configuring backuppc to send emails to admin
when backup  failure occurs
 I am using Ubuntu 9.0 and latest stable version of BackupPC
All i wrote is email address of client and admin in client config file
ie in 
EMailFromUserName
and 
EMailAdminUserName
what is that i have to write under
DumpPostUserCmdof
admin config file in order to send failure status to admin's mail ID

thanks
ganesh
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Compression Issue

2009-11-11 Thread Tino Schwarze
On Tue, Nov 10, 2009 at 03:42:53PM -0800, Heath Yob wrote:

> Excellent it looks that fixed it.
> 
> That's kinda lame you can't just change the TopDir.

Well it's a typical bootstrap problem. Where are you supposed to find
your configuration file if it's relative to ${TopDir}? Therefore
${TopDir} needs to be patched at certain places upon installation.

HTH,

Tino.

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

www.lichtkreis-chemnitz.de
www.tisc.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] why total files != new files + existing files

2009-11-11 Thread ADNET Ghislain

nobody does reporting after the backups ?

if you do, are you understanding the numbers backuppc gives because i 
really do not and i can't make an even simple report out of this.


Anyone ever succeded in this ?


--
Cordialement,
Ghislain


smime.p7s
Description: S/MIME Cryptographic Signature
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup fails after running 8-10 hours

2009-11-11 Thread Tyler J. Wagner
On Tuesday 10 November 2009 19:57:11 Nick Bright wrote:
> The system itself is a cPanel hosting server, and hasn't had anything
> special done to it. Let me put it this way - I didn't do anything to
> knowingly create "a lot" of hardlinks. I'm sure there's some, but
> probably not an unusually high number.

I run BackupPC on two cPanel servers.  If you aren't limiting rsync to one 
filesystem, be sure to exclude /home/virtfs/*.  These are rbind mounts, not 
hardlinks, and they are mounted dynamically as users login.

Related:

http://www.tolaris.com/2009/10/28/moving-cpanel-services-and-homevirtfs/

Sorry to go a bit off topic, all.

Tyler


-- 
"Go into emptiness, strike voids, bypass what he defends, hit him where
he does not expect you."
   -- Sun Tzu

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] New versions of Shadowmountrsync with Windoze ACLand cygwin 1.7 support posted to Wiki

2009-11-11 Thread Anand Gupta
Thanks for the same.

--
Thanks and Regards,

Anand Gupta

-Original Message-
From: "Jeffrey J. Kosowsky" 
Date: Wed, 11 Nov 2009 02:31:35 
To: General list for user discussion
Subject: [BackupPC-users] New versions of Shadowmountrsync with Windoze ACL
 and cygwin 1.7 support posted to Wiki

I have posted the latest versions of 'shadowmountrsync' and the
one-liner cmd.exe helper script 'shadowexec.cmd' to the Backuppc Wiki.

https://sourceforge.net/apps/mediawiki/backuppc/index.php?title=User_Scripts_-_Client_-_Windows_VSS

To paraphrase the Wiki:

Shadowmountrsync automatically sets up Window shadow copies, mounts
them, and launches the rsync daemon without requiring any special
configuration or changes to your existing (non-shadow) rsyncd.conf
script. It also cleanly unwinds all the above when you are done
rsyncing your files. As a result, you should now be able to back up
any (and all) files that are locked under Windows such as registry
files (e.g. ntuser.dat) and databases (e.g. Outlook).

The latest version of the script also optionally dumps gzipped
versions of the ACLs (either in 'getfacl' and/or 'subinacl' format)
for each drive for automatic inclusion in each share backup. 

The latest version also includes a number of minor bug fixes and
extensions.

The Change Log is as follows:
 0.4.0 Updated for new Cygwin which doesn't like Win32 paths
 0.4.1 Allow arbitrary cygdrive path prefixes ${CYGDRIVEPREFIX}
 0.4.5 Add option to backup ACL's on each volume pre shadow/rsync launch
   Changed '--strict' option to '--expire' -- see details
   Bug fixes, code cleanup, additional logging instrumentation
 0.4.5.1 Added ability to backup ACLs using 'subinacl' in addition to 'getfacl'

If you have trouble downloading or using these scripts or if you find
bugs or have enhancement requests, please post to the BackupPC mailing
list and I will try to help.

More generally, feedback and bug reports are always welcome.

Jeff

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] UPDATED: Backuppc/rsync fails to preserve/detect hard links on Windows - NOT A PROBLEM

2009-11-11 Thread Jeffrey J. Kosowsky
Craig Barratt wrote at about 23:19:38 -0800 on Tuesday, November 10, 2009:
 > Jeffrey,
 > 
 > I'm not sure what is going on here.  But the example you show appears to
 > show different files from the ones in /c/cygwin/usr/share/man/man1.
 > 
 > The files you copied with rsync are:
 > 
 > > ls -inl
 > > total 184
 > > 1130522 -rw-r--r-- 2 501 501 78716 Jul 24 08:57 gawk.1
 > > 1130521 -rw-r--r-- 1 501 501  1160 Jul 24 08:57 igawk.1
 > > 1130522 -rw-r--r-- 2 501 501 78716 Jul 24 08:57 pgawk.1
 > 
 > but the BackupPC_attribPrint output shows that gawk.1
 > has size 78211 (vs 78716) and mode 0700 (vs 644).
 > 
 > Is the BackupPC data coming from a different directory
 > or host?

Good eyes and good catch.
For some reason it seems like I was looking at an old backup version
before I recently upgraded cygwin. The hard links were missing from
that older version.

In any case, all seems to be working fine. And to be sure the rsync
method is properly catching hard links and cygwin symbolic links. SO
all is good - sorry for the false alarm!

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] New versions of Shadowmountrsync with Windoze ACL and cygwin 1.7 support posted to Wiki

2009-11-11 Thread Mirco Piccin
> I have posted the latest versions of 'shadowmountrsync' and the
> one-liner cmd.exe helper script 'shadowexec.cmd' to the Backuppc Wiki.

...and of course, thanks for your job!
Regards
M
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] New versions of Shadowmountrsync with Windoze ACL and cygwin 1.7 support posted to Wiki

2009-11-11 Thread Mirco Piccin
Hi,

https://sourceforge.net/apps/mediawiki/backuppc/index.php?title=User_Scripts_-_Client_-_Windows_VSS
>

to visit this wiki page authentication is required.
To access this resource without auth, use http protocol :-D

So:
http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=User_Scripts_-_Client_-_Windows_VSS

Regards
M
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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/