Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:world_of_warcraft_3.3.5 [2024/03/06 22:27] – [Save Data Back-up Script] Sean Rhone | games:wine:world_of_warcraft_3.3.5 [2024/03/09 17:45] (current) – [3.3.5] Sean Rhone |
---|
| |
* :!: Run this before first-start as there is not a default address | * :!: Run this before first-start as there is not a default address |
| |
echo 'set realmlist wow.realmofespionage.xyz' | tee ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Data/'*'/realmlist.wtf' | |
| |
echo 'set realmlist localhost' | tee ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Data/'*'/realmlist.wtf' | echo 'set realmlist localhost' | tee ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Data/'*'/realmlist.wtf' |
| |
| echo 'set realmlist wow.realmofespionage.xyz' | tee ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Data/'*'/realmlist.wtf' |
| |
nano ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Data/'*'/realmlist.wtf' | nano ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Data/'*'/realmlist.wtf' |
===== 3.3.5 ===== | ===== 3.3.5 ===== |
| |
* Local Server requires [[/servers:games:trinitycore_3.3.5_localhost|TrinityCore 3.3.5 localhost]] | * Local Server requires [[/servers:games:trinitycore_3.3.5_localhost|TrinityCore 3.3.5 localhost]] ((''gnome-terminal'' mentions can likely be changed to other Terminals like ''konsole'' but is untested)) |
| |
mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft' && nano ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft 3.3.5.desktop' | mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft' && nano ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft 3.3.5.desktop' |
[Desktop Action Saves] | [Desktop Action Saves] |
StartupNotify=false | StartupNotify=false |
Exec='/bin/bash' -c "~/'Projects/trinity-335/run/bin/localhost-save-backup.sh'" | Exec='/bin/bash' -c "gnome-terminal -- ~/'Projects/trinity-335/run/etc/localhost-save-backup.sh'" |
Name=Save Data Back-up | Name=Local Server Databases Back-up |
| |
[Desktop Action Notes] | [Desktop Action Notes] |
==== Save Data Back-up Script ==== | ==== Save Data Back-up Script ==== |
| |
nano ~/'Projects/trinity-335/run/bin/localhost-save-backup.sh' && chmod +x ~/'Projects/trinity-335/run/bin/localhost-save-backup.sh' | * Requires [[/servers:games:trinitycore_3.3.5_localhost|TrinityCore 3.3.5 localhost]] |
| * See [[servers:games:trinitycore_3.3.5_localhost#restore|Restore]] notes for restoring back-ups |
| |
| nano ~/'Projects/trinity-335/run/etc/localhost-save-backup.sh' && chmod +x ~/'Projects/trinity-335/run/etc/localhost-save-backup.sh' |
| |
<code> | <code> |
| |
cd ~/'Downloads' | cd ~/'Downloads' |
sudo mariadb-dump --databases 'authserver' --result-file='localserver-authserver-databases-'$(date +%Y-%m-%d)'.sql' | sudo mariadb-dump --databases 'authserver' --result-file='localserver-authserver-database-'$(date +%Y-%m-%d-%s)'.sql' |
sudo mariadb-dump --databases 'characters' --result-file='localserver-characters-databases-'$(date +%Y-%m-%d)'.sql' | sudo mariadb-dump --databases 'characters' --result-file='localserver-characters-database-'$(date +%Y-%m-%d-%s)'.sql' |
sudo chown $USER:$USER ~/'Downloads/localserver-authserver-databases-'*'.sql' ~/'Downloads/localserver-characters-databases-'*'.sql' | sudo chown $USER:$USER ~/'Downloads/localserver-authserver-database-'*'.sql' ~/'Downloads/localserver-characters-database-'*'.sql' |
cd - | |
sync | sync |
notify-send 'localserver databases have been successfully dumped.' | notify-send 'localserver databases have been successfully dumped.' |