Author: Raymond

PowerShell – Backup File Plan with OneDrive and task scheduler

Setup OneDrive Account, set on your computer for syn purpose use powershell script (below) to copy target data into onedrive folder   PowerShell script to copy file into other file #source: https://blog.csdn.net/zhang_ruisen/article/details/51038028 #https://www.pstips.net/ # # #Source_Path is string that from backup path folder $Source_Path=”F:\Database\PassDatabase” #Destination_Home is to backup path $Destination_Home=”G:\OneDriverFolder\OneDrive\Database” $Destination_Path=$Destination_Home+”\”+(Get-Date).ToString(“yyyyMMdd”) #Test if destination if
Read More »

Google Cloud (B) – Migrate WordPress to Google Cloud

Install WordPress on Google Cloud Transfer Existing WordPress to Google Cloud Connect to PHPMyAdmin via an SSH   1. Install WordPress on Google Cloud cd /var/www/html to the path wget -c http://wordpress.org/latest.tar.gz     chown -R www-data:www-data /var/www/html/wordpress   Create database for wordpress mysql -u root -p   CREATE DATABASE wordpress_db;GRANT ALL PRIVILEGES ON wordpress_db.*
Read More »