summaryrefslogtreecommitdiff
path: root/bin/bbackupd/bbackupd-config
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2008-02-02 08:31:52 +0100
committerReinhard Tartler <siretart@tauware.de>2008-02-02 08:31:52 +0100
commit2787035d98661881477d696403ca2a78b49322d5 (patch)
tree0a018e13726a0232332ac23565e1a7df32cdcc06 /bin/bbackupd/bbackupd-config
parent2733267954e91e394fbb512ea3abb4c497c0752f (diff)
import version 0.11rc2
This commit has been made by 'bzr import'. I used the upstream tarball of Version 0.11rc2 for creating it. It has the md5sum: 68052f963a944c717a50bd65a54375ff
Diffstat (limited to 'bin/bbackupd/bbackupd-config')
-rwxr-xr-xbin/bbackupd/bbackupd-config37
1 files changed, 20 insertions, 17 deletions
diff --git a/bin/bbackupd/bbackupd-config b/bin/bbackupd/bbackupd-config
index 880f2e97..37847d7e 100755
--- a/bin/bbackupd/bbackupd-config
+++ b/bin/bbackupd/bbackupd-config
@@ -1,12 +1,13 @@
#!/usr/bin/perl
-# distribution boxbackup-0.11rc1 (svn version: 2023_2024)
+# distribution boxbackup-0.11rc2 (svn version: 2072)
#
-# Copyright (c) 2003 - 2006
+# Copyright (c) 2003 - 2008
# Ben Summers and contributors. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -53,15 +54,19 @@ Setup bbackupd config utility.
Bad command line parameters.
Usage:
- bbackupd-config config-dir backup-mode account-num server-hostname working-dir backup-dir [more backup directories]
-
-config-dir usually /etc/box
-backup-mode is lazy or snapshot
- lazy mode runs continously, uploading files over a specified age
- snapshot mode uploads a snapshot of the filesystem when instructed explicitly
-account-num (hexdecimal) and server-hostname as supplied from the server administrator
-working-dir usually /var/bbackupd
-backup-dir, list of directories to back up
+ bbackupd-config config-dir backup-mode account-num server-hostname
+ working-dir [backup directories]
+
+Parameters:
+ config-dir is usually /etc/box
+ backup-mode is lazy or snapshot:
+ lazy mode runs continously, uploading files over a specified age
+ snapshot mode uploads a snapshot of the filesystem when instructed
+ explicitly, using bbackupctl sync
+ account-num (hexdecimal) and server-hostname
+ are supplied by the server administrator
+ working-dir is usually /var/run
+ backup directories is list of directories to back up
__E
print "=========\nERROR:\n",$_[0],"\n\n" if $_[0] ne '';
@@ -165,8 +170,6 @@ Note: If other file systems are mounted inside these directories, then
they will NOT be backed up. You will have to create separate locations for
any mounted filesystems inside your backup locations.
-WARNING: Directories not checked against mountpoints. Check mounted filesystems manually.
-
__E
# create directories
@@ -307,7 +310,7 @@ Subject: \$SUBJECT (unknown)
To: \$SENDTO
-The backup daemon on $hostname reported an unknown error.
+The backup daemon on $hostname reported an unknown error (\$1).
==========================
FILES MAY NOT BE BACKED UP
@@ -468,7 +471,7 @@ MaximumDiffingTime = 120
# Where the command socket is created in the filesystem.
-CommandSocket = /var/run/bbackupd.sock
+CommandSocket = $working_dir/bbackupd.sock
# Uncomment the StoreObjectInfoFile to enable the experimental archiving
# of the daemon's state (including client store marker and configuration)
@@ -481,7 +484,7 @@ CommandSocket = /var/run/bbackupd.sock
Server
{
- PidFile = /var/run/bbackupd.pid
+ PidFile = $working_dir/bbackupd.pid
}
@@ -601,7 +604,7 @@ What you need to do now...
4) You may wish to read the configuration file
$config_file
- and adjust as appropraite.
+ and adjust as appropriate.
There are some notes in it on excluding files you do not
wish to be backed up.