|
|||||||||
Sunday the 22nd of November, 2009 |
|||||||||
backuppc most recent diffversion 3.1.0
Scroll down toward the bottom of the page to get installation instructions for backuppc. The raw portfile for backuppc 3.1.0 is located here: http://backuppc.darwinports.com/dports/sysutils/backuppc/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/backuppc The backuppc Portfile 57043 2009-09-05 16:31:20Z ryandesign PortSystem 1.0 Name: backuppc Category: sysutils Version: 3.1.0 Maintainers: jameskyle Homepage: http://backuppc.sourceforge.net/ Description: BackupPC is a high-performance, enterprise-grade system for backing up Linux, WinXX and Mac OS X PCs and laptops to a server's disk. Long Description: ${description} BackupPC is highly configurable and easy to install and maintain. Platform: darwin Master Sites: sourceforge depends_lib port:perl5 port:p5-compress-zlib port:p5-archive-zip port:p5-file-rsyncp port:samba3 port:gnutar port:mod_perl2 port:rsync port:openssh port:gzip port:bzip2 port:par2 distname BackupPC-${version} Checksums: md5 84b4471852ef910768eae9963ef932d2 sha1 3bd6d637f4f08f2fda44a12668b91d47c4abb0a7 rmd160 22d4cb6dd76f846fde489a301852f50e8db1ae1d configure.args --batch --backuppc-user=backuppc --cgi-dir ${prefix}/var/wwwbackup/cgi-bin --data-dir ${prefix}/var/backups --dest-dir ${destroot} --html-dir ${prefix}/var/wwwbackup/htdocs/backuppc --html-dir-url /backuppc --install-dir ${prefix} --config-dir ${prefix}/etc/BackupPC Patch Files: patch-configure.pl.diff patch-lib-backuppc-cgi-view.pm.diff destroot.violate_mtree yes destroot.keepdirs ${destroot}${prefix}/var/backups ${destroot}${prefix}/var/backups/cpool ${destroot}${prefix}/var/backups/log ${destroot}${prefix}/var/backups/trash ${destroot}${prefix}/var/backups/pool ${destroot}${prefix}/var/backups/pc ${destroot}${prefix}/var/backups/ ${destroot}${prefix}/var/log/BackupPC ${destroot}${prefix}/var/wwwbackup/htdocs ${destroot}${prefix}/var/wwwbackup/logs set hostname [exec "hostname"] pre-configure { ui_debug "Hostname: ${hostname}" configure.args-append --hostname ${hostname} } configure { reinplace "s| reinplace "s| addgroup backuppc set gid [existsgroup backuppc] adduser backuppc gid=${gid} realname=BackupPC } build {} destroot { # destroot for the web skeleton xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/cgi-bin xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/conf xinstall -m 600 -g backuppc -o backuppc ${filespath}/httpd.conf ${destroot}${prefix}/var/wwwbackup/conf/ xinstall -m 600 -g backuppc -o backuppc ${filespath}/mime.types ${destroot}${prefix}/var/wwwbackup/conf xinstall -m 600 -g backuppc -o backuppc ${filespath}/magic ${destroot}${prefix}/var/wwwbackup/conf xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/htdocs xinstall -m 600 -g backuppc -o backuppc ${filespath}/favicon.ico ${destroot}${prefix}/var/wwwbackup/htdocs/ xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/logs # destroot for backuppc xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/backups xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/log/BackupPC # create backup directory system "cd ${worksrcpath} && ${prefix}/bin/perl configure.pl ${configure.args}" xinstall -d -m 755 ${destroot}${prefix}/share/doc/ move ${destroot}${prefix}/doc ${destroot}${prefix}/share/doc/BackupPC # install the launch scripts xinstall -d -m 755 ${destroot}/Library/LaunchDaemons xinstall ${filespath}/net.sourceforge.backuppc.plist ${destroot}/Library/LaunchDaemons/ # Install extras xinstall -d -m 755 ${destroot}${prefix}/share/BackupPC/extras xinstall ${filespath}/backuppc_config_template.rb ${destroot}${prefix}/share/BackupPC/extras xinstall ${filespath}/backuppc_auth.conf ${destroot}${prefix}/share/BackupPC/extras reinplace "s| xinstall ${filespath}/org.macports.backuppc.apache2.plist ${destroot}/Library/LaunchDaemons/ reinplace "s| reinplace "s| reinplace "s| reinplace "s| reinplace "s| } post-activate { set finish_message "There are several more things you will need to do: - Browse through the config file, ${prefix}/etc/BackupPC/config.pl, and make sure all the settings are correct. In particular, you will need to set \$Conf{CgiAdminUsers} so you have administration privileges in the CGI interface. - Change the \$Conf{} - Edit the list of hosts to backup in ${prefix}/etc/BackupPC/hosts. - Read the documentation in ${prefix}/share/doc/BackupPC/BackupPC.html. Please pay special attention to the security section. - Verify that the CGI script BackupPC_Admin runs correctly. You might need to change the permissions or group ownership of BackupPC_Admin. If this is an upgrade and you are using mod_perl, you will need to restart Apache. Otherwise it will have stale code. - BackupPC should be ready to start. Don't forget to run it as user backuppc! The installation also contains an /Library/LaunchDaemons/net.sourceforge.backuppc.plist launchd so that BackupPC can auto-start on boot. To enable this daemon execute the following command: cd /Library/LaunchDaemons sudo launchctl load net.sourceforge.backuppc.plist - The data directory is set to ${prefix}/var/backups. Please ensure You have enough space for your backups at this location. You may wish to create a custom mount point point for you backup volume if necessary. - To hide the backuppc user in the login window, you may execute defaults write /Library/Preferences/com.apple.loginwindow - Please see the ${prefix}/share/BackupPC/extras directory for client setup scripts, sample apache.conf files, and more. " ui_msg ${finish_message} } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/backuppcYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using backuppc with these commands: % man backuppc Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




