3 images I just received from Las Vegas showing the YuiXX at the booth of Intel
RFC: Plesk to Amazon S3 backup part 2
#!/bin/sh
CLIENT=client1
OBJECT=domain.nl
BASEDIR=/var/lib/psa/backupscript
BASEDIROBJECT=/var/lib/psa/dumps/.discovered/*_
DATADIR=/var/lib/psa/dumps/resellers/beheer/clientscd /$BASEDIR
file=”$BASEDIROBJECT$OBJECT”### bash check if file exists
if [ -f $file ];
### first backup the new stuff
then python s3cmd put -r $DATADIR/$CLIENT/domains/ s3://bucketname/”$CLIENT”_`date +%d%m%Y`/
rm -rf $BASEDIROBJECT$OBJECT
touch “$BASEDIR”/logs/”$CLIENT”_backup-transferred`date +_%d%m%Y`.txtelse echo “nothing to backup”
fi
echo “ready”
So, this is the modified backup script, where I have removed the delete part of the domain, I have created a logfile after ‘successful’ uploading the content, so that with this file you can delete finally the content on the server in another script.
script has not run in crontab yet and I have only adapted it for 1 domain yet. Comments are welcome.
Weer een TV serie die gaat eindigen: NIP TUCK
Na een korte seizoen 6 (10 afleveringen) werd er ‘ineens’ na de feestdagen begonnen met aflevering 11 van seizoen 6, maar wat overal gezien wordt als de eerste aflevering van het laatste 7de seizoen.
Jammer .. Jammer Jammer .. maar goed 7 seizoenen plastische chirugie is wel voldoende en Sean en Christian hoeven niet te vervallen in ‘onmogelijke’ dingen (want een aantal flinke messteken in je rug hebben, bloed uit je mond en het dan nog overleven en een aantal afleveringen later er niets meer aan over houden is natuurlijk al onwaarschijnlijk genoeg … ).
RFC: Plesk backup to Amazon S3 – it works!
First thanks to Uli for the first step towards some idea’s and Armijn giving good guidelines how to use some variables together with commands.
cause I am a newbie on bin/bash scripting.. but with lots of testing tonight I was able to backup several ‘clients’ content towards buckets and objects on Amazon S3. Probably this is a first good step towards the usage of a simple script for the backup of your server’s content to Amazon S3
Needed: Python, S3cmd, data and the correct settings
note: this script is not finished yet as I am manually executing it and the removal of data from Amazon S3 is not well tested (it works, but I need to check it during the time the stuff is running.
#!/bin/sh
###################################
### ###
### BACKUP FOR
YuiXX: Wallpaper
YuiXX: the inside boxes
Scripting Help wanted: S3cmd & Backup
I am a newbie in bin/bash scripting so help is appreciated
I am using s3cmd with Amazons S3 service
what I want is to copy per day/week/month some backup files.
Amazon S3 – Backup
draft:
I am trying to migrate away from my home server and getting the daily / weekly backups from my various websites of the main webserver onto the Amazon S3 service.
For this I am using a tool s3cmd (Python needed)
2010
Zo, de server heeft zijn eerste updates voor dit jaar gehad en we zijn weer een beetje bijgewerkt. PHP naar 5.2.12, MySQL naar 5.089 en wat al niet meer.
Lekker als dan alles ook nog een beetje blijft werken zoals je graag wil. En nu afblijven met de vingers ;-)
HAPPY NEW YEAR – GELUKKIG NIEUW JAAR !
Vanaf het AroundMyRoom kamp:
HAPPY NEW YEAR – GELLUKKIG NIEUW JAAR
En dat het een mooi geweldig, super, spannend, interessant, rustig, aardig, en lekker jaar mag worden 2010






