User Tools

Site Tools


servers:bsd:nginx:friendica

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:bsd:nginx:friendica [2025/10/30 20:28] – [Settings] Sean Rhoneservers:bsd:nginx:friendica [2025/10/31 02:12] (current) Sean Rhone
Line 4: Line 4:
   * [[information:realm_of_espionage|Realm of Espionage]]   * [[information:realm_of_espionage|Realm of Espionage]]
   * https://social.realmofespionage.xyz   * https://social.realmofespionage.xyz
- 
-  * :!: WIP 
  
 ===== Resources ===== ===== Resources =====
Line 309: Line 307:
  
   su 'root' -c ~/'.local/scripts/www/social/git-fix.sh'   su 'root' -c ~/'.local/scripts/www/social/git-fix.sh'
 +
 +====== cron ======
 +
 +===== Updater =====
 +
 +  * 04:00AM Every day
 +
 +  su -
 +
 +  ee '/etc/cron.d/social-updater'
 +
 +<code>
 +#
 +SHELL=/bin/sh
 +
 +0 4 * * * root '/home/espionage724/.local/scripts/www/social/updater.sh'
 +
 +# End</code>
  
 ====== Backup ====== ====== Backup ======
Line 316: Line 332:
   su -   su -
  
-  tar -czf '/home/espionage724/piwigo-files-manual-'$(date +%Y-%m-%d)'.tar.gz' -C '/usr/local/www' 'media'+  tar -czf '/home/espionage724/friendica-files-manual-'$(date +%Y-%m-%d)'.tar.gz' -C '/usr/local/www' 'social'
  
 ===== Database ===== ===== Database =====
Line 322: Line 338:
 **** ****
  
-  mariadb-dump -u root -p --single-transaction --quick 'piwigo' -r '/home/espionage724/piwigo-database-manual-'$(date +%Y-%m-%d)'.sql'+  mariadb-dump -u root -p --single-transaction --quick 'friendica' -r '/home/espionage724/friendica-database-manual-'$(date +%Y-%m-%d)'.sql'
  
 ===== scp ===== ===== scp =====
Line 328: Line 344:
 **** ****
  
-  scp espionage724@192.168.1.152:~/'piwigo-files-'*'.tar.gz' espionage724@192.168.1.152:~/'piwigo-database-'*'.sql' ~/'Downloads' && sync+  scp espionage724@192.168.1.152:~/'friendica-files-'*'.tar.gz' espionage724@192.168.1.152:~/'friendica-database-'*'.sql' ~/'Downloads' && sync
  
 ====== Restore ====== ====== Restore ======
/usr/local/www/wiki/data/attic/servers/bsd/nginx/friendica.1761870523.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