Linux Training

Linux training for private, public & voluntary sector.

0793 572 8612

City LinUX sample scripts - archive.cf


# $Id: archive.cf,v 1.42 2023/12/28 16:14:32 fulford Exp $
# $Source: /src/admin/usr/local/etc/RCS/archive.cf,v $
# $Revision: 1.42 $
# Maintained by  C W Fulford.
# Copyright 2016 (c) C W Fulford.
# Licensed for public use under the LGPL, .
# For assistance contact fulford@fulford.net 0793 572 8612 
########################################################################
robustica:
	host=www.robustica.co.uk
	ftphost=ftp.robustica.co.uk
	backup="lftp"
	dest=/src/aa
	domain=robustica.co.uk
	mailto=fulford@fulford.net
	mailfrom=fulford@citylinux.com
	src=./
	user=robustica.co.uk
	#pass=<password>
	pass=<password>
	dbdest=badon-hill:/mnt/HD/HD_a2/aace
	db:<database>=<passwd>

bfl-uw:
	host=bfl-uw
	mailfrom=fulford@citylinux.com
	mailto=fulford@citylinux.com
	rsudo=/usr/local/bin/sudo
	rsrc="/"
	root_usr=y
        rs_dest="bastion-0.citylinux.com:/volume1/bfl-uw"
	rs_opts="-a --delete"
	exclude:/.io
	exclude:/proc
	exclude:/dev/rdsk
	exclude:/dev/dsk
	exclude:/dev/_tcp


tx-slkmail:
caswallon:
	host=tx-slkmail.fulford.net
	mailfrom=fulford@citylinux.com
	mailto=fulford@citylinux.com
	rdest=/backup/tx-slkmail
	rsrc="/"
	rs_dest="badon-hill:/mnt/HD/HD_a2/tx-slkmail"
	rs_opts="-a --del"
	root_usr=y
	tarcmd="tar --one-file-system -cSzf -"
	tar_dest="bastion-0:/volume1/backup/tx-slkmail"
	tarsrc="/ /u"
	tar="tar --one-file-system -cSf -"
	exclude:/backup
	exclude:/backup2
	exclude:/dev/shm
	exclude:/home
	exclude:/proc
	exclude:/run
	exclude:/sys
	exclude:/tmp
	exclude:/u/fulford/.gvfs
	exclude:/u/fulford/.cache
	exclude:/var/tmp

merlin:
	host=merlin.fulford.net
	dest=/srv/bastion-0/merlin
	fss="/ /usr /u /usr /var /vm"
	backup="tar --one-file-system -cSf"
	mailfrom=fulford@fulford.net
	mailto=fulford@fulford.net
	rs_opts="-a --delete"
	rsrc="/	"
	rs_dest="badon-hill:/mnt/HD/HD_a2/merlin"
	root_usr=y
	exclude:/backup
	exclude:/backup2
	exclude:/dev/shm
	exclude:/proc
	exclude:/run
	exclude:/sys
	exclude:/srv/bastion
	exclude:/srv/bastion-0
	exclude:/srv/bastion-1
	exclude:/tmp
	exclude:/home/fulford/.gvfs
	exclude:/home/fulford/.cache
	exclude:/u/src
	exclude:/u/vm
	exclude:/var/tmp


emeriqa:
	host=emeriqa
	dest=bastion:/volume1/backup/emeriqa
	fss="/ /home /usr /usr/local /var "
	backup="tar --one-file-system -cSf"
	mailto=fulford@citylinux.com
	mailfrom=fulford@emeriqa.co.uk
	setremote=yes
	rs_opts="-ax"
	rsrc="/ /home /usr /usr/local /var "
	rs_dest="bastion:/volume1/backup/emeriqa "
	root_usr=y
	sendmail=/sbin/sendmail
	db:<database>=<passwd>
	exclude:/backup-usb
	exclude:/dev/shm
	exclude:/home/jeremy/public_html/imac_backup
	exclude:/home/mountpoint
	exclude:/proc
	exclude:/run
	exclude:/sys
	exclude:/tmp
	exclude:/var/tmp

selassie:
	host=selassie.fulford.net
	dest=/srv/bastion-0/selassie
	fss="/ /usr /u /usr /var /vm"
	backup="tar --one-file-system -cSf"
	mailfrom=fulford@fulford.net
	mailto=fulford@fulford.net
	rs_opts="-a --delete"
	rsrc="/	"
	rs_dest="badon-hill:/mnt/HD/HD_a2/selassie"
	root_usr=y
	exclude:/backup
	exclude:/backup2
	exclude:/dev/shm
	exclude:/proc
	exclude:/run
	exclude:/sys
	exclude:/srv/bastion
	exclude:/srv/bastion-0
	exclude:/srv/bastion-1
	exclude:/tmp
	exclude:/home/fulford/.gvfs
	exclude:/home/fulford/.cache
	exclude:/u/src
	exclude:/u/vm
	exclude:/u/www
	exclude:/var/tmp




tx-slk15web:
	host=tx-slk15web.fulford.net
	rdest=/backup/tx-slk15web
	backup="tar --one-file-system -cSf"
	mailfrom=fulford@citylinux.com
	mailto=fulford@fulford.net
	rs_opts="-a --delete --delete-excluded"
	rsrc="/"
	rs_dest="badon-hill:/mnt/HD/HD_a2/tx-slk15web"
	root_usr=y
	exclude:/backup
	exclude:/backup2
	exclude:/dev/shm
	exclude:/home
	exclude:/proc
	exclude:/run
	exclude:/src
	exclude:/sys
	exclude:/tmp
	exclude:/u/fulford/.gvfs
	exclude:/u/fulford/.cache
	exclude:/var/tmp
	dbdest=badon-hill:/mnt/HD/HD_a2/dbdumps
	pass=<password>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	db:<database>=<passwd>
	#db:<database>=<passwd>

vmerlin:
	host=vmerlin.fulford.net
	backup="tar --one-file-system -cSf"
	dest=/srv/bastion-0/vmerlin
	fss="/ /usr/local /u  /var"
	mailfrom=fulford@citylinux.com
	mailto=fulford
	rs_opts="-ax --delete"
	rsrc="/	/var /usr/local /u"
	rs_dest="badon-hill:/mnt/HD/HD_a2/vmerlin"
	sudo=/usr/bin/sudo
	db:<database>=<passwd>
	root_usr=y
	exclude:/backup
	exclude:/backup2
	exclude:/dev/shm
	exclude:/home
	exclude:/proc
	exclude:/run
	exclude:/sys
	exclude:/tmp
	exclude:/u/home/fulford/.gvfs
	exclude:/u/home/fulford/.cache
	exclude:/u/src/app
	exclude:/var/tmp

tx1330:
	host=tx1330.fulford.net
	backup="tar --one-file-system -cSf"
	dest=/srv/bastion-0/tx1330
	fss="/ /usr/local /u  /var /vm"
	mailfrom=fulford@citylinux.com
	mailto=fulford
	rs_opts="-a --delete-before --delete-excluded"
	rsrc="/	"
	rs_dest="badon-hill:/mnt/HD/HD_a2/tx1330"
	root_usr=y
	exclude:/backup
	exclude:/backup2
	exclude:/dev/shm
	exclude:/home
	exclude:/proc
	exclude:/run
	exclude:/sys
	exclude:/tmp
	exclude:/u/home/fulford/.gvfs
	exclude:/u/home/fulford/.cache
	exclude:/u/src/app
	exclude:/var/tmp
	exclude:*.vdi
	exclude:*.vmdk

######################################################################
# This program is free software: you can redistribute it and or      #
# modify it under the terms of the Lesser GNU General Public License #
# as published by the Free Software Foundation, either version 3 of  #
# the License, or (at your option) any later version.                #
#                                                                    #
# This program is distributed in the hope that it will be useful,    #
# but WITHOUT ANY WARRANTY; without even the implied warranty of     #    
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      #
# GNU General Public License for more details.                       #
#                                                                    # 
# A copy of the Lesser GNU General Public License and the GNU        #
# General Public License is available at                             #
# <http://www.gnu.org/licenses/>.                                    #
######################################################################

The layout and associated style sheets for this page are taken from the World Wide Web Consortium and used here under the W3C software licence.