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

kkk said...

ray ban sunglasses outlet
coach handbags outlet
adidas uk
mulberry bags
yeezy boost
montblanc pens
kate spade bags
ray ban sunglasses outlet
nike sneakers

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

Unknown said...

prada bags
coach outlet
ray ban wayfarer
canada goose
adidas jeremy scott
ralph lauren polo
north face clearance
coach wallets
cheap nfl jerseys
ray ban sunglasses

fangyaoting said...

20180616 junda
canada goose outlet
pandora charms
freshjive clothing
alife clothing
ugg outlet
nfl jersey wholesale
ubiq shoes
chrome hearts outlet
pandora charms sale clearance
cheap jordans

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...نقل-عفش-الرياض-جدة-مكة/