Comments (1)
Sorry this happened to you.
If you were using the enable_s3_backups = true
option and have the backups in S3 then you have 3 options for restoring.
Option 1 is to download the backup files to your local PC. After you have the backup files, run a terraform destroy
to destroy the server. Then you can add the input start_from_backup = true
along with backup_files_storage_type = "local"
and backup_files_local_path = "path/to/backup/files/on/my/pc"
and dedicated_server_name_hash = "this is the value for DedicatedserverName in GameUserSettings.ini"
See the README instructions for the required file structure.
Option 2 is to again download the backup files to your local PC, but then manually create your own S3 bucket and provide the following inputs:
start_from_backup = true
dedicated_server_name_hash = "this is the value for DedicatedserverName in GameUserSettings.ini"
backup_files_storage_type = "s3"
existing_backup_files_bootstrap_bucket_arn = " the arn of your bucket"
existing_backup_files_bootstrap_bucket_name = "the name of your bucket"
You can get the ARN of your bucket by clicking on it and viewing its properties
Option 3 is to download the backup files from S3 to your local PC, and then use the SCP command to copy the files to the ec2 instance remotely. Here is the process to do so:
- You can SSH into the EC2 instance and compress the
Pal/Saved/SaveGame
directory using this command:
sudo systemctl stop palworld
sudo tar -czvf palworld_backup.tar.gz /palworld-server/Pal/Saved/SaveGame
- Then:
sudo chown ubuntu:ubuntu palworld_backup.tar.gz
- Then exit the EC2 instance using the
exit
command to get back to your local PC. Then use scp to pull the file from the EC2 instance to your PC using this command:
scp -i /path/to/your-key.pem ubuntu@your-ec2-public-ip:/path/to/palworld_backup.tar.gz C:/local/destination/path
-
Be sure to replace
/path/to/your-key.pem
with the path to your private ssh key. Replaceubuntu@your-ec2-public-ip
with the public IP of your server. Replace/path/to/palworld_backup.tar.gz
with the path to the backup tar file you created on the ec2 instance. If you just SSHed in and ran the above commands the file will probably be in/home/ubuntu/palworld_backup.tar.gz
. Finally, replaceC:/local/destination/path
with a path on your local PC. -
Then start palworld
systemctl start palworld
from terraform-aws-palworld.
Related Issues (12)
- I Can't run terraform init HOT 2
- Palworld/Feature: Input for custom AMI ID
- Backup to S3 not working HOT 1
- Palworld/Bug Backup to S3 Not Working in Newer Regions HOT 1
- How can I create the EC2 on a local zone to reduce latency? HOT 3
- How to get the backup of dedicated server save file on S3? can you guide me? HOT 13
- Error: Failed to download module HOT 5
- PalWorldSettings.ini Changes Not Reflected in Game HOT 1
- What is the preferable way to install mods? HOT 4
- New Feature Request: An Input to Install Mods During Server Creation HOT 2
- creating EC2 Subnet HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-palworld.