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: