0 -> everything is ok
storeBackupMount1
Runs storebackup backing up to an nfs mount
Usage
storeBackupMount.pl -c
configFile
[-s
server]
[-l
logFile]
[-d]
[-p
pathToStoreBackup]
[-k
killTime]
[-m]
mountPoints ...
Overview
This script does the following:
- - checks an nfs server with ping
- - mounts that server via a list of mount points
- - starts storeBackup (with a config file)
- - umounts that server
Options
-
--server, -s -
name or ip address of the nfs serverdefault is localhost
-
--configFile, -c -
configuration file for storeBackup.if option 'logFile' is set in the configration file,that log file is read online, if it is different from -l
-
--logFile, -l -
logFile for this process.default is STDOUT.you can log into the same logfile as storeBackup
-
--debug, -d -
generate some debug messages
-
--pathStbu, -p -
path to storeBackup.pl
-
--killTime -k -
time until storeBackup.pl will be killed.default is 365 days.the time range has to be specified in format 'dhms', e.g.10d4h means 10 days and 4 hours
-
--keepExistingMounts, -m -
if a mount already exists, do not umount afterrunning storeBackup
- mountPoints
-
List of mount points needed to perform the backup.This must be a list of paths which have to bedefined in /etc/fstab.-if you add 'ro,' or 'rw,' to the beginning of a mountpoint, you can overwrite that option set in /etc/fstabexample:ro,/filesSystemToReadwill mount /fileSystemToRead read only, even if thecorresponding entry in /etc/fstab mounts it read writeonly root is allowed to use this feature!
Exit status
-
1 -> error from storeBackup
-
2 -> error from storeBackupMount
-
3 -> error from both programs
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.
--debug since Debian 6.0 (Squeeze);
-d since Debian 6.0 (Squeeze).