Re: [BackupPC-users] The famous Backup aborted (Unable to read 4 bytes) error

2012-02-27 Thread Micha Kersloot
Hi All,

all is fixed now, 3 days working in a row. Thank you all for your support!

Met vriendelijke groet,

Micha Kersloot

Altijd en overal bij je belangrijkste gegevens?
http://www.exchange-alternatief.com/

KovoKs B.V. is ingeschreven onder KvK nummer: 1104

- Oorspronkelijk bericht -
 Van: Micha Kersloot mi...@kovoks.nl
 Aan: backuppc-users@lists.sourceforge.net
 Verzonden: Vrijdag 24 februari 2012 10:51:18
 Onderwerp: Re: [BackupPC-users] The famous Backup aborted (Unable to read 4   
 bytes) error
 
 Hi,
 
 - Oorspronkelijk bericht -
  Van: on horseback through Eurasia majac...@xs4all.nl
  Aan: i...@kovoks.nl
  Cc: backuppc-users@lists.sourceforge.net, i...@kovoks.nl
  Verzonden: Donderdag 23 februari 2012 18:55:24
  Onderwerp: Re: [BackupPC-users] The famous Backup aborted (Unable
  to read 4 bytes) error
  
  Check your ssh login
  r,
  Michel
 
 You seem to be right. It looks like there is a firewall which blocks
 traffic when you try to setup to many connections in a short period
 of time. So, the two pings with nc on port 22 , ssh connection, then
 again two pings in such a short time-frame triggered this rule.
 
 The sad thing is, that in de meanwhile I deleted the authorized_hosts
 file and forgot to rebuild it for all known hosts, so now I have to
 wait another day to see if I really fixed the problem, but I have a
 good feeling about it.
 
 Thank you all for your help and support!!
 
 Met vriendelijke groet,
 
 Micha Kersloot
 
 Altijd en overal bij je belangrijkste gegevens?
 http://www.exchange-alternatief.com/
 
 KovoKs B.V. is ingeschreven onder KvK nummer: 1104
 
 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 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/
 

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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 mkdir restore errors

2012-02-27 Thread Yannick REIN
Hi all,

I have a problem with my backuppc, when i make a restore from a backup.

When i try to restore a backup, the following error occured :

Remote[1]: rsync: recv_generator: mkdir /FOLDER failed: Permission denied (13)
Remote[1]: *** Skipping any contents from this failed directory *** 

So i decided to create the Folder on the remote server, and the same error 
appared.
I make a chmod 777 on the folder and then it works!!!

I have search on google for this error and several answer says : make a mkdir 
-p

That's great but for the Rsync in Backuppc how can i make this?

Thank you!!

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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 mkdir restore errors

2012-02-27 Thread Micha Kersloot
Hi,

as what user are you connecting to the server where you want to restore the 
backup? Does that user have enough rigths to create the folders?

Met vriendelijke groet,

Micha Kersloot

Altijd en overal bij je belangrijkste gegevens?
http://www.exchange-alternatief.com/

KovoKs B.V. is ingeschreven onder KvK nummer: 1104

- Oorspronkelijk bericht -
 Van: Yannick REIN yr...@qeex.com
 Aan: backuppc-users@lists.sourceforge.net
 Verzonden: Maandag 27 februari 2012 12:47:03
 Onderwerp: [BackupPC-users] Rsync mkdir restore errors
 
 Hi all,
 
 I have a problem with my backuppc, when i make a restore from a
 backup.
 
 When i try to restore a backup, the following error occured :
 
 Remote[1]: rsync: recv_generator: mkdir /FOLDER failed: Permission
 denied (13)
 Remote[1]: *** Skipping any contents from this failed directory ***
 
 So i decided to create the Folder on the remote server, and the same
 error appared.
 I make a chmod 777 on the folder and then it works!!!
 
 I have search on google for this error and several answer says :
 make a mkdir -p
 
 That's great but for the Rsync in Backuppc how can i make this?
 
 Thank you!!
 
 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft
 developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
 MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 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/
 

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] RE : Rsync mkdir restore errors

2012-02-27 Thread Micha Kersloot
Hi,

In that case, you need 'sudo command' to run the command with the 
administrator rights. Because everything is done by rsync, then when you trust 
your backuppc server, it maybe easier to connect as root and not as backup user.

Met vriendelijke groet,

Micha Kersloot

Altijd en overal bij je belangrijkste gegevens?
http://www.exchange-alternatief.com/

KovoKs B.V. is ingeschreven onder KvK nummer: 1104

- Oorspronkelijk bericht -
 Van: Yannick REIN yr...@qeex.com
 Aan: Micha Kersloot i...@kovoks.nl, General list for user discussion, 
 questions and support
 backuppc-users@lists.sourceforge.net
 Verzonden: Maandag 27 februari 2012 14:17:17
 Onderwerp: RE : [BackupPC-users] Rsync mkdir restore errors
 
 Hi,
 
 I use the default user backup (debian6),
 
 Linux debian 2.6.32-5-686 #1 SMP Mon Jan 16 16:04:25 UTC 2012 i686
 GNU/Linux
 
 cat /etc/sudoers on client :
 
 # User privilege specification
 rootALL=(ALL) ALL
 backup ALL=NOPASSWD: /usr/bin/rsync
 backup ALL=NOPASSWD: /bin/mkdir  # Rights to create folders
 
 Thanks!
 
 De : Micha Kersloot [mi...@kovoks.nl]
 Date d'envoi : lundi 27 février 2012 14:02
 À : General list for user discussion,   questions and support
 Objet : Re: [BackupPC-users] Rsync mkdir restore errors
 
 Hi,
 
 as what user are you connecting to the server where you want to
 restore the backup? Does that user have enough rigths to create the
 folders?
 
 Met vriendelijke groet,
 
 Micha Kersloot
 
 Altijd en overal bij je belangrijkste gegevens?
 http://www.exchange-alternatief.com/
 
 KovoKs B.V. is ingeschreven onder KvK nummer: 1104
 
 - Oorspronkelijk bericht -
  Van: Yannick REIN yr...@qeex.com
  Aan: backuppc-users@lists.sourceforge.net
  Verzonden: Maandag 27 februari 2012 12:47:03
  Onderwerp: [BackupPC-users] Rsync mkdir restore errors
 
  Hi all,
 
  I have a problem with my backuppc, when i make a restore from a
  backup.
 
  When i try to restore a backup, the following error occured :
 
  Remote[1]: rsync: recv_generator: mkdir /FOLDER failed:
  Permission
  denied (13)
  Remote[1]: *** Skipping any contents from this failed directory ***
 
  So i decided to create the Folder on the remote server, and the
  same
  error appared.
  I make a chmod 777 on the folder and then it works!!!
 
  I have search on google for this error and several answer says :
  make a mkdir -p
 
  That's great but for the Rsync in Backuppc how can i make this?
 
  Thank you!!
 
  --
  Try before you buy = See our experts in action!
  The most comprehensive online learning library for Microsoft
  developers
  is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
  MVC3,
  Metro Style Apps, more. Free future releases when you subscribe
  now!
  http://p.sf.net/sfu/learndevnow-dev2
  ___
  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/
 
 
 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft
 developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
 MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 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/
 

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] RE : Rsync mkdir restore errors

2012-02-27 Thread Yannick REIN
Hi,

I use the default user backup (debian6),

Linux debian 2.6.32-5-686 #1 SMP Mon Jan 16 16:04:25 UTC 2012 i686 GNU/Linux

cat /etc/sudoers on client :

# User privilege specification
rootALL=(ALL) ALL
backup ALL=NOPASSWD: /usr/bin/rsync
backup ALL=NOPASSWD: /bin/mkdir  # Rights to create folders

Thanks!

De : Micha Kersloot [mi...@kovoks.nl]
Date d'envoi : lundi 27 février 2012 14:02
À : General list for user discussion,   questions and support
Objet : Re: [BackupPC-users] Rsync mkdir restore errors

Hi,

as what user are you connecting to the server where you want to restore the 
backup? Does that user have enough rigths to create the folders?

Met vriendelijke groet,

Micha Kersloot

Altijd en overal bij je belangrijkste gegevens?
http://www.exchange-alternatief.com/

KovoKs B.V. is ingeschreven onder KvK nummer: 1104

- Oorspronkelijk bericht -
 Van: Yannick REIN yr...@qeex.com
 Aan: backuppc-users@lists.sourceforge.net
 Verzonden: Maandag 27 februari 2012 12:47:03
 Onderwerp: [BackupPC-users] Rsync mkdir restore errors

 Hi all,

 I have a problem with my backuppc, when i make a restore from a
 backup.

 When i try to restore a backup, the following error occured :

 Remote[1]: rsync: recv_generator: mkdir /FOLDER failed: Permission
 denied (13)
 Remote[1]: *** Skipping any contents from this failed directory ***

 So i decided to create the Folder on the remote server, and the same
 error appared.
 I make a chmod 777 on the folder and then it works!!!

 I have search on google for this error and several answer says :
 make a mkdir -p

 That's great but for the Rsync in Backuppc how can i make this?

 Thank you!!

 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft
 developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
 MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 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/


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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/

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] RE : RE : Rsync mkdir restore errors

2012-02-27 Thread Yannick REIN
Thanks for the fast response.

Yes i agree is easier to connect as root but for security reason (server on 
cloud), i prefer use a user with restrictions.

That's is my RsyncClientRestoreCmd line in BackupPC

$sshPath -q -x -l backup $host $rsyncPath $argList

How can i give administrator rights with sudo in this line?

I haven't rsyncd on my clients(linux)

Thx

De : Micha Kersloot [mi...@kovoks.nl]
Date d'envoi : lundi 27 février 2012 14:25
À : Yannick REIN
Cc : General list for user discussion, questions and support
Objet : Re: RE : [BackupPC-users] Rsync mkdir restore errors

Hi,

In that case, you need 'sudo command' to run the command with the 
administrator rights. Because everything is done by rsync, then when you trust 
your backuppc server, it maybe easier to connect as root and not as backup user.

Met vriendelijke groet,

Micha Kersloot

Altijd en overal bij je belangrijkste gegevens?
http://www.exchange-alternatief.com/

KovoKs B.V. is ingeschreven onder KvK nummer: 1104

- Oorspronkelijk bericht -
 Van: Yannick REIN yr...@qeex.com
 Aan: Micha Kersloot i...@kovoks.nl, General list for user discussion, 
 questions and support
 backuppc-users@lists.sourceforge.net
 Verzonden: Maandag 27 februari 2012 14:17:17
 Onderwerp: RE : [BackupPC-users] Rsync mkdir restore errors

 Hi,

 I use the default user backup (debian6),

 Linux debian 2.6.32-5-686 #1 SMP Mon Jan 16 16:04:25 UTC 2012 i686
 GNU/Linux

 cat /etc/sudoers on client :

 # User privilege specification
 rootALL=(ALL) ALL
 backup ALL=NOPASSWD: /usr/bin/rsync
 backup ALL=NOPASSWD: /bin/mkdir  # Rights to create folders

 Thanks!
 
 De : Micha Kersloot [mi...@kovoks.nl]
 Date d'envoi : lundi 27 février 2012 14:02
 À : General list for user discussion,   questions and support
 Objet : Re: [BackupPC-users] Rsync mkdir restore errors

 Hi,

 as what user are you connecting to the server where you want to
 restore the backup? Does that user have enough rigths to create the
 folders?

 Met vriendelijke groet,

 Micha Kersloot

 Altijd en overal bij je belangrijkste gegevens?
 http://www.exchange-alternatief.com/

 KovoKs B.V. is ingeschreven onder KvK nummer: 1104

 - Oorspronkelijk bericht -
  Van: Yannick REIN yr...@qeex.com
  Aan: backuppc-users@lists.sourceforge.net
  Verzonden: Maandag 27 februari 2012 12:47:03
  Onderwerp: [BackupPC-users] Rsync mkdir restore errors
 
  Hi all,
 
  I have a problem with my backuppc, when i make a restore from a
  backup.
 
  When i try to restore a backup, the following error occured :
 
  Remote[1]: rsync: recv_generator: mkdir /FOLDER failed:
  Permission
  denied (13)
  Remote[1]: *** Skipping any contents from this failed directory ***
 
  So i decided to create the Folder on the remote server, and the
  same
  error appared.
  I make a chmod 777 on the folder and then it works!!!
 
  I have search on google for this error and several answer says :
  make a mkdir -p
 
  That's great but for the Rsync in Backuppc how can i make this?
 
  Thank you!!
 
  --
  Try before you buy = See our experts in action!
  The most comprehensive online learning library for Microsoft
  developers
  is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
  MVC3,
  Metro Style Apps, more. Free future releases when you subscribe
  now!
  http://p.sf.net/sfu/learndevnow-dev2
  ___
  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/
 

 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft
 developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
 MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 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/


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:

Re: [BackupPC-users] RE : RE : Rsync mkdir restore errors

2012-02-27 Thread Till Hofmann
On Mon, Feb 27, 2012 at 2:56 PM, Yannick REIN yr...@qeex.com wrote:


 That's is my RsyncClientRestoreCmd line in BackupPC

 $sshPath -q -x -l backup $host $rsyncPath $argList

 How can i give administrator rights with sudo in this line?


simply add sudo:  $sshPath -q -x -l backup $host sudo $rsyncPath $argList
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] Migrating backuppc (yes, that again...:)

2012-02-27 Thread Jeffrey J. Kosowsky
Brad Alexander wrote at about 14:57:41 -0500 on Friday, February 24, 2012:
  Hey all,
  
  I'm running into a problem migrating my /var/lib/backuppc pc
  directory. I got cpool, log, pool, tmp, and trash migrated via rsync,
  and I am attempting to migrate the pc directory.

It's really not possible to *separately* migrate the pc directory
since it has no way of knowing about and hence preserving the links to
the cpool/pool. So you will have a duplicate copy of the pool files
(rather than links) in your pc tree, even if you use the -H flag. If
you do use the -H flag, duplicate copies within the pc tree will be
linked to themselves but not to the pool. Then when BackupPC_nightly
runs, all the pool files will be erased (unless a new backup has been
done in the interim) since there will be no links to the pc tree.

There really is no magical way to migrate a BackupPC archive other
than one of the following:
1. Use rsync -H on the entire /var/lib/BackupPC tree which becomes
   increasingly slow if not unworkable for large archives
2. Copy over the raw filesystem using some notion of disk copy (e.g.,
   dd) or filesystem snapshots. This requires you to be using the same
   type of filesystem and to copy over the entire filesystem.
3. Use either BackupPC_tarCopy or my program BackupPC_copyPcPool to
   copy over the archive preserving links. These are typically much
   slower than #2 but they scale better than #1

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] RE : RE : RE : Rsync mkdir restore errors

2012-02-27 Thread Yannick REIN
Silly question sorry -_-'

Ok that's great it's work fine now! 

Thanks you guy's that were very helpful!!

De : Till Hofmann [hofmannt...@googlemail.com]
Date d'envoi : lundi 27 février 2012 15:05
À : General list for user discussion,   questions and support
Cc : Micha Kersloot
Objet : Re: [BackupPC-users] RE : RE : Rsync mkdir restore errors

On Mon, Feb 27, 2012 at 2:56 PM, Yannick REIN 
yr...@qeex.commailto:yr...@qeex.com wrote:

That's is my RsyncClientRestoreCmd line in BackupPC

$sshPath -q -x -l backup $host $rsyncPath $argList

How can i give administrator rights with sudo in this line?


simply add sudo:  $sshPath -q -x -l backup $host sudo $rsyncPath $argList

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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/