1 This directory contains some scripts for auto-starting BackupPC
4 The subdirectory src contains source versions of these scripts (before
5 various absolute paths have been filled in).
7 Here are instrcutions for different OSs. Please submit additions
8 or improvements to this list!
13 When configure.pl is run, the script linux-backuppc is created. It
14 should be copied to /etc/init.d/backuppc:
16 cp linux-backuppc /etc/init.d/backuppc
18 After copying it, you can test it by running these commands as root:
20 /etc/init.d/backuppc start
21 /etc/init.d/backuppc status
22 /etc/init.d/backuppc stop
24 You should then run the following commands as root:
26 chkconfig --add backuppc
27 chkconfig --level 345 backuppc on
28 chkconfig --list backuppc
30 This will auto-start backuppc at run levels 3, 4 and 5.
35 When configure.pl is run, the script debian-backuppc is created.
37 Copy the debian startup script:
39 cp debian-backuppc /etc/init.d/backuppc
41 Run the following command to install in rc.d:
43 update-rc.d backuppc defaults
45 Set the correct init.d rights:
47 chmod 755 /etc/init.d/backuppc
49 Usage: /etc/init.d/backuppc {start|stop|restart|reload}
54 When configure.pl is run, the script suse-backuppc is created.
56 Using Suse 9.0 "chkconfig --level" doesn't work, so you should run:
58 chkconfig backuppc 345
59 chkconfig --list backuppc
64 When configure.pl is run, the script gentoo-backuppc and the init conf files
65 gentoo-backuppc.conf are created. They should be copied to the following
68 cp gentoo-backuppc /etc/init.d/backuppc
69 cp gentoo-backuppc.conf /etc/conf.d/backuppc
71 You can test it by running these commands as root:
73 /etc/init.d/backuppc start
74 /etc/init.d/backuppc status
75 /etc/init.d/backuppc stop
77 After copying these files, run the following as root to make BackupPC to
78 start automatically at boot (at the default run level):
80 rc-update add backuppc default
85 When configure.pl is run, the script freebsd-backuppc is created.
86 An alternative more compact script is freebsd-backuppc2, submitted
89 Copy one of these scripts to /usr/local/etc/rc.d/backuppc and make
92 Add the following line to /etc/rc.conf to enable BackupPC:
94 backuppc_enable=(bool): Set to "NO" by default.
95 Set it to "YES" to enable BackupPC.
101 The script accepts: start, stop, restart, reload, status
106 When configure.pl is run, the script slackware-backuppc is created.
108 Install it by running these commands as root:
110 cp slackware-backuppc /etc/rc.d/rc.backuppc
111 chmod 755 /etc/rc.d/rc.backuppc
113 then use an editor to add /etc/rc.d/rc.backuppc to /etc/rc.d/rc.local
118 When configure.pl is run the shell script solaris-backuppc is created.
119 This should be copied to /etc/init.d and links made in /etc/rc3.d
122 cp solaris-backuppc /etc/init.d/backuppc
123 ln -s /etc/init.d/backuppc /etc/rc3.d/S85backuppc
124 ln -s /etc/init.d/backuppc /etc/rc0.d/K85backuppc
126 This will auto-start backuppc at run level 3 and stop it at run level 0.
128 (Can a Solaris user please tell me if these instructions are correct?)