User Tools

Site Tools


servers:windows:nginx:wordpress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:windows:nginx:wordpress [2025/11/29 00:25] Sean Rhoneservers:windows:nginx:wordpress [2025/11/29 00:43] (current) – [Back-up] Sean Rhone
Line 139: Line 139:
  
 ====== Scripts ====== ====== Scripts ======
- 
-**** 
  
   MKDIR "%SystemDrive%\www\scripts\blog"   MKDIR "%SystemDrive%\www\scripts\blog"
 +
 +  "explorer.exe" "%SystemDrive%\www\scripts\blog"
  
 ===== PHP-CGI ===== ===== PHP-CGI =====
Line 176: Line 176:
 ===== Back-up ===== ===== Back-up =====
  
-  * :!: TODO+  * ''D:\Servers\Scheduled Backups''
  
-  "notepad.exe" "%SystemDrive%\www\scripts\media\Back-up.bat"+  "notepad.exe" "%SystemDrive%\www\scripts\blog\Back-up.bat"
  
 <code> <code>
 @echo off @echo off
 +
 +TITLE Blog Back-up
  
 :: User\Downloads :: User\Downloads
-"tar.exe" -czf "%UserProfile%\Downloads\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+::"tar.exe" -czf "%UserProfile%\Downloads\wordpress-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "blog" 
 +::"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "%UserProfile%\Downloads\%RANDOM%-wordpress.sql" "wordpress"
  
 :: NAS :: NAS
-::"tar.exe" -czf "D:\Servers\Scheduled Backups\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+"tar.exe" -czf "D:\Servers\Scheduled Backups\wordpress-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "blog" 
 +"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "D:\Servers\Scheduled Backups\%RANDOM%-wordpress.sql" "wordpress"
  
 :: End</code> :: End</code>
  
-  "%SystemDrive%\www\scripts\media\Back-up.bat"+  "%SystemDrive%\www\scripts\blog\Back-up.bat"
  
 ===== Maintenance ===== ===== Maintenance =====
/srv/www/wiki/data/attic/servers/windows/nginx/wordpress.1764393920.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki