Search This Blog

Monday, October 4, 2010

Script to perform tarsnapping of data on FreeBSD

Here is the script to perform tarsnapping on FreeBSD:


# Directories to backup


BACKUP=`date "+%Y-%m-%d+%H:%M"`

# Do backups
for dirs in `grep -v -e '^#.' $DIRS`; do
# Needs to set IFS to space to allow passing arguments to tarsnap
IFS=' '
echo ${dirs}

The conf file should look like:
archive_name1 /list /of /directories1
archive_name2 /list /of /directories2
misc /root /etc /boot/loader.conf /usr/local/etc /usr/local/opt /var/cron/tabs /var/services /var/mail /var/qmail/control /var/qmail/alias


Unknown said...

ralph lauren outlet
louis vuitton bags
longchamp pliage
timberland boots
pandora jewelry
ralph lauren uk
coach outlet canada
michael kors outlet online
nike roshe run shoes
adidas trainers
michael kors handbags
new balance shoes
ugg sale
rolex uk
chaussure louboutin
vans shoes
longchamp pliage
tory burch outlet online
cheap michael kors handbags
coach outlet
ghd hair straighteners
mizuno running shoes
cartier watches
michael kors outlet
cartier watches
bottega veneta outlet online
nike outlet store
tiffany jewellery
nike free running
beats headphones
kobe shoes
coach outlet
nike trainers uk

chenmeinv0 said...

ugg outlet
vikings jerseys
oakley sunglasses outlet
coach outlet
coach factory outlet
mbt shoes men
louboutin uk
adidas outlet
ray ban glasses
ugg boots

Unknown said...

ralph lauren outlet
nike blazer shoes
ugg boots clearance
oakley sunglasses
carrera sunglasses
nike outlet
michael kors outlet
air jordans
ralph lauren outlet
cheap nfl jerseys

cara menggugurkan hamil said...

just information we only provide information for those who need it
A. obat telat datang bulan
B. posisi berhubungan agar cepat hamil
C. makanan dan minuman agar cepat hamil
D. panduan agar cepat hamil
E. cara agar cepat hamil
F. cara agar cepat hamil setelah selesai haid
G. cara alami untuk segera mendapat kehamilan

Unknown said...نقل-عفش-الرياض-جدة-مكة/

NinalDavisq said...

The Cheap Real Yeezys's sole, as mentioned earlier, comes white - with portions of it showing of at the very front and back ends of the shoe. It is quite a thick sole, by the way. For a tying mechanism, the Cheap Yeezys employs both a shoe-thread/hole mechanism and a 'flap' mechanism.

Coach Outlet Online is one of the best fashion Coach Bags Outlet in the world. Michael Kors Bags Outlet is known for its best quality Michael Kors Purse Outlet that are usually used by actresses and also rich people. The price of Coach Outlet Store Online is also not cheap, means that it is really expensive. One of the best features of this thing is the sturdiness of the MK Outlet. Coach Bags Clearance have really high quality and they are made of high quality raw materials.