Backups are importants to prevent file lose: image if tomorrow the disk with all the photos of your family will die. No more photos of your earlier life will be available… So… Backups are important.
But, it’s important to keep your data secret. If you decide to use an online storage, and you need to put private data on it (important documents), it’s better if no one can read them!
For this reason I’d like to propose you a script which backups your data, crypt them using the GPG system and upload then — (Read more)
If you are a backup maniac like me, you like to have multiple ways (and on different locations) to backup all your data.
Even if on bluehost I’ve some other services making backups of my data, I’ve also created a script executed by my home computer every night to extract mysql databases to a local NAS.
exec 6>&1 # Link file descriptor #6 with the standard output
exec > $LOGFILE # stdout sent to $LOGFILE
#Check script arguments
if [ $# -ne $EXPECTED_ARGUMENTS ]
echo "No arguments supplied."
echo "Script usage:"
echo " $0 bluehost_db_username bluehost_db_password target_folder dest_mail"
echo "Starting Bluehost Backup: $(date +"%d/%m/%Y %H:%M:%S")"
echo "Backup All Bluehost DBs"
ssh -C firstname.lastname@example.org "mysqldump --opt --compress --all-databases -u $1 --password='$2' | gzip -9 -c" > $FILE_NAME
sudo mv ./$FILE_NAME $3
echo "Backup Completed: $(date +"%d/%m/%Y %H:%M:%S")!"
mail -s "Bluehost Backup Report" $DEST_MAIL < $LOGFILE
exec 1>&6 6>&- # Restore stdout and close file descriptor #6.
rm -f $LOGFILE
echo "Backup Completed!"
The script make an ssh connection to your Bluehost account, execute the mysqldump and directly download the compressed result (no space is required on your Bluehost account to execute the backup). Then — (Read more)
If you have shutdown problems on your Mac: it never shutdown and is stack at on the grey circular icon. The problem could be your TimeMachine setting.
I just discovered that my MacBook had problems connecting to the network timemachine disk (it’s not the time capsule but a Buffalo NAS)… No backup were executed, sometimes the system was unusable and cannot shutdown or restart (need to force the shutdown with the power button).
Well i don’t exactly know the reasons around the missing — (Read more)
The first rule for a correct backup is to store your backup file(s) on a different server than the one you are backupping. So, even if you can find many wordpress backup plugin opensource, many of those just execute backup in a folder of the same server where you have wordpress installed. So you just remember to download these files on your local computer to have something safe.
But, after a little browsing inside all the wordpress plugin I also found some others interesting way to execute your backup (to — (Read more)