[BackupPC-users] Howto backup extended attributes as in RHEL

2013-12-19 Thread s . abeln
Hi,

I'm new to BackupPC and I have a problem with my setup.
We want to backup a RHEL6 machine which has by default SELinux enabled and 
therefore ist uses the extended attributes.
As xfer method I've selected rsync but when I try to add one of the parameters 
(--acls and --xattrs) for backing up the extended attributes the backup starts 
but it doesn't backup anything.
Any suggestions?

Cheers

Stefan




---
Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! 
http://email.freenet.de/basic/Informationen

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] first time full and then only increamental backup

2013-12-19 Thread Arnold Krille
Am Wed, 18 Dec 2013 03:42:35 -0800
schrieb niraj_vara :

> HI
> 
>   I have centos 5.6 and backuppc version is 3.2.1. its working fine.
> I want to set like when I add a backup pc the backuppc first time
> take the full backup and then after everytime it will take only the
> increamental backup. 

The behaviour you want is already there. Just use the rsync-transfer.
(And maybe activate the --checksum option as explained in the docs.)

Then the first full will be a full, second full and following will be a
comparison of remote and backuppc's filelist with respect to
modification-date _and_ checksum. So files will be transfered if they
have changes in meta-data and even if they only have changes in the data
itself.
Incrementals will always just transfer files with changed meta-data.

This is different when you use smb- or tar-transfer, there a full is a
full transfering everything...

Have fun,

Arnold


signature.asc
Description: PGP signature
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] first time full and then only increamental backup

2013-12-19 Thread Carl Cravens
This is something it took me two years of using BackupPC before I realized... 
BackupPC doesn't treat "full" and "incremental" quite the way you expect.

When BackupPC does an rsync incremental, it compares to the last full for 
purposes of deciding what to download and *then* does deduplication against the 
pool.

If you do a full on Sunday, and then a user saves a 100G file to the client, 
every rsync incremental will transfer the entirety of that 100G of data, over 
and over, until that file is backed up in the next full.  So if you take one 
full and never take a full again, your incremental sizes will keep growing, and 
BackupPC will keep downloading the same data over and over.

If you do what you want, you'll actually be creating the problem you're trying 
to avoid.

rsync full backups don't download all the raw data every time... the main 
reason they take longer is running checksums against every file instead of just 
the files that have changed meta-data.  If a full transferred all the data 
every time, full backups of my remote server would take hours instead of 30 
minutes.  It's still taking advantage of rsync to not transfer bytes it doesn't 
need.

--
Carl D Cravens (ra...@phoenyx.net)
"Then I will smite thee with adware!" - Bucky Katt


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC for laptops?

2013-12-19 Thread Carl Cravens
On 12/04/2013 01:34 PM, Russell R Poyner wrote:
> In my new position I'm looking for options for backing up laptops and
> tablets. Most of these machines rarely connect to our wired network or
> vpn.

We solved this by creating a script on the client side that rsync's the user's 
data to a central file server (which is backed up by BackupPC).  That way the 
client has control over when the backup runs.  The user actually has control... 
they get a pop-up when the client wants to do a backup, and they have the 
option of postponing it, in case they're on a slow connection.  They can 
manually launch it at any time, as well.  (And they get a warning... it's on 
their own head if they postpone the backups indefinitely and then want us to 
recover a file they never allowed to be backed up.)

We opened a (alternate) port in the firewall for rsync (via ssh) to connect to 
the file server, and the .authorized_keys entry restricts the connection to 
running the specific rsync server-mode on a specific directory.  So the laptops 
come through the firewall and don't have to be connected to VPN to do a backup.

I can share the code for all that if anybody's interested.


For Android tablets, I use FolderSync, by Tacit Dynamics.  (It's not doing an 
"Android" backup.  If you want that, there are specific apps for that.  I use 
My Backup Pro, by Rerware.)

FolderSync supports Dropbox, Sugar, etc, but I use it over SFTP to our own 
server.  It supports two-way sync, and I use it to sync a data directory.  I 
can drop files on the "network" side and they appear on my tablet 
automatically, and vice-versa.  Sadly, it doesn't yet support rsync, but the 
author is planning to add it.  It's pretty good, but it can't do file 
comparisons... it transfers the whole file if any meta-data changes.

For iOS... well, those users are SOL.  IT never said we'd support them.

-- 
Carl D Cravens (ra...@phoenyx.net)
Talk is cheap because supply inevitably exceeds demand.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
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] backuppc separate access for each server

2013-12-19 Thread isubhransu
In our organization we need to confirm our clients that their servers are being 
backed up regularly by giving them access to thier server backup. 
We have just started using backuppc and as far as I researched/know backuppc do 
not have that feature. Correct me if I am wrong provide me in what way we can 
use backuppc to acheive our goal(give separate access to each server backup to 
respective clients, without exposing other servers backup data)? 

Thanks 
Subhransu

+--
|This was sent by isubhra...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] backuppc separate access for each server

2013-12-19 Thread Les Mikesell
On Thu, Dec 19, 2013 at 11:39 AM, isubhransu
 wrote:
> In our organization we need to confirm our clients that their servers are 
> being backed up regularly by giving them access to thier server backup.
> We have just started using backuppc and as far as I researched/know backuppc 
> do not have that feature. Correct me if I am wrong provide me in what way we 
> can use backuppc to acheive our goal(give separate access to each server 
> backup to respective clients, without exposing other servers backup data)?

If you provide web logins for different users (normally htpasswd
entries, but apache has many authentication options) and specify those
user names in the appropriate backuppc hosts entries, each user should
only see his own host(s) om the web interface while anyone with admin
access will see them all and be able to add more hosts.

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

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
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] Rsync on Windows 8 - Service Logon Failure?

2013-12-19 Thread threehappypenguins
I'm running Windows 8 and I am really having trouble understanding what on 
earth I'm supposed to do. I am following this tutorial: 
http://www.gaztronics.net/howtos/rsync-windows.php

I successfully installed Cygwin and installed the appropriate packages, but I 
don't understand how to do this:

Method 2. Step 2: Choose an area to backup the files to. (In this example I 
have used /var/rsync_dump in the Cygwin tree.)
Method 2. Step 3: Create the /etc/rsyncd.conf file, as in the example below: 
(and then it shows the example)

So I assumed that he meant to open Windows explorer and manually create the 
/var/rsync_dump folders as sub folders in the folder cygwin (in my case, it's 
cygwin64). And then I created the sub folder /etc/. Then I wasn't  sure what to 
do about the rsyncd.conf so I opened notepad, copied and pasted the "example" 
(but changed the path to cygwin64), saved it with the appropriate file name, 
then changed the extension to .conf and moved that to the "etc" folder.

Then I followed step 4 (it finally worked after I gave some permissions using 
command prompt first).

Then he said: Method 2. Step 5 Install Rsync as a Service from a 'Command 
Prompt' window with the following command line:

I had assumed that he meant the command prompt that in windows. I ran it as an 
Administrator and I tried putting the line for Windows XP (changing cygwin to 
cygwin64 where appropriate). I got the following result:

'cygrunsrv.exe' is not recognized as an internal or external command, operable 
program or batch file.

So then I ran the cygwin terminal as an Administrator. I put in the line the 
tutorial gave and nothing happened. So I assumed it worked, because when I put 
it in again, it said that it couldn't do it because the service was already 
running. So then I put "net start rsync". I got the following result:

The service did not start due to a logon failure.

I right clicked on Computer and clicked on Manage. I found the rsync service 
and saw that it was set to run Automatically, but it wasn't running. I tried to 
start it and it said the exact same thing as in the cygwin terminal.

So I'm totally at a loss! Any ideas as to where I'm going wrong?

+--
|This was sent by threehappypengu...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] backuppc separate access for each server

2013-12-19 Thread Henry Burroughs
Depending on how you are running it, I would probably run separate BackupPC
VMs and storage as well. That way you can assure your clients that their
files are not mingling with other clients.

Henry


On Thu, Dec 19, 2013 at 12:39 PM, isubhransu <
backuppc-fo...@backupcentral.com> wrote:

> In our organization we need to confirm our clients that their servers are
> being backed up regularly by giving them access to thier server backup.
> We have just started using backuppc and as far as I researched/know
> backuppc do not have that feature. Correct me if I am wrong provide me in
> what way we can use backuppc to acheive our goal(give separate access to
> each server backup to respective clients, without exposing other servers
> backup data)?
>
> Thanks
> Subhransu
>
> +--
> |This was sent by isubhra...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
>
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> ___
> 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/
>
>


-- 
Henry B. Burroughs, III
Director of Technology
St. John's Episcopal Parish Day School
www.stjohnseagles.org
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
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] Rsync on Windows 8 - Service Logon Failure?

2013-12-19 Thread Les Mikesell
On Thu, Dec 19, 2013 at 11:49 AM, threehappypenguins
 wrote:
>
> I had assumed that he meant the command prompt that in windows. I ran it as 
> an Administrator and I tried putting the line for Windows XP (changing cygwin 
> to cygwin64 where appropriate). I got the following result:
>
> 'cygrunsrv.exe' is not recognized as an internal or external command, 
> operable program or batch file.

The cygwin programs are not in you usual windows PATH.

> So then I ran the cygwin terminal as an Administrator. I put in the line the 
> tutorial gave and nothing happened. So I assumed it worked, because when I 
> put it in again, it said that it couldn't do it because the service was 
> already running. So then I put "net start rsync". I got the following result:
>
> The service did not start due to a logon failure.
>
> I right clicked on Computer and clicked on Manage. I found the rsync service 
> and saw that it was set to run Automatically, but it wasn't running. I tried 
> to start it and it said the exact same thing as in the cygwin terminal.

I haven't used windows 8 but I think it makes it hard to do things
with administrator rights.   According to this:
http://technet.microsoft.com/en-us/library/cc755249.aspx
you should still be able to configure the service to log on as a user
with access to the files.

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

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
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] Rsync on Windows 8 - Service Logon Failure?

2013-12-19 Thread threehappypenguins
I haven't used windows 8 but I think it makes it hard to do things 
with administrator rights. According to this: 
http://technet.microsoft.com/en-us/library/cc755249.aspx 
you should still be able to configure the service to log on as a user 
with access to the files. 

-- 
Les Mikesell 
lesmikesell < at > gmail.com 




YES!!! You're a genius! :)

I followed the link you gave, went through the instructions went to Manager and 
opened the services list, right clicked on Rsync, went to properties, went to 
the "log on" tab, typed in the Administrator password and BINGO, I was able to 
start it! Thanks!

+--
|This was sent by threehappypengu...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
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] first time full and then only increamental backup

2013-12-19 Thread niraj_vara
Hi

   Let me clear why I doing the same. I am using the rsync command sinc very 
long time.

My concern is Right now In backuppc default is that it will take a full backup 
and then increamnetal backup for the few days. and then after again take a full 
backup and then increamnetal backup for some days .. this will go on ..

For example if one of user having a 100GB data that backuppc taking the backup 
of that user.

so what happened in this condition first time taking 100 GB data suppose its 
taking a 4-5 hours first time!!
second,third,fourth and so on  it will take the increamental so the time 
will be very less time   right 
But in backuppc after 6 backup its taking again full backup ...! will take 
4-5 hours !!! why this required !


instead I want that it will take only the increamental backup so the time will 
be less ! and we have already the full backup so it will take only the 
whatever updated !!! so time will be less  and less resource will be used both 
end !!! right ???

That's why I want to go for the increamental backup !! Please correct if I 
wrong.

+--
|This was sent by niraj.v...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] first time full and then only increamental backup

2013-12-19 Thread Adam Goryachev
On 20/12/13 15:30, niraj_vara wrote:
> Hi
>
>Let me clear why I doing the same. I am using the rsync command sinc very 
> long time.
>
> My concern is Right now In backuppc default is that it will take a full 
> backup and then increamnetal backup for the few days. and then after again 
> take a full backup and then increamnetal backup for some days .. this 
> will go on ..
>
> For example if one of user having a 100GB data that backuppc taking the 
> backup of that user.
>
> so what happened in this condition first time taking 100 GB data suppose its 
> taking a 4-5 hours first time!!
> second,third,fourth and so on  it will take the increamental so the time 
> will be very less time   right 
> But in backuppc after 6 backup its taking again full backup ...! will 
> take 4-5 hours !!! why this required !
>
>
> instead I want that it will take only the increamental backup so the time 
> will be less ! and we have already the full backup so it will take only 
> the whatever updated !!! so time will be less  and less resource will be used 
> both end !!! right ???
>
> That's why I want to go for the increamental backup !! Please correct if I 
> wrong.

The reason backuppc takes so long for the additional full backup is
because it verifies that the *content* of every file is actually correct
(matches between server and client).

You should enable checksum-seed, and this will reduce full backup times
*after* the 2nd or 3rd full backup.

However, ultimately it will depend on how quickly the client (machine
being backed up) can read the entire contents from it's disk and compute
the checksums Also if the client or backup server has insufficient
RAM (ie lots of files) then this will slow things down too.

So, if a full backup is still taking too long for your backup window,
then you should find out why and fix that problem, or else reduce the
performance impact of backups so that it doesn't matter how long they
take, or make sure you understand *why* a full backup takes so long, and
what you will not backup if you only do incremental backups (and/or
remove the ignore-times option from the backuppc code for full backups).
Each option has risks, you need to understand those risks before making
the decision.

Regards,
Adam

-- 
Adam Goryachev
Website Managers
www.websitemanagers.com.au


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
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/