Hello. thanks for the script .. but im having problem with backing up my character data from another server but the sama azerothcore based. It start successfully but, it gave me this warning line :
WARNING: Query returned no resultset. This occurs when the query has no select statement or invokes a stored procedure that does not return a resultset. Use 'Invoke-SqlUpdate' to avoid this warning.
and the result is when i check the character data folder to restoring my backing up data, the folder is still empty. Anyway to solve this ?
PS: The Backup guild data is excecute nicely
here is the log for character data backups :
**********************
PowerShell transcript start
Start time: 20250310085636
Username: DESKTOP-OKN77QL\ABUDZAR-PC
RunAs User: DESKTOP-OKN77QL\ABUDZAR-PC
Configuration Name:
Machine: DESKTOP-OKN77QL (Microsoft Windows NT 10.0.22631.0)
Host Application: C:\Program Files\WindowsApps\Microsoft.PowerShell_7.5.0.0_x64__8wekyb3d8bbwe\pwsh.dll
Process ID: 13300
PSVersion: 7.5.0
PSEdition: Core
GitCommitId: 7.5.0
OS: Microsoft Windows 10.0.22631
Platform: Win32NT
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1, 6.0, 7.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
WSManStackVersion: 3.0
**********************
Transcript started, output file is ./logs/BackupScripts_20250310_085636.log
WoW Backup Scripts
Select a option:
1. Backup character(s).
2. Backup guild(s).
3. Restore character(s).
4. Restore guild(s).
5. Exit script
Type a number (1-5):
(Press CTRL + C to exit)
ID for username 'zuma': 3
Found 2 Characters.
Character List:
1. (GUID: 3) Punkhead - Race: Undead, Class: Rogue, Gender: Male, LV18, Honor: 0, Money: 884g, 65s and 95c, Creation date: 26/02/2025 18:43:33
2. (GUID: 5004) Glym - Race: Dwarf, Class: Hunter, Gender: Male, LV51, Honor: 53, Money: 1026g, 97s and 86c, Creation date: 01/03/2025 02:04:28
3. Back up all characters
4. Go back
5. Exit script
Backing up character Punkhead...
WARNING: Query returned no resultset. This occurs when the query has no select statement or invokes a stored procedure that does not return a resultset. Use 'Invoke-SqlUpdate' to avoid this warning.
Backing up character Glym...
Found pet: (ID: 1462), Lupo, Lupos, LV 41
Found pet: (ID: 1496), Lovely, Hayoc, LV 50
Found pet: (ID: 239

, Akatsuki, Grunter, LV 50
Found pet: (ID: 2417), Rave, Ravage, LV 51
All characters backed up in 0.8120974 seconds. Returning to menu...