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
commands [2026/03/07 08:54] agnescommands [2026/06/25 08:06] (current) agnes
Line 12: Line 12:
  
   sudo docker compose up -d web --force-recreate --remove-orphans   sudo docker compose up -d web --force-recreate --remove-orphans
 +  
 +chown elastic-data to docker before reloading ES so it works
 +
 +  sudo chown 1000:1000 /home/otwarchive/elastic-data
  
 reload elasticsearch: reload elasticsearch:
  
   sudo docker compose exec -it web bash bin/reload_elastic    sudo docker compose exec -it web bash bin/reload_elastic 
 +  
 + rsync files
 +
 +   sudo rsync -avz /home/foldername [email protected]:/home
 +
  
 mysql client login command: mysql client login command:
Line 48: Line 57:
   alter table invite_requests add note text null;   alter table invite_requests add note text null;
  
 +backup to restic
 +
 +  restic -r s3:https://s3.us-east-005.backblazeb2.com/redacted420  backup /home/otwarchive --exclude log --exclude .git
 +  
  
 ===== Development with Rails 8 ===== ===== Development with Rails 8 =====