BackupPC-users

[BackupPC-users] RE : Rsync mkdir restore errors

2012-02-27 08:32:09
Subject: [BackupPC-users] RE : Rsync mkdir restore errors
From: Yannick REIN <yrein AT qeex DOT com>
To: Micha Kersloot <info AT kovoks DOT nl>, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 27 Feb 2012 14:17:17 +0100
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
root    ALL=(ALL) ALL
backup ALL=NOPASSWD: /usr/bin/rsync
backup ALL=NOPASSWD: /bin/mkdir  # Rights to create folders

Thanks!
________________________________________
De : Micha Kersloot [micha AT kovoks DOT 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: 11033334

----- Oorspronkelijk bericht -----
> Van: "Yannick REIN" <yrein AT qeex DOT com>
> Aan: backuppc-users AT lists.sourceforge DOT 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 AT lists.sourceforge DOT 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 AT lists.sourceforge DOT 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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/