SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Slackware 9.1 - Backuppc starting at boot
Author Message
Post Slackware 9.1 - Backuppc starting at boot 
Anyone have any pointers getting Backuppc to start at boot on Slackware 9.1.

Option 1:

My partner and I built a su BackupPC -d line that starts the program
with the correct user - in this case backup [Yes, I know thrillingly
orginal Smile ] about every other time the program bails with the message
that "another BackupPC is running at PID XXX [usually 541 or so]".

Option 2:

We copied the linux-backuppc to the RC.d directory in the /etc
directory. Copied the file as backuppc and made it executable. This
doesn't fly at all! Doesn't seem to even run although the correct user
[backup] is correctly installed in the script.

Now here is the kicker, in either case and with both ver 2.0.2 and 2.1.0
if I login as backup and start the BackupPC -d the thing runs like a
champ! Ashamed to say this is how I backup 10 servers. I would like to
get straight though. As soon as I get one bullet proof I will send it
in to be included with the next release.

BackupPC - Saving my A** on a nightly basis.....

Scott Fortney

scottfortney < at > comcast.net




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Slackware 9.1 - Backuppc starting at boot 
This is the script I use on Slackware

#!/bin/sh
#
# DESCRIPTION
#
# Startup init script for BackupPC for solaris.
#
# Distributed with BackupPC version 2.0.0, released 14 Jun 2003.
#
# Not tested...
#

start() {
#
# You can set the SMB share password here is you wish. Otherwise
# you should put it in the config.pl script.
# If you put it here make sure this file has no read permissions
# for normal users! See the documentation for more information.
#
#BPC_SMB_PASSWD=
#export BPC_SMB_PASSWD
#
su backuppc -c "/usr/local/backuppc/bin/BackupPC -d"
}

stop() {
/usr/bin/pkill -f "/usr/local/backuppc/bin/BackupPC -d"
}

restart() {
stop
start
}

reload() {
/usr/bin/pkill -1 -f "/usr/local/backuppc/bin/BackupPC -d"
}

case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
reload)
reload
;;
*)
echo "Usage: $0 {start|stop|restart|reload}"
exit 1
esac

exit $?

--
Tony Nelson
Director of IT Operations
Starpoint Solutions LLC
115 Broadway, 2nd Fl
New York, NY 10006


Quoting Scott Fortney <scottfortney < at > comcast.net>:

Anyone have any pointers getting Backuppc to start at boot on Slackware 9.1.

Option 1:

My partner and I built a su BackupPC -d line that starts the program
with the correct user - in this case backup [Yes, I know thrillingly
orginal Smile ] about every other time the program bails with the message
that "another BackupPC is running at PID XXX [usually 541 or so]".

Option 2:

We copied the linux-backuppc to the RC.d directory in the /etc
directory. Copied the file as backuppc and made it executable. This
doesn't fly at all! Doesn't seem to even run although the correct user
[backup] is correctly installed in the script.

Now here is the kicker, in either case and with both ver 2.0.2 and 2.1.0
if I login as backup and start the BackupPC -d the thing runs like a
champ! Ashamed to say this is how I backup 10 servers. I would like to
get straight though. As soon as I get one bullet proof I will send it
in to be included with the next release.

BackupPC - Saving my A** on a nightly basis.....

Scott Fortney

scottfortney < at > comcast.net




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB