Some directories haven't been created if the server hasn't started. I think arkmanager just needs to create these. I'll provide my output and fix.
Steps:
Verify arkmanager config
arkmanager install
'arkmanager restore `
Output:
➜ ~ ararkmanager restore ~/main.2023-03-01_20.08.36.tar.bz2
Running command 'restore' for instance 'main'
/usr/local/bin/arkmanager: line 431: /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini: No such file or directory
/usr/local/bin/arkmanager: line 431: /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini: No such file or directory
Restoring from /home/ericfoss/main.2023-03-01_20.08.36.tar.bz2
Restoring 2023-03-01_20.08.36/76561198419372157.arkprofile to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/76561198419372157.arkprofile
[ OK ]
Restoring 2023-03-01_20.08.36/TheIsland.ark to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/TheIsland.ark
[ OK ]
Restoring 2023-03-01_20.08.36/1499252976.arktribe to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/1499252976.arktribe
[ OK ]
Restoring 2023-03-01_20.08.36/GameUserSettings.ini to /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer
tar: /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[ FAILED ]
Restoring 2023-03-01_20.08.36/76561199335464757.arkprofile to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/76561199335464757.arkprofile
[ OK ]
Restoring 2023-03-01_20.08.36/76561197964653736.arkprofile to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/76561197964653736.arkprofile
[ OK ]
Restoring 2023-03-01_20.08.36/Game.ini to /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer
tar: /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[ FAILED ]
Restore Complete [ OK ]
➜ ~ ls /srv/ark/theisland/ShooterGame/Saved
SavedArks
➜ ~
Work around:
Making the dirs allows restore to succeed. It still has a warning, but just the first time.
~ arkmanager restore ~/main.2023-03-01_20.08.36.tar.bz2
Running command 'restore' for instance 'main'
/usr/local/bin/arkmanager: line 431: /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini: No such file or directory
/usr/local/bin/arkmanager: line 431: /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini: No such file or directory
Restoring from /home/ericfoss/main.2023-03-01_20.08.36.tar.bz2
Restoring 2023-03-01_20.08.36/76561198419372157.arkprofile to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/76561198419372157.arkprofile
[ OK ]
Restoring 2023-03-01_20.08.36/TheIsland.ark to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/TheIsland.ark
[ OK ]
Restoring 2023-03-01_20.08.36/1499252976.arktribe to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/1499252976.arktribe
[ OK ]
Restoring 2023-03-01_20.08.36/GameUserSettings.ini to /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer
2023-03-01_20.08.36/GameUserSettings.ini
[ OK ]
Restoring 2023-03-01_20.08.36/76561199335464757.arkprofile to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/76561199335464757.arkprofile
[ OK ]
Restoring 2023-03-01_20.08.36/76561197964653736.arkprofile to /srv/ark/theisland/ShooterGame/Saved/SavedArks
2023-03-01_20.08.36/76561197964653736.arkprofile
[ OK ]
Restoring 2023-03-01_20.08.36/Game.ini to /srv/ark/theisland/ShooterGame/Saved/Config/LinuxServer
2023-03-01_20.08.36/Game.ini
[ OK ]
Restore Complete [ OK ]
➜ ~
Some directories haven't been created if the server hasn't started. I think arkmanager just needs to create these. I'll provide my output and fix.
Steps:
arkmanager install
Output:
Work around: Making the dirs allows restore to succeed. It still has a warning, but just the first time.