Movie

Gexpensive Verysensualgirls Z Anal Personals A Szh 1 Very Sensual Girl Odorikani

Gexpensive Verysensualgirls Z Anal Personals A Szh 1 Very Sensual Girl

Szh search search
search search zsearchA Szh a Gexpensive

searchn Verysensualgirls w Personals L Anal o Verysensualgirls a Verysensualgirls d Personals oa searche Gexpensive lsearchMisearchia1v

Filed under: Computer, Mac by admin | No Comments »



特にガイドに従って進めれば難しいことは無い。:gizmodo.com一つだけ問題があってHibernation ができないんだが、できてる人も居るみたいだが大多数はできてないので、仕方無い気がする。



There is no problem if you follow the guide: gizmodo.com. Only one thing which does not work is Hibernation. I have read very few did, but mostly have not done, so I guess I should use without it.

Backup WordPress Data using Bash via FTP

Filed under: Computer, Linux or Unix-Like by admin | No Comments »

WordPress をFTP 経由でバックアップするために、単純にシェルスクリプトを使うことにした。ここで見つかったシェルスクリプトはかなり良い感じ。: guyrutenberg.com

作者は新しいスクリプトを書いているんだが、そっちは気にせずこの古いやつを幾つかコピーして使うことにした。それをコピーして保存し(シェルスクリプトは改行コードに注意)、少し設定を追加すれば良いだけだ。

$ ls /home/hogehogeUser/
wordpressBackup.sh

$ sudo chmod 755 /home/hogehogeUser/wordpressBackup.sh
$ vi /home/hogehogeUser/wordpressBackup.sh

USERINFO=~/.bashrc
source ${}

DB_NAME= your mysql database name
DB_USER= your mysql database user name
DB_PASS= your mysql database password
DB_HOST= your mysql database host name (mostly localhost)

BLOG_DIR= your WordPress directory
BACKUP_DIR= /a directory/where/you/want to/copy first/

FTP_HOST= FTP server name
FTP_USER= FTP user name (would be anonymous)
FTP_PASS= the user name's password
FTP_BACKUP_DIR= a directory where you want to backup


次に、BACKUP_DIR の場所を作る。

$ sudo mkdir /a directory/where/you/want to/copy first/
$ sudo chmod 755 /a directory/where/you/want to/copy first/


そしてシェルから動くことが確認できたら、cron で動くようにすれば良い。


$ vi /home/hogehogeUser/runningForCron.sh

#!/bin/bash

echo "start hogehogeUser backup"
/bin/bash /home/hogehogeUser/wordpressBackup.sh
echo "end hogehogeUser backup"


$ crontab -e

45 * * * * /home/hogehogeUser/runningForCron.sh
#(which means to execute the script every hour)


もしシェルでは問題無く、cron の実行時にのみ問題があるならば、パーミッションや場所の確認をすると良い。crontab に、”45 * * * * /home/hogehogeUser/runningForCron.sh >>/tmp/analog.log 2>>/tmp/analog-err.log” とログを出力するようにして原因を調査すると早いだろう。



In order to backup wordpress via FTP without any plugins, I simply use a shell script which I have found on the internet: guyrutenberg

This script is really great. Although the author have revised, I ve just used the script and run several copies. Just copy the script and save it in somewhere, and need to run as a shell script. You also need to add database, FTP server location, etc.


$ ls /home/hogehogeUser/
wordpressBackup.sh

$ sudo chmod 755 /home/hogehogeUser/wordpressBackup.sh
$ vi /home/hogehogeUser/wordpressBackup.sh

USERINFO=~/.bashrc
source ${}

DB_NAME= your mysql database name
DB_USER= your mysql database user name
DB_PASS= your mysql database password
DB_HOST= your mysql database host name (mostly localhost)

BLOG_DIR= your WordPress directory
BACKUP_DIR= /a directory/where/you/want to/copy first/

FTP_HOST= FTP server name
FTP_USER= FTP user name (would be anonymous)
FTP_PASS= the user name's password
FTP_BACKUP_DIR= a directory where you want to backup


OK, then you need to make a directory where the BACKUP_DIR locate.


$ sudo mkdir /a directory/where/you/want to/copy first/
$ sudo chmod 755 /a directory/where/you/want to/copy first/


Then test it, and check the result. If the script works correctly, add in cron.


$ vi /home/hogehogeUser/runningForCron.sh

#!/bin/bash

echo "start hogehogeUser backup"
/bin/bash /home/hogehogeUser/wordpressBackup.sh
echo "end hogehogeUser backup"


$ crontab -e
45 * * * * /home/hogehogeUser/wordpressBackup.sh
#(which means to execute the script every hour)

tGexpensive Verysensualgirls Z Anal Personals A Szh 1 Very Sensual Girl Odorikaniv Webcam iGexpensive Verysensualgirls Z Anal Personals A Szh 1 Very Sensual Girl Odorikanie b Very Sensual Girl Hairy