Difference between revisions of "Updating"
From Anarchaserver
Line 2: | Line 2: | ||
____________________________ | ____________________________ | ||
~Before updating! BACKUPING | ~Before updating! BACKUPING | ||
____________________________ | ____________________________ | ||
BACKUP | BACKUP | ||
Backup mysql | Backup mysql databases | ||
<code>mysqldump - | <code>sudo mysql -u root </code> | ||
<code>mysql> show databases;</code> | |||
<code>sudo mysqldump (name-database) -u root -p (password) > database.sql</code> | |||
Copy web folder /var/www | |||
<code>rsync -ah --progress -R anoia.tachanka.org:/var/www .</code> | |||
Export Wordpress by the gui interface | |||
UPDATE | UPDATE | ||
Line 23: | Line 26: | ||
Sftp: | Sftp: | ||
https://devtidbits.com/2011/06/29/implement-a-sftp-service-for-ubuntudebian-with-a-chrooted-isolated-file-directory/ | https://devtidbits.com/2011/06/29/implement-a-sftp-service-for-ubuntudebian-with-a-chrooted-isolated-file-directory/ | ||
Revision as of 08:05, 24 May 2017
How to keep things up to date in Our Living Sites?!
____________________________ ~Before updating! BACKUPING ____________________________
BACKUP
Backup mysql databases
sudo mysql -u root
mysql> show databases;
sudo mysqldump (name-database) -u root -p (password) > database.sql
Copy web folder /var/www
rsync -ah --progress -R anoia.tachanka.org:/var/www .
Export Wordpress by the gui interface
UPDATE
Updating the networked sites of Wordpress could be done by the graphical user interface (sftp) or via the commandline. (the virtual machine) access? Activating ssh by sftp (ssl) means granting 'user' access to root folder to change directories.