Python script to backup your worlds from the dedicated cloud gaming servers g-portal.com. Utilizes a cronjob to backup your files at a specified time every day.
- Visit https://github.com/techb/ValheimBackupy
- Download code as zip
- Extract the folder
$ git clone git@github.com:techb/ValheimBackupy.git
$ cd ValheimBackupy
- Create a new file in
ValheimBackupy/
calledconfig.ini
- Copy the contents of
example.config.ini
into the newconfig.ini
file - Replace the information obtained from your g-portal.com account
- Save the file
$ cp example.config.ini config.ini
$ vim config.ini
... edit file, save and quit ...
$ chmod +x valheimbacku.py
$ crontab -e
- Create cron job
20 4 * * * /<Path To Script>/valheimbacku.py