Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic backup #5

Open
sha0x404 opened this issue Jan 25, 2024 · 1 comment
Open

Automatic backup #5

sha0x404 opened this issue Jan 25, 2024 · 1 comment

Comments

@sha0x404
Copy link

I would like to ask if it is possible to introduce an automatic backup system, such as the one present in the jammsen in the official docker image.

@nitrog0d
Copy link
Owner

It's on TODO list
For now you can use a cron job outside the docker container

#!/bin/bash

DATE=$(date +%Y%m%d_%H%M%S)

# Create backup dir and change into it
mkdir -p /root/Palworld/backups && cd /root/Palworld/palworld/Pal
echo ">>> Creating backup"
tar cfz /root/Palworld/backups/saved-$DATE.tar.gz Saved/
echo ">>> Done"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants