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 >

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

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 i

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 an

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

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

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

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 se

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 cli

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

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

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

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 2

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 yo

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

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,

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

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

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

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_tar

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 hav

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

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:

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

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

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 thoug

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 b

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 explici

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 „SY

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

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

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

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:

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: ./Ba