Editing FoolFuuka

From Bibliotheca Anonoma

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 83: Line 83:
=== Automatic Full SQL DB Backups ===
=== Automatic Full SQL DB Backups ===


crontab -e
     /home/atc/sql/full.sh
 
     0 3 * * * /bin/bash /home/atc/sql/full.sh


That script back up foolfuuka rbt_foolfuuka asagi
That script back up foolfuuka rbt_foolfuuka asagi
Line 94: Line 92:


Uploads to encrypted RClone folder
Uploads to encrypted RClone folder
=== Automatic CSV Dumps as seen on Internet Archive ===
    php /home/atc/backup.php
==== Backupbot Database ====
```
CREATE DATABASE backupbot DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_general_ci;
  GRANT ALL PRIVILEGES ON `backupbot`. * TO 'backupbot'@'localhost';
  GRANT FILE ON *.* TO 'backupbot'@'localhost';
  GRANT SELECT ON `asagi`.* TO 'backupbot'@'localhost';
  GRANT SELECT ON `foolfuuka`.* TO 'backupbot'@'localhost';
  GRANT SELECT ON `rbt_foolfuuka`.* TO 'backupbot'@'localhost';
  flush privileges;
  use backupbot;
  create table backupstats (
      board VARCHAR(20) PRIMARY KEY,
      lastid INT
  );
```
Please note that all contributions to Bibliotheca Anonoma are considered to be released under the Creative Commons Attribution-ShareAlike (see Bibliotheca Anonoma:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: