Re: [BackupPC-users] BackupPC_tarCreate failed

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 4:39 AM, David Rotger  wrote:
> It's strange, because via web they do the backup and I can download the tar
> or zip archive. The problem is when I try to restore to the original
> destination/folder.
>

If you look down on the localhost web page there should be logs of
each restore attempt.  Those may tell you why it failed.  If you
aren't using ssh as root for the connection  like you would for other
hosts you may not have permission to write.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread Carl Wilhelm Soderstrom
On 01/14 07:14 , David Rotger wrote:
> when I type the command they exit to the help menú...
> 
> $ ./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb >
> /tmp/localhost_restore.tar

The '-4' is part of the problem. '-1' would be the last backup, no matter
its number. Otherwise you have to explicitly specify which backup number you
want to restore from (such as '4' for backup number 4).

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] BPC 4 very slow

2016-01-14 Thread Holger Parplies
Hi,

much has been said in this thread, but I believe this has not:
You do realize that BackupPC 4.x is alpha software, right? You're lucky if it
works at all, you should be surprised if it performs well, and you're not
using it in a production environment anyway, right? Ok, the reality might not
be quite as bad, but you need to be aware that version 4 is not a newer
version 3 with some improvements, it is basically a re-write with a whole new
concept behind it.

If you are looking for something stable, I'd recommend BackupPC 3.x, which
you'll undoubtedly also get more and better support for here, if you even
need it. And yes, it *will* be slower than native rsync.

For me (and, I believe, for many others), version 3 (and even version 2!) works
so well that there is no reason to move to version 4.

Hope that helps.

Regards,
Holger

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread Adam Goryachev


On 14/01/2016 17:14, David Rotger wrote:
> when I type the command they exit to the help menú...
>
> $ ./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb > 
> /tmp/localhost_restore.tar
> usage: ./BackupPC_tarCreate [options] files/directories...
Hi,

I think your usage is wrong, try this:

./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb / > 
/tmp/localhost_restore.tar

The extra / will represent which files/folders to restore, I haven't 
tested it, but I think it should work.

Regards,
Adam

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread David Rotger
It's strange, because via web they do the backup and I can download the tar
or zip archive. The problem is when I try to restore to the original
destination/folder.


2016-01-14 11:14 GMT+01:00 David Rotger :

> I try your usage and they still exit to the help menú...
>
> it's requeried that /mnt/smb could be a samba share? because they don't,
> it's only a localhost folder that I want to backup.
>
> thanks.
>
> 2016-01-14 10:33 GMT+01:00 Adam Goryachev <
> mailingli...@websitemanagers.com.au>:
>
>>
>>
>> On 14/01/2016 17:14, David Rotger wrote:
>> > when I type the command they exit to the help menú...
>> >
>> > $ ./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb >
>> > /tmp/localhost_restore.tar
>> > usage: ./BackupPC_tarCreate [options] files/directories...
>> Hi,
>>
>> I think your usage is wrong, try this:
>>
>> ./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb / >
>> /tmp/localhost_restore.tar
>>
>> The extra / will represent which files/folders to restore, I haven't
>> tested it, but I think it should work.
>>
>> Regards,
>> Adam
>>
>>
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>> ___
>> 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/
>>
>
>
>
> --
> David Rotger
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread David Rotger
I try your usage and they still exit to the help menú...

it's requeried that /mnt/smb could be a samba share? because they don't,
it's only a localhost folder that I want to backup.

thanks.

2016-01-14 10:33 GMT+01:00 Adam Goryachev <
mailingli...@websitemanagers.com.au>:

>
>
> On 14/01/2016 17:14, David Rotger wrote:
> > when I type the command they exit to the help menú...
> >
> > $ ./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb >
> > /tmp/localhost_restore.tar
> > usage: ./BackupPC_tarCreate [options] files/directories...
> Hi,
>
> I think your usage is wrong, try this:
>
> ./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb / >
> /tmp/localhost_restore.tar
>
> The extra / will represent which files/folders to restore, I haven't
> tested it, but I think it should work.
>
> Regards,
> Adam
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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] Creating a "read everywhere" user to backup Windows profiles

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 8:43 AM, Andreas Piening
 wrote:
>
>> Isn't there a specific "Backup Operator" account on windows which has
>> "super" permissions for exactly this reason? I'm not sure if that
>> account will work over samba though?
>>
> At least not by that name, there is for example a „SYSTEM“ user which seems 
> to have access everywhere. It doesn’t have a password and does not show up in 
> the normal users list. Maybe it is possible to „enable“ this user so that the 
> account can be used with CIFS / SMB to get access.
> Does anyone use SMB to backup the whole system drive or the /Users dir? Or is 
> the only real option to install a rsyncd with cygwin or something like that?
> I’m trying to get backups with SMB working since I want to be as less 
> intrusive to the clients as I can. Means: No additional software installed, 
> no additional services. Just crating a share and that’s it.

Backup Operator (and Administrator) are groups you can add to the user
to give additional permissions.  If you are in an Active Directory
environment you would need to join the domain and have domain
credentials, though.   I'd recommend setting up rsync anyway because
it does a better job of tracking renames, changed files with old
timestamps, and deletions.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 3:26 PM, David Rotger  wrote:
> Contents of file /var/lib/backuppc/pc/localhost/XferLOG.2.z, modified
> 2016-01-14 22:26:45
>
> Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /data --totals .
> full backup started for directory /data
> Xfer PIDs are now 23840,23839
> Total bytes written: 1832960 (1.8MiB, 27MiB/s)
>   create   777   0/0   0 .
>   pool 777   0/0 1823814 david1.bmp
> tarExtract: Done: 0 errors, 1 filesExist, 1823814 sizeExist, 42057
> sizeExistComp, 1 filesTotal, 1823814 sizeTotal
>

I looks like the backup command is not using ssh - or anything to get
root priviliges.  It should only backup files that are readable by the
backuppc user.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] Creating a "read everywhere" user to backup Windows profiles

2016-01-14 Thread Michael Stowe
On 2016-01-14 15:06, Stefan Peter wrote:
> On 14.01.2016 00:13, Adam Goryachev wrote:
>> On 14/01/16 07:11, Andreas Piening wrote:
>>> I wonder what the easiest / best way is to create a „read everywhere“ 
>>> user on ms windows to create backups with via CIFS / SMBFS.
>>> 
>>> Ideally I would like to run a short .cmd script or do a couple of 
>>> clicks to give a local windows user (let’s assume ‚backuppc‘) full 
>>> read access to everything under c:\Users. Even better with write 
>>> access to be able to restore in place.
>>> I know that I can enable inheritance for permissions in c:\Users and 
>>> overwrite all permissions on subfolders with the current one. But 
>>> this would also enable read for everyone for every user on other 
>>> users profiles which I don’t like. And even this does not work 
>>> everywhere, even not with an administrative account. I need to take 
>>> ownership recursively in order to do that and I don’t want to own 
>>> other users files.
>>> 
>>> Is there a better way?
>> 
>> Isn't there a specific "Backup Operator" account on windows which has
>> "super" permissions for exactly this reason? I'm not sure if that
>> account will work over samba though?
> 
> Additionally, isn't there something like junction points on windows 
> that
> can not be read by an ordinary user? I seem to remember that there have
> been lists floating around on this mailing list with directories to
> exclude for the various windows versions.
> 
> A list of failure messages encountered by you may help, btw.
> 
> With kind regards
> 
> Stefan Peter

There may be some confusion in the difference between what NTFS/Windows 
supports and what is supported through CIFS/Samba and its protocols 
(which, I should note, differs from version to version.)

For example, NTFS supports hard links and soft links -- though hard 
links show up simply as additional copies of the files, and soft links 
only work when using SMB2 or later (you'll get a permission error on 
earlier versions.)

You're probably thinking of directory junctions, which are soft links, 
but newer versions of Windows also came with default directory junctions 
which by default are generally restricted to being opened only by the 
system account and local administrators.  Unlike *nix symbolic directory 
links, a directory junction in Windows can have its own security 
settings (and routinely do, in this case) though a better practice is 
probably to back up the link itself and back up the data from its actual 
location.  (The latter, at least, is possible via samba.)

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] Creating a "read everywhere" user to backup Windows profiles

2016-01-14 Thread Andreas Piening

> Am 14.01.2016 um 16:44 schrieb Les Mikesell :
> 
> On Thu, Jan 14, 2016 at 8:43 AM, Andreas Piening
>  wrote:
>> 
>>> Isn't there a specific "Backup Operator" account on windows which has
>>> "super" permissions for exactly this reason? I'm not sure if that
>>> account will work over samba though?
>>> 
>> At least not by that name, there is for example a „SYSTEM“ user which seems 
>> to have access everywhere. It doesn’t have a password and does not show up 
>> in the normal users list. Maybe it is possible to „enable“ this user so that 
>> the account can be used with CIFS / SMB to get access.
>> Does anyone use SMB to backup the whole system drive or the /Users dir? Or 
>> is the only real option to install a rsyncd with cygwin or something like 
>> that?
>> I’m trying to get backups with SMB working since I want to be as less 
>> intrusive to the clients as I can. Means: No additional software installed, 
>> no additional services. Just crating a share and that’s it.
> 
> Backup Operator (and Administrator) are groups you can add to the user
> to give additional permissions.  If you are in an Active Directory
> environment you would need to join the domain and have domain
> credentials, though.   I'd recommend setting up rsync anyway because
> it does a better job of tracking renames, changed files with old
> timestamps, and deletions.
> 
> -- 
>   Les Mikesell
> lesmikes...@gmail.com

Oh you’re right, there is such a Group (the name is localized …). I added a 
local user to both groups: Administrator and Backup Operator but when I do a 
backup of a share for the folder c:\Users I still get NT_STATUS_ACCESS_DENIED 
for a lot of subfolders.
This was the case in my test with the Windows 7 Pro machine in a workgroup, and 
again with the same machine added to a AD domain. Same behavior.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] BPC 4 very slow

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 11:28 AM, Holger Parplies  wrote:
>
> For me (and, I believe, for many others), version 3 (and even version 2!) 
> works
> so well that there is no reason to move to version 4.
>

I have to agree with that.  Really about the only issue people have
with v3 is that if you ever want to copy the entire archive tree to a
new system or to make an offsite copy it is a problem for
file-oriented copy methods to recreate the large number of hardlinks.

The changes in v4 may help some situations, but I wonder if the
attempt to locate existing matching content from different locations
might waste time where there are large numbers of tiny files.

If you do try v3, note that using the checksum-seed=32761 option will
speed up full runs but you won't see the difference until the 3rd
full.  That is, the block checksums are cached on the 2nd full copy of
a file and then subsequently used so the server side does not have to
uncompress and recompute them.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread David Rotger
The log file:

2016-01-14 20:46:45 restore started below directory /mnt/smb
2016-01-14 20:46:49 restore failed (BackupPC_tarCreate failed)



2016-01-14 20:47 GMT+01:00 David Rotger :

> No... they still show me the help menú. Only create a 0 bytes '
> localhost_restore.tar '
>
>
>
> 2016-01-14 18:23 GMT+01:00 Carl Wilhelm Soderstrom :
>
>> On 01/14 07:14 , David Rotger wrote:
>> > when I type the command they exit to the help menú...
>> >
>> > $ ./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb >
>> > /tmp/localhost_restore.tar
>>
>> The '-4' is part of the problem. '-1' would be the last backup, no matter
>> its number. Otherwise you have to explicitly specify which backup number
>> you
>> want to restore from (such as '4' for backup number 4).
>>
>> --
>> Carl Soderstrom
>> Systems Administrator
>> Real-Time Enterprises
>> www.real-time.com
>>
>>
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>> ___
>> 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/
>>
>
>
>
> --
> David Rotger
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread David Rotger
No... they still show me the help menú. Only create a 0 bytes '
localhost_restore.tar '



2016-01-14 18:23 GMT+01:00 Carl Wilhelm Soderstrom :

> On 01/14 07:14 , David Rotger wrote:
> > when I type the command they exit to the help menú...
> >
> > $ ./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb >
> > /tmp/localhost_restore.tar
>
> The '-4' is part of the problem. '-1' would be the last backup, no matter
> its number. Otherwise you have to explicitly specify which backup number
> you
> want to restore from (such as '4' for backup number 4).
>
> --
> Carl Soderstrom
> Systems Administrator
> Real-Time Enterprises
> www.real-time.com
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread David Rotger
This is'nt a samba share, it's only a localhost folder. And they have 777
permissions.

2016-01-14 21:21 GMT+01:00 Les Mikesell :

> On Thu, Jan 14, 2016 at 2:03 PM, David Rotger 
> wrote:
> > This one?
> >
> > Contents of file /var/lib/backuppc/pc/localhost/RestoreLOG.22.z, modified
> > 2016-01-14 20:46:49 (Extracting only Errors)
> >
> > Running: /usr/bin/ssh -q -x -l root localhost env LC_ALL=C /bin/tar -x -p
> > --numeric-owner --same-owner -v -f - -C /mnt/smb
> > Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 10 -s
> > /mnt/smb -t /david1.bmp
> > Xfer PIDs are now 22510,22511
> > Tar exited with error 65280 () status
> > restore failed: BackupPC_tarCreate failed
>
> Yes, that one - or the one that shows the whole thing, not just the
> errors.  I don't think you mentioned that this was an smb share which
> I'm guessing from the name.   Does root  have write access there or is
> this a read-only mount?   There may also be some quirks with tar
> trying to reproduce the original owner id since smb mounts typically
> just have one set of credentials.
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 2:55 PM, David Rotger  wrote:
> Okey, seems that ssh works. I've changed the backup directory for /data and
> make a new backup. The error persist.
>
> P.D.: When I do the ssh from backuppc to root@localhost they prompy me a
> password, is normal!??!

No, if the keys are set up correctly you should not have a password
prompt.  Look at the log file for a successful backup run and see if
it is using a similar ssh command to start.

By the way, if you just want a single file you should be able to use
the backupPC_zcat command line tool just giving the path to the source
(in the pc/backup_number tree) and redirecting the output to the
destination file.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread David Rotger
The user backuppc ask for a password when I try to conenct via ssh.


2016-01-14 22:06 GMT+01:00 Les Mikesell :

> On Thu, Jan 14, 2016 at 2:55 PM, David Rotger 
> wrote:
> > Okey, seems that ssh works. I've changed the backup directory for /data
> and
> > make a new backup. The error persist.
> >
> > P.D.: When I do the ssh from backuppc to root@localhost they prompy me a
> > password, is normal!??!
>
> No, if the keys are set up correctly you should not have a password
> prompt.  Look at the log file for a successful backup run and see if
> it is using a similar ssh command to start.
>
> By the way, if you just want a single file you should be able to use
> the backupPC_zcat command line tool just giving the path to the source
> (in the pc/backup_number tree) and redirecting the output to the
> destination file.
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread Michael Stowe
On 2016-01-14 14:55, David Rotger wrote:
> Okey, seems that ssh works. I've changed the backup directory for
> /data and make a new backup. The error persist.
> 
> P.D.: When I do the ssh from backuppc to root@localhost they prompy me
> a password, is normal!??!

It's one thing that causes the tar 65280() error, if that's what you're 
asking.

> Contents of file /var/lib/backuppc/pc/localhost/RestoreLOG.27.z,
> modified 2016-01-14 21:52:41 (Extracting only Errors)
> 
> Running: /usr/bin/ssh -q -x -l root localhost env LC_ALL=C /bin/tar -x
> -p --numeric-owner --same-owner -v -f - -C /data
> Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 14
> -s /data -t /
> Xfer PIDs are now 23438,23439
> Tar exited with error 65280 () status
> restore failed: BackupPC_tarCreate failed

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] Creating a "read everywhere" user to backup Windows profiles

2016-01-14 Thread Stefan Peter
On 14.01.2016 00:13, Adam Goryachev wrote:
> On 14/01/16 07:11, Andreas Piening wrote:
>> I wonder what the easiest / best way is to create a „read everywhere“ user 
>> on ms windows to create backups with via CIFS / SMBFS.
>>
>> Ideally I would like to run a short .cmd script or do a couple of clicks to 
>> give a local windows user (let’s assume ‚backuppc‘) full read access to 
>> everything under c:\Users. Even better with write access to be able to 
>> restore in place.
>> I know that I can enable inheritance for permissions in c:\Users and 
>> overwrite all permissions on subfolders with the current one. But this would 
>> also enable read for everyone for every user on other users profiles which I 
>> don’t like. And even this does not work everywhere, even not with an 
>> administrative account. I need to take ownership recursively in order to do 
>> that and I don’t want to own other users files.
>>
>> Is there a better way?
> 
> Isn't there a specific "Backup Operator" account on windows which has 
> "super" permissions for exactly this reason? I'm not sure if that 
> account will work over samba though?

Additionally, isn't there something like junction points on windows that
can not be read by an ordinary user? I seem to remember that there have
been lists floating around on this mailing list with directories to
exclude for the various windows versions.

A list of failure messages encountered by you may help, btw.

With kind regards

Stefan Peter

-- 
Any technology that does not appear magical is insufficiently advanced.
~ Gregory Benford

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 3:09 PM, David Rotger  wrote:
> The user backuppc ask for a password when I try to conenct via ssh.

Do you mean starting from user backuppc you are trying ssh
root@localhost?  If so, something is wrong.

Look at the top of the full log file for a successful backup run to
see if it is successfully executing that same 'ssh -l root ...' that
you saw in the restore log.   Maybe you configured some other way to
run the backups - I have seen instructions posted for doing that with
sudo instead since it is a little more efficient.   If you did that
instead of setting up ssh keys you'll need to do the same for the
restore command.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread David Rotger
I do:

su backuppc
ssh root@localhost

They work but ask me the root password.

I can execute the comand ssh -l root...



2016-01-14 22:19 GMT+01:00 Les Mikesell :

> On Thu, Jan 14, 2016 at 3:09 PM, David Rotger 
> wrote:
> > The user backuppc ask for a password when I try to conenct via ssh.
>
> Do you mean starting from user backuppc you are trying ssh
> root@localhost?  If so, something is wrong.
>
> Look at the top of the full log file for a successful backup run to
> see if it is successfully executing that same 'ssh -l root ...' that
> you saw in the restore log.   Maybe you configured some other way to
> run the backups - I have seen instructions posted for doing that with
> sudo instead since it is a little more efficient.   If you did that
> instead of setting up ssh keys you'll need to do the same for the
> restore command.
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread David Rotger
Contents of file /var/lib/backuppc/pc/localhost/XferLOG.2.z, modified
2016-01-14 22:26:45

Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /data --totals .
full backup started for directory /data
Xfer PIDs are now 23840,23839
Total bytes written: 1832960 (1.8MiB, 27MiB/s)
  create   777   0/0   0 .
  pool 777   0/0 1823814 david1.bmp
tarExtract: Done: 0 errors, 1 filesExist, 1823814 sizeExist, 42057
sizeExistComp, 1 filesTotal, 1823814 sizeTotal


2016-01-14 22:24 GMT+01:00 David Rotger :

> I do:
>
> su backuppc
> ssh root@localhost
>
> They work but ask me the root password.
>
> I can execute the comand ssh -l root...
>
>
>
> 2016-01-14 22:19 GMT+01:00 Les Mikesell :
>
>> On Thu, Jan 14, 2016 at 3:09 PM, David Rotger 
>> wrote:
>> > The user backuppc ask for a password when I try to conenct via ssh.
>>
>> Do you mean starting from user backuppc you are trying ssh
>> root@localhost?  If so, something is wrong.
>>
>> Look at the top of the full log file for a successful backup run to
>> see if it is successfully executing that same 'ssh -l root ...' that
>> you saw in the restore log.   Maybe you configured some other way to
>> run the backups - I have seen instructions posted for doing that with
>> sudo instead since it is a little more efficient.   If you did that
>> instead of setting up ssh keys you'll need to do the same for the
>> restore command.
>>
>> --
>>Les Mikesell
>>  lesmikes...@gmail.com
>>
>>
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>> ___
>> 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/
>>
>
>
>
> --
> David Rotger
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 2:25 PM, David Rotger  wrote:
> This is'nt a samba share, it's only a localhost folder. And they have 777
> permissions.

So you have a local folder named /mnt/smb that isn't used as a
mountpoint?  Seems unconventional, but OK.  I sort-of remember seeing
something like that where the file in question didn't exist in the
backup run selected but I can't recall the situation that let it
appear as one you could select in the web interface.  If that was from
an incremental, can you pick the file from a full run to see if there
is a difference?

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread David Rotger
Maybe a ssh problem?!?! when I do a ssh root@localhost, they prompt the
root password. It's correct?!?!


2016-01-14 21:25 GMT+01:00 David Rotger :

> This is'nt a samba share, it's only a localhost folder. And they have 777
> permissions.
>
> 2016-01-14 21:21 GMT+01:00 Les Mikesell :
>
>> On Thu, Jan 14, 2016 at 2:03 PM, David Rotger 
>> wrote:
>> > This one?
>> >
>> > Contents of file /var/lib/backuppc/pc/localhost/RestoreLOG.22.z,
>> modified
>> > 2016-01-14 20:46:49 (Extracting only Errors)
>> >
>> > Running: /usr/bin/ssh -q -x -l root localhost env LC_ALL=C /bin/tar -x
>> -p
>> > --numeric-owner --same-owner -v -f - -C /mnt/smb
>> > Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 10
>> -s
>> > /mnt/smb -t /david1.bmp
>> > Xfer PIDs are now 22510,22511
>> > Tar exited with error 65280 () status
>> > restore failed: BackupPC_tarCreate failed
>>
>> Yes, that one - or the one that shows the whole thing, not just the
>> errors.  I don't think you mentioned that this was an smb share which
>> I'm guessing from the name.   Does root  have write access there or is
>> this a read-only mount?   There may also be some quirks with tar
>> trying to reproduce the original owner id since smb mounts typically
>> just have one set of credentials.
>>
>> --
>>Les Mikesell
>>  lesmikes...@gmail.com
>>
>>
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>> ___
>> 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/
>>
>
>
>
> --
> David Rotger
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread David Rotger
It's a full backup... :(

2016-01-14 21:39 GMT+01:00 Les Mikesell :

> On Thu, Jan 14, 2016 at 2:25 PM, David Rotger 
> wrote:
> > This is'nt a samba share, it's only a localhost folder. And they have 777
> > permissions.
>
> So you have a local folder named /mnt/smb that isn't used as a
> mountpoint?  Seems unconventional, but OK.  I sort-of remember seeing
> something like that where the file in question didn't exist in the
> backup run selected but I can't recall the situation that let it
> appear as one you could select in the web interface.  If that was from
> an incremental, can you pick the file from a full run to see if there
> is a difference?
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 2:39 PM, David Rotger  wrote:
> Maybe a ssh problem?!?! when I do a ssh root@localhost, they prompt the root
> password. It's correct?!?!
>

If ssh wasn't working I don't think you would have any backups -
assuming they are done the same way.   To test the ssh key setting you
have to be running as the backuppc user, not root or some other user.
 Do an 'su -s /bin/bash - backuppc' first, then the ssh root@localhost
should work if your key setup is correct.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread David Rotger
Okey, seems that ssh works. I've changed the backup directory for /data and
make a new backup. The error persist.

P.D.: When I do the ssh from backuppc to root@localhost they prompy me a
password, is normal!??!

Contents of file /var/lib/backuppc/pc/localhost/RestoreLOG.27.z, modified
2016-01-14 21:52:41 (Extracting only Errors)

Running: /usr/bin/ssh -q -x -l root localhost env LC_ALL=C /bin/tar -x
-p --numeric-owner --same-owner -v -f - -C /data
Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 14
-s /data -t /
Xfer PIDs are now 23438,23439
Tar exited with error 65280 () status
restore failed: BackupPC_tarCreate failed



2016-01-14 21:45 GMT+01:00 Les Mikesell :

> On Thu, Jan 14, 2016 at 2:39 PM, David Rotger 
> wrote:
> > Maybe a ssh problem?!?! when I do a ssh root@localhost, they prompt the
> root
> > password. It's correct?!?!
> >
>
> If ssh wasn't working I don't think you would have any backups -
> assuming they are done the same way.   To test the ssh key setting you
> have to be running as the backuppc user, not root or some other user.
>  Do an 'su -s /bin/bash - backuppc' first, then the ssh root@localhost
> should work if your key setup is correct.
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 1:48 PM, David Rotger  wrote:
> The log file:
>
> 2016-01-14 20:46:45 restore started below directory /mnt/smb
> 2016-01-14 20:46:49 restore failed (BackupPC_tarCreate failed)
>

That looks like the main log file.  There should be a more detailed
one for each restore you have attempted - just like there is one for
each backup run.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread David Rotger
This one?

Contents of file /var/lib/backuppc/pc/localhost/RestoreLOG.22.z, modified
2016-01-14 20:46:49 (Extracting only Errors)

Running: /usr/bin/ssh -q -x -l root localhost env LC_ALL=C /bin/tar -x
-p --numeric-owner --same-owner -v -f - -C /mnt/smb
Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 10
-s /mnt/smb -t /david1.bmp
Xfer PIDs are now 22510,22511
Tar exited with error 65280 () status
restore failed: BackupPC_tarCreate failed


2016-01-14 20:58 GMT+01:00 Les Mikesell :

> On Thu, Jan 14, 2016 at 1:48 PM, David Rotger 
> wrote:
> > The log file:
> >
> > 2016-01-14 20:46:45 restore started below directory /mnt/smb
> > 2016-01-14 20:46:49 restore failed (BackupPC_tarCreate failed)
> >
>
> That looks like the main log file.  There should be a more detailed
> one for each restore you have attempted - just like there is one for
> each backup run.
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_tarCreate failed

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 2:03 PM, David Rotger  wrote:
> This one?
>
> Contents of file /var/lib/backuppc/pc/localhost/RestoreLOG.22.z, modified
> 2016-01-14 20:46:49 (Extracting only Errors)
>
> Running: /usr/bin/ssh -q -x -l root localhost env LC_ALL=C /bin/tar -x -p
> --numeric-owner --same-owner -v -f - -C /mnt/smb
> Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 10 -s
> /mnt/smb -t /david1.bmp
> Xfer PIDs are now 22510,22511
> Tar exited with error 65280 () status
> restore failed: BackupPC_tarCreate failed

Yes, that one - or the one that shows the whole thing, not just the
errors.  I don't think you mentioned that this was an smb share which
I'm guessing from the name.   Does root  have write access there or is
this a read-only mount?   There may also be some quirks with tar
trying to reproduce the original owner id since smb mounts typically
just have one set of credentials.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] Creating a "read everywhere" user to backup Windows profiles

2016-01-14 Thread Les Mikesell
On Thu, Jan 14, 2016 at 12:55 PM, Andreas Piening
 wrote:
>
>>
>> Backup Operator (and Administrator) are groups you can add to the user
>> to give additional permissions.  If you are in an Active Directory
>> environment you would need to join the domain and have domain
>> credentials, though.   I'd recommend setting up rsync anyway because
>> it does a better job of tracking renames, changed files with old
>> timestamps, and deletions.
>>
>
> Oh you’re right, there is such a Group (the name is localized …). I added a 
> local user to both groups: Administrator and Backup Operator but when I do a 
> backup of a share for the folder c:\Users I still get NT_STATUS_ACCESS_DENIED 
> for a lot of subfolders.
> This was the case in my test with the Windows 7 Pro machine in a workgroup, 
> and again with the same machine added to a AD domain. Same behavior.

I don't know enough about windows to help more - and I've had trouble
with that too.   There is a difference between a local user and a
domain user and the corresponding group mappings and there may be a
setting that gives the local admin more access to shares.  Or for the
AD case you have to join the domain from the linux box.   One thing
that might not be obvious is that smbclient and smbtar used by
backuppc will read your /etc/samba/smb.conf file and will pull things
like the domain setting from there.  If you have settings there
intended for shares from the linux box they might not be what you need
as a client.

 In any case you can connect manually with smbclient to check what you
can access faster than waiting for a backup run to hit it.

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] Creating a "read everywhere" user to backup Windows profiles

2016-01-14 Thread Andreas Piening

> Am 14.01.2016 um 00:13 schrieb Adam Goryachev 
> :
> 
> On 14/01/16 07:11, Andreas Piening wrote:
>> I wonder what the easiest / best way is to create a „read everywhere“ user 
>> on ms windows to create backups with via CIFS / SMBFS.
>> 
>> Ideally I would like to run a short .cmd script or do a couple of clicks to 
>> give a local windows user (let’s assume ‚backuppc‘) full read access to 
>> everything under c:\Users. Even better with write access to be able to 
>> restore in place.
>> I know that I can enable inheritance for permissions in c:\Users and 
>> overwrite all permissions on subfolders with the current one. But this would 
>> also enable read for everyone for every user on other users profiles which I 
>> don’t like. And even this does not work everywhere, even not with an 
>> administrative account. I need to take ownership recursively in order to do 
>> that and I don’t want to own other users files.
>> 
>> Is there a better way?
> 
> Isn't there a specific "Backup Operator" account on windows which has 
> "super" permissions for exactly this reason? I'm not sure if that 
> account will work over samba though?
> 
> Regards,
> Adam

At least not by that name, there is for example a „SYSTEM“ user which seems to 
have access everywhere. It doesn’t have a password and does not show up in the 
normal users list. Maybe it is possible to „enable“ this user so that the 
account can be used with CIFS / SMB to get access.
Does anyone use SMB to backup the whole system drive or the /Users dir? Or is 
the only real option to install a rsyncd with cygwin or something like that?
I’m trying to get backups with SMB working since I want to be as less intrusive 
to the clients as I can. Means: No additional software installed, no additional 
services. Just crating a share and that’s it.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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_tarCreate failed

2016-01-14 Thread David Rotger
YES!!

I solved

It was a problem with ssh. Sorry for my english. I do:

su backuppc
ssh-keygen -t rsa
exit
cp ~backuppc/.ssh/id_rsa.pub ~root/.ssh/authorized_keys2

and now I can connect from user backuppc to localhost without password. And
the restore work!!!

Thanks!



2016-01-14 22:26 GMT+01:00 David Rotger :

> Contents of file /var/lib/backuppc/pc/localhost/XferLOG.2.z, modified
> 2016-01-14 22:26:45
>
> Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /data --totals .
> full backup started for directory /data
> Xfer PIDs are now 23840,23839
> Total bytes written: 1832960 (1.8MiB, 27MiB/s)
>   create   777   0/0   0 .
>   pool 777   0/0 1823814 david1.bmp
> tarExtract: Done: 0 errors, 1 filesExist, 1823814 sizeExist, 42057 
> sizeExistComp, 1 filesTotal, 1823814 sizeTotal
>
>
> 2016-01-14 22:24 GMT+01:00 David Rotger :
>
>> I do:
>>
>> su backuppc
>> ssh root@localhost
>>
>> They work but ask me the root password.
>>
>> I can execute the comand ssh -l root...
>>
>>
>>
>> 2016-01-14 22:19 GMT+01:00 Les Mikesell :
>>
>>> On Thu, Jan 14, 2016 at 3:09 PM, David Rotger 
>>> wrote:
>>> > The user backuppc ask for a password when I try to conenct via ssh.
>>>
>>> Do you mean starting from user backuppc you are trying ssh
>>> root@localhost?  If so, something is wrong.
>>>
>>> Look at the top of the full log file for a successful backup run to
>>> see if it is successfully executing that same 'ssh -l root ...' that
>>> you saw in the restore log.   Maybe you configured some other way to
>>> run the backups - I have seen instructions posted for doing that with
>>> sudo instead since it is a little more efficient.   If you did that
>>> instead of setting up ssh keys you'll need to do the same for the
>>> restore command.
>>>
>>> --
>>>Les Mikesell
>>>  lesmikes...@gmail.com
>>>
>>>
>>> --
>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>> Monitor end-to-end web transactions and take corrective actions now
>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>>> ___
>>> 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/
>>>
>>
>>
>>
>> --
>> David Rotger
>>
>
>
>
> --
> David Rotger
>



-- 
David Rotger
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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] Creating a "read everywhere" user to backup Windows profiles

2016-01-14 Thread Adam Goryachev
On 15/01/16 06:12, Les Mikesell wrote:
> On Thu, Jan 14, 2016 at 12:55 PM, Andreas Piening
>  wrote:
>>> Backup Operator (and Administrator) are groups you can add to the user
>>> to give additional permissions.  If you are in an Active Directory
>>> environment you would need to join the domain and have domain
>>> credentials, though.   I'd recommend setting up rsync anyway because
>>> it does a better job of tracking renames, changed files with old
>>> timestamps, and deletions.
>>>
>> Oh you’re right, there is such a Group (the name is localized …). I added a 
>> local user to both groups: Administrator and Backup Operator but when I do a 
>> backup of a share for the folder c:\Users I still get 
>> NT_STATUS_ACCESS_DENIED for a lot of subfolders.
>> This was the case in my test with the Windows 7 Pro machine in a workgroup, 
>> and again with the same machine added to a AD domain. Same behavior.
> I don't know enough about windows to help more - and I've had trouble
> with that too.   There is a difference between a local user and a
> domain user and the corresponding group mappings and there may be a
> setting that gives the local admin more access to shares.  Or for the
> AD case you have to join the domain from the linux box.   One thing
> that might not be obvious is that smbclient and smbtar used by
> backuppc will read your /etc/samba/smb.conf file and will pull things
> like the domain setting from there.  If you have settings there
> intended for shares from the linux box they might not be what you need
> as a client.
>
>   In any case you can connect manually with smbclient to check what you
> can access faster than waiting for a backup run to hit it.
>

Isn't there also the "hidden" shares by default which are supposed to 
provide more access? I think it is C$ by default, which is the full c 
drive

Again, I don't use smb for backups, but I'm hoping this does help you.

Ultimately, you still won't be able to backup open files, so you might 
still want to consider an alternate backup solution which will provide 
better capability to backup all files (eg rsync + vshadow).

Regards,
Adam

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] BPC 4 very slow

2016-01-14 Thread Adam Goryachev
On 15/01/16 05:55, Les Mikesell wrote:
> On Thu, Jan 14, 2016 at 11:28 AM, Holger Parplies  wrote:
>> For me (and, I believe, for many others), version 3 (and even version 2!) 
>> works
>> so well that there is no reason to move to version 4.
>>
> I have to agree with that.  Really about the only issue people have
> with v3 is that if you ever want to copy the entire archive tree to a
> new system or to make an offsite copy it is a problem for
> file-oriented copy methods to recreate the large number of hardlinks.
>
> The changes in v4 may help some situations, but I wonder if the
> attempt to locate existing matching content from different locations
> might waste time where there are large numbers of tiny files.

I must say that this is the only reason for me choosing to run v4. For 
some reason, a number of systems I need to support backups for have a 
workflow that involves photos taken, downloaded from the camera to the 
server, and then renaming/copying/moving them to various different 
folders. With v4, BPC only downloads them once, and each time they are 
moved/copied to a different folder there is no transfer. This helps my 
backups actually work/complete in a much shorter time.

However, for most other scenarios, I doubt it would make a lot of 
difference.

I would suggest anyone considering BPC should use v3 unless they 
specifically need the v4 features, and even then, are prepared for the 
possible shortcomings inherent in using alpha software.

Regards,
Adam

-- 
Adam Goryachev
Website Managers
P: +61 2 8304 a...@websitemanagers.com.au
F: +61 2 8304 0001 www.websitemanagers.com.au


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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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/