Menu

How to adjust the way PsyncX runs psync

Help
2003-12-16
2013-04-29
  • Micah Katke

    Micah Katke - 2003-12-16

    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.

     
    • David Baker

      David Baker - 2004-01-04

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

       
    • Stephen Rogers

      Stephen Rogers - 2004-06-12

      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.

       
    • Bapts

      Bapts - 2004-11-23

      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

       
    • dhottinger

      dhottinger - 2005-03-08

      How do I recompile this with maC OSX?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.