User Tools

Site Tools


servers:windows:nginx:piwigo

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:piwigo [2025/11/21 18:44] – [PHP] Sean Rhoneservers:windows:nginx:piwigo [2025/11/29 00:43] (current) – [Back-up] Sean Rhone
Line 178: Line 178:
 ===== Back-up ===== ===== Back-up =====
  
-  * :!: TODO+  * ''D:\Servers\Scheduled Backups''
  
   "notepad.exe" "%SystemDrive%\www\scripts\media\Back-up.bat"   "notepad.exe" "%SystemDrive%\www\scripts\media\Back-up.bat"
Line 184: Line 184:
 <code> <code>
 @echo off @echo off
 +
 +TITLE Media 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\piwigo-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "media" 
 +::"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "%UserProfile%\Downloads\%RANDOM%-piwigo.sql" "piwigo"
  
 :: 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\piwigo-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "media" 
 +"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "D:\Servers\Scheduled Backups\%RANDOM%-piwigo.sql" "piwigo"
  
 :: End</code> :: End</code>
Line 281: Line 285:
 ===== Back-up ===== ===== Back-up =====
  
-  * Weekly -> Recur every ''1'' weeks on ''Monday'' +  * Monthly -> All months -> Days: ''2'' 
-  * ''12:15:00 AM'' +  * ''1:15:00 AM''
-  * :!: TODO+
  
-  Wiki File Back-up+  Media Back-up
  
   "%SystemDrive%\www\scripts\media\Back-up.bat"   "%SystemDrive%\www\scripts\media\Back-up.bat"
/var/www/wiki/data/attic/servers/windows/nginx/piwigo.1763768686.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