I would like to know what file needs to be edited to prevent PsyncX from running psync as system root (ie removing the sudo command in front of the psync command: "sudo psync -d -r /source /destination") If my question is unclear please ask for clarification. Thanx in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know whether this will be a solution for you, but you can use psyncx over a network as follows.
On the remote host, create a disk image that is a large enough to backup the intended 'bootable' disk (use disk copy, or disk utility [panther]).
You can mount disk images over a network, so open your network connection to the remote host and double-click the *.dmg image that you just created. This image will mount locally to /Volumes/yourDiskImageName.
Use psyncx to backup to the mounted disk image.
I don't know whether this will suit your needs or not, but it's much easier than working out the 'sudo root' network problem in psyncx. good luck.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well,
I would also want to suppress the 'sudo' command... but only on specific back-up. Actually I do back-ups on an NFS server, a Sun server. I want to be able to use the back-up-ed data on the sun-side too, so the dmg tip, although interesting in some case, do not apply here. Additionaly, if I want to back-up my whole drive, I will need the sudo command...
May be it is worth doing i feature request on this ? like a check box somewhere to sudo or not sudo ...
Bapts
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to know what file needs to be edited to prevent PsyncX from running psync as system root (ie removing the sudo command in front of the psync command: "sudo psync -d -r /source /destination") If my question is unclear please ask for clarification. Thanx in advance.
It is in the Controller.m file on line 382 in the runBackupNow method. If you just take out that sudo, that should fix your problem.
And yes, you are going to need to compile this yourself. :-)
Micah,
I don't know whether this will be a solution for you, but you can use psyncx over a network as follows.
On the remote host, create a disk image that is a large enough to backup the intended 'bootable' disk (use disk copy, or disk utility [panther]).
You can mount disk images over a network, so open your network connection to the remote host and double-click the *.dmg image that you just created. This image will mount locally to /Volumes/yourDiskImageName.
Use psyncx to backup to the mounted disk image.
I don't know whether this will suit your needs or not, but it's much easier than working out the 'sudo root' network problem in psyncx. good luck.
Well,
I would also want to suppress the 'sudo' command... but only on specific back-up. Actually I do back-ups on an NFS server, a Sun server. I want to be able to use the back-up-ed data on the sun-side too, so the dmg tip, although interesting in some case, do not apply here. Additionaly, if I want to back-up my whole drive, I will need the sudo command...
May be it is worth doing i feature request on this ? like a check box somewhere to sudo or not sudo ...
Bapts
How do I recompile this with maC OSX?